Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 39 lines (30 sloc) 1.146 kb
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 = "faye-websocket"
  s.version = "0.4.6"
  s.summary = "Standards-compliant WebSocket server and client"
  s.author = "James Coglan"
  s.email = "jcoglan@gmail.com"
  s.homepage = "http://github.com/faye/faye-websocket-ruby"

  s.extra_rdoc_files = %w[README.rdoc]
  s.rdoc_options = %w[--main README.rdoc]
  s.require_paths = %w[lib]

  files = %w[README.rdoc CHANGELOG.txt] +
          Dir.glob("ext/**/*.{c,java,rb}") +
          Dir.glob("lib/**/*.rb") +
          Dir.glob("{examples,spec}/**/*")
  
  if RUBY_PLATFORM =~ /java/
    s.platform = "java"
    files << "lib/faye_websocket_mask.jar"
  else
    s.extensions << "ext/faye_websocket_mask/extconf.rb"
  end
  
  s.files = files
  
  s.add_dependency "eventmachine", ">= 0.12.0"

  s.add_development_dependency "rack"
  s.add_development_dependency "rake-compiler"
  s.add_development_dependency "rspec", "~> 2.8.0"

  unless RUBY_PLATFORM =~ /java/
    s.add_development_dependency "rainbows", ">= 1.0.0"
    s.add_development_dependency "thin", ">= 1.2.0"
  end
end

Something went wrong with that request. Please try again.