diff options
Diffstat (limited to 'actioncable/actioncable.gemspec')
-rw-r--r-- | actioncable/actioncable.gemspec | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/actioncable/actioncable.gemspec b/actioncable/actioncable.gemspec index 2f4ae41dc1..ca2f987934 100644 --- a/actioncable/actioncable.gemspec +++ b/actioncable/actioncable.gemspec @@ -1,35 +1,32 @@ -$:.unshift File.expand_path("../lib", __FILE__) -require 'action_cable/version' +version = File.read(File.expand_path('../../RAILS_VERSION', __FILE__)).strip Gem::Specification.new do |s| + s.platform = Gem::Platform::RUBY s.name = 'actioncable' - s.version = ActionCable::VERSION + s.version = version s.summary = 'WebSocket framework for Rails.' s.description = 'Structure many real-time application concerns into channels over a single WebSocket connection.' - s.license = 'MIT' + + s.required_ruby_version = '>= 2.2.2' + + s.license = 'MIT' s.author = ['Pratik Naik', 'David Heinemeier Hansson'] s.email = ['pratiknaik@gmail.com', 'david@heinemeierhansson.com'] s.homepage = 'http://rubyonrails.org' - s.platform = Gem::Platform::RUBY + s.files = Dir['CHANGELOG.md', 'MIT-LICENSE', 'README.md', 'lib/**/*'] + s.require_path = 'lib' + + s.add_dependency 'actionpack', version - s.add_dependency 'activesupport', '>= 4.2.0' - s.add_dependency 'actionpack', '>= 4.2.0' + s.add_dependency 'coffee-rails', '~> 4.1.0' s.add_dependency 'faye-websocket', '~> 0.10.0' s.add_dependency 'websocket-driver', '~> 0.6.1' - # Use 0.16.0 until https://github.com/celluloid/celluloid/issues/637 is resolved - s.add_dependency 'celluloid', '~> 0.16.0' + s.add_dependency 'celluloid', '~> 0.17.2' s.add_dependency 'em-hiredis', '~> 0.3.0' s.add_dependency 'redis', '~> 3.0' - s.add_dependency 'coffee-rails' - s.add_development_dependency 'rake' s.add_development_dependency 'puma' s.add_development_dependency 'mocha' - - s.files = Dir['README.md', 'lib/**/*'] - s.has_rdoc = false - - s.require_path = 'lib' end |