2017-05-15 10:17:28 -04:00
|
|
|
version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
|
2015-07-27 03:23:39 -04:00
|
|
|
|
2015-01-14 11:29:31 -05:00
|
|
|
Gem::Specification.new do |s|
|
2015-12-14 10:38:37 -05:00
|
|
|
s.platform = Gem::Platform::RUBY
|
2016-08-06 13:23:48 -04:00
|
|
|
s.name = "actioncable"
|
2015-12-14 10:38:37 -05:00
|
|
|
s.version = version
|
2016-08-06 13:23:48 -04:00
|
|
|
s.summary = "WebSocket framework for Rails."
|
|
|
|
s.description = "Structure many real-time application concerns into channels over a single WebSocket connection."
|
2015-12-14 10:38:37 -05:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.required_ruby_version = ">= 2.2.2"
|
2015-12-14 10:38:37 -05:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.license = "MIT"
|
2015-01-14 11:29:31 -05:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.author = ["Pratik Naik", "David Heinemeier Hansson"]
|
|
|
|
s.email = ["pratiknaik@gmail.com", "david@loudthinking.com"]
|
|
|
|
s.homepage = "http://rubyonrails.org"
|
2015-01-14 11:29:31 -05:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
|
|
|
|
s.require_path = "lib"
|
2015-12-14 10:38:37 -05:00
|
|
|
|
2017-06-27 06:06:28 -04:00
|
|
|
s.metadata = {
|
|
|
|
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/actioncable",
|
|
|
|
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/actioncable/CHANGELOG.md"
|
|
|
|
}
|
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "actionpack", version
|
2015-07-08 10:20:39 -04:00
|
|
|
|
2016-12-28 22:45:39 -05:00
|
|
|
s.add_dependency "nio4r", "~> 2.0"
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "websocket-driver", "~> 0.6.1"
|
2015-01-14 11:29:31 -05:00
|
|
|
end
|