aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable.gemspec
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-07-27 17:34:16 +0930
committerMatthew Draper <matthew@trebex.net>2015-07-27 17:34:16 +0930
commit437ed97f7611cb34c6f47d27df25053f988a228f (patch)
tree73b6df5c9a1ad841ca9f50b2b4e38fe5cec9d71c /actioncable.gemspec
parentf94531a5e91184dee5d82a03949926a33a78556b (diff)
parentfa7292e3c39b62619d9ab90cba79fcf76a6a3180 (diff)
downloadrails-437ed97f7611cb34c6f47d27df25053f988a228f.tar.gz
rails-437ed97f7611cb34c6f47d27df25053f988a228f.tar.bz2
rails-437ed97f7611cb34c6f47d27df25053f988a228f.zip
Merge pull request #41 from craigsheen/move_version_to_version_file
Move VERSION constant to version file and use this in the gemspec
Diffstat (limited to 'actioncable.gemspec')
-rw-r--r--actioncable.gemspec5
1 files changed, 4 insertions, 1 deletions
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'