Move VERSION constant to version file and use this in the gemspec
This commit is contained in:
parent
f94531a5e9
commit
00ba651f40
|
@ -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'
|
||||
|
|
|
@ -18,8 +18,6 @@ require 'redis'
|
|||
require 'action_cable/engine' if defined?(Rails)
|
||||
|
||||
module ActionCable
|
||||
VERSION = '0.0.3'
|
||||
|
||||
autoload :Server, 'action_cable/server'
|
||||
autoload :Connection, 'action_cable/connection'
|
||||
autoload :Channel, 'action_cable/channel'
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
module ActionCable
|
||||
VERSION = '0.0.3'
|
||||
end
|
Loading…
Reference in New Issue