File: faye-websocket.gemspec

package info (click to toggle)
ruby-faye-websocket 0.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 236 kB
  • sloc: ruby: 1,209; makefile: 3
file content (46 lines) | stat: -rw-r--r-- 1,454 bytes parent folder | download
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
Gem::Specification.new do |s|
  s.name     = 'faye-websocket'
  s.version  = '0.11.0'
  s.summary  = 'Standards-compliant WebSocket server and client'
  s.author   = 'James Coglan'
  s.email    = 'jcoglan@gmail.com'
  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'
  s.add_development_dependency 'rack'
  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

  unless jruby
    s.add_development_dependency 'rainbows', '~> 4.4.0'
    s.add_development_dependency 'thin', '>= 1.2.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