diff options
author | Matthew Draper <matthew@trebex.net> | 2015-07-27 17:34:16 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2015-07-27 17:34:16 +0930 |
commit | 437ed97f7611cb34c6f47d27df25053f988a228f (patch) | |
tree | 73b6df5c9a1ad841ca9f50b2b4e38fe5cec9d71c /lib | |
parent | f94531a5e91184dee5d82a03949926a33a78556b (diff) | |
parent | fa7292e3c39b62619d9ab90cba79fcf76a6a3180 (diff) | |
download | rails-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 'lib')
-rw-r--r-- | lib/action_cable.rb | 3 | ||||
-rw-r--r-- | lib/action_cable/version.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/action_cable.rb b/lib/action_cable.rb index 968adafc25..13c5c77578 100644 --- a/lib/action_cable.rb +++ b/lib/action_cable.rb @@ -16,10 +16,9 @@ require 'em-hiredis' require 'redis' require 'action_cable/engine' if defined?(Rails) +require 'action_cable/version' module ActionCable - VERSION = '0.0.3' - autoload :Server, 'action_cable/server' autoload :Connection, 'action_cable/connection' autoload :Channel, 'action_cable/channel' diff --git a/lib/action_cable/version.rb b/lib/action_cable/version.rb new file mode 100644 index 0000000000..4947029dcc --- /dev/null +++ b/lib/action_cable/version.rb @@ -0,0 +1,3 @@ +module ActionCable + VERSION = '0.0.3' +end
\ No newline at end of file |