-
Notifications
You must be signed in to change notification settings - Fork 96
/
faye-websocket.gemspec
50 lines (40 loc) · 1.58 KB
/
faye-websocket.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Gem::Specification.new do |s|
s.name = 'faye-websocket'
s.version = '0.11.3'
s.summary = 'Standards-compliant WebSocket server and client'
s.author = 'James Coglan'
s.email = '[email protected]'
s.homepage = 'https://github.com/faye/faye-websocket-ruby'
s.license = 'Apache-2.0'
s.extra_rdoc_files = %w[README.md]
s.rdoc_options = %w[--main README.md --markup markdown]
s.require_paths = %w[lib]
s.files = %w[CHANGELOG.md LICENSE.md README.md] + Dir.glob('lib/**/*.rb')
s.add_dependency 'eventmachine', '>= 0.12.0'
s.add_dependency 'websocket-driver', '>= 0.5.1'
s.add_development_dependency 'permessage_deflate'
s.add_development_dependency 'progressbar'
s.add_development_dependency 'puma', '>= 2.0.0', '< 6.0'
s.add_development_dependency 'rack', '< 3'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rspec-eventmachine', '>= 0.2.0'
jruby = RUBY_PLATFORM =~ /java/
rbx = defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /rbx/
if RUBY_VERSION < '2.0.0'
s.add_development_dependency 'public_suffix', '< 1.5.0'
end
if jruby
s.add_development_dependency 'http_parser.rb', '~> 0.6.0'
else
thin_version = (RUBY_VERSION < '2.0.0') ? '< 1.8.0' : '> 0'
s.add_development_dependency 'thin', '>= 1.2.0', thin_version
s.add_development_dependency 'rainbows', '~> 4.4.0'
end
unless rbx
goliath_version = (RUBY_VERSION < '2.1.0') ? '<= 1.0.4' : '> 0'
s.add_development_dependency 'goliath', goliath_version
end
unless jruby or rbx
s.add_development_dependency 'passenger', '>= 4.0.0'
end
end