forked from faye/faye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faye.gemspec
57 lines (48 loc) · 2.01 KB
/
faye.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
51
52
53
54
55
56
Gem::Specification.new do |s|
s.name = 'faye'
s.version = '1.0.0'
s.summary = 'Simple pub/sub messaging for the web'
s.author = 'James Coglan'
s.email = '[email protected]'
s.homepage = 'http://faye.jcoglan.com'
s.license = 'MIT'
s.extra_rdoc_files = %w[README.md]
s.rdoc_options = %w[--main README.md --markup markdown]
s.require_paths = %w[lib]
# It is important that the JavaScript files listed here are not removed: they
# contain the browser client and the gem should fail to build without them.
# You should generate them by running `npm run-script build` in the project
# root.
s.files = %w[CHANGELOG.md README.md] +
%w[lib/faye-browser.js lib/faye-browser-min.js lib/faye-browser-min.js.map] +
Dir.glob('lib/**/*.rb')
s.add_dependency 'cookiejar', '>= 0.3.0'
s.add_dependency 'em-http-request', '>= 0.3.0'
s.add_dependency 'eventmachine', '>= 0.12.0'
s.add_dependency 'faye-websocket', '>= 0.7.0'
s.add_dependency 'multi_json', '>= 1.0.0'
s.add_dependency 'rack', '>= 1.0.0'
s.add_dependency 'websocket-driver', '>= 0.3.0'
s.add_development_dependency 'compass', '~> 0.11.0'
s.add_development_dependency 'haml', '~> 3.1.0'
s.add_development_dependency 'puma', '>= 2.0.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rack-proxy', '~> 0.4.0'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'RedCloth', '~> 3.0.0'
s.add_development_dependency 'sinatra'
s.add_development_dependency 'staticmatic'
jruby = RUBY_PLATFORM =~ /java/
rbx = defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /rbx/
unless jruby
s.add_development_dependency 'rainbows', '~> 4.4.0'
s.add_development_dependency 'thin', '>= 1.2.0'
end
unless rbx or RUBY_VERSION < '1.9'
s.add_development_dependency 'goliath'
end
unless jruby or rbx
s.add_development_dependency 'passenger', '>= 4.0.0'
end
end