From 00ba651f40de5ae57cf9b433ba0c6b7150d71a56 Mon Sep 17 00:00:00 2001 From: Craig Sheen Date: Mon, 27 Jul 2015 08:23:39 +0100 Subject: Move VERSION constant to version file and use this in the gemspec --- actioncable.gemspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'actioncable.gemspec') diff --git a/actioncable.gemspec b/actioncable.gemspec index e3aaa21fe7..02350186db 100644 --- a/actioncable.gemspec +++ b/actioncable.gemspec @@ -1,6 +1,9 @@ +$:.push File.expand_path("../lib", __FILE__) +require 'action_cable/version' + Gem::Specification.new do |s| s.name = 'actioncable' - s.version = '0.1.0' + s.version = ActionCable::VERSION s.summary = 'Websockets framework for Rails.' s.description = 'Structure many real-time application concerns into channels over a single websockets connection.' s.license = 'MIT' -- cgit v1.2.3