-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathwebsocket-driver.gemspec
38 lines (31 loc) · 1.08 KB
/
websocket-driver.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
Gem::Specification.new do |s|
s.name = 'websocket-driver'
s.version = '0.7.7'
s.summary = 'WebSocket protocol handler with pluggable I/O'
s.author = 'James Coglan'
s.email = '[email protected]'
s.homepage = 'https://github.com/faye/websocket-driver-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]
files = %w[CHANGELOG.md LICENSE.md README.md] +
Dir.glob('ext/**/*.{c,java,rb}') +
Dir.glob('lib/**/*.rb')
if RUBY_PLATFORM =~ /java/
s.platform = 'java'
files << 'lib/websocket_mask.jar'
else
s.extensions << 'ext/websocket-driver/extconf.rb'
end
s.files = files
s.add_dependency 'base64'
s.add_dependency 'websocket-extensions', '>= 0.1.0'
s.add_development_dependency 'eventmachine'
s.add_development_dependency 'permessage_deflate'
s.add_development_dependency 'rake-compiler'
s.add_development_dependency 'rspec'
if RUBY_VERSION < '2.0.0'
s.add_development_dependency 'rake', '< 12.3.0'
end
end