forked from faye/websocket-driver-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebsocket-driver.gemspec
31 lines (25 loc) · 951 Bytes
/
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
Gem::Specification.new do |s|
s.name = 'websocket-driver'
s.version = '0.3.2'
s.summary = 'WebSocket protocol handler with pluggable I/O'
s.author = 'James Coglan'
s.email = '[email protected]'
s.homepage = 'http://github.com/faye/websocket-driver-ruby'
s.license = 'MIT'
s.extra_rdoc_files = %w[README.md]
s.rdoc_options = %w[--main README.md --markup markdown]
s.require_paths = %w[lib]
files = %w[README.md CHANGELOG.md] +
Dir.glob('ext/**/*.{c,java,rb}') +
Dir.glob('{examples,lib}/**/*.rb')
if RUBY_PLATFORM =~ /java/
s.platform = 'java'
files << 'lib/websocket_mask.jar'
else
s.extensions << 'ext/websocket_mask/extconf.rb'
end
s.files = files
s.add_development_dependency 'eventmachine'
s.add_development_dependency 'rake-compiler', '~> 0.8.0'
s.add_development_dependency 'rspec'
end