goliath.gemspec in goliath-0.9.4 vs goliath.gemspec in goliath-1.0.0.beta.1
- old
+ new
@@ -10,37 +10,55 @@
s.email = ['dj2@everburning.com', 'ilya@igvita.com']
s.homepage = 'http://goliath.io/'
s.summary = 'Async framework for writing API servers'
s.description = s.summary
- s.add_dependency 'eventmachine', '>= 1.0.0.beta.3'
+ s.required_ruby_version = '>=1.9.2'
+
+ s.add_dependency 'eventmachine', '>= 1.0.0.beta.4'
s.add_dependency 'em-synchrony', '>= 1.0.0'
- s.add_dependency 'http_parser.rb'
+ s.add_dependency 'em-websocket'
+ s.add_dependency 'http_parser.rb', '0.5.3'
s.add_dependency 'log4r'
s.add_dependency 'rack', '>=1.2.2'
s.add_dependency 'rack-contrib'
s.add_dependency 'rack-respond_to'
s.add_dependency 'async-rack'
s.add_dependency 'multi_json'
- s.add_dependency 'http_router', '~> 0.9.0'
s.add_development_dependency 'rake', '>=0.8.7'
s.add_development_dependency 'rspec', '>2.0'
s.add_development_dependency 'nokogiri'
s.add_development_dependency 'em-http-request', '>=1.0.0'
s.add_development_dependency 'em-mongo', '~> 0.4.0'
- s.add_development_dependency 'yajl-ruby'
s.add_development_dependency 'rack-rewrite'
s.add_development_dependency 'multipart_body'
s.add_development_dependency 'amqp', '>=0.7.1'
+ s.add_development_dependency 'em-websocket-client'
s.add_development_dependency 'tilt', '>=1.2.2'
s.add_development_dependency 'haml', '>=3.0.25'
s.add_development_dependency 'yard'
- s.add_development_dependency 'bluecloth'
- ignores = File.readlines(".gitignore").grep(/\S+/).map {|s| s.chomp }
+ s.add_development_dependency 'guard'
+ s.add_development_dependency 'guard-rspec'
+
+ if RUBY_PLATFORM != 'java'
+ s.add_development_dependency 'yajl-ruby'
+ s.add_development_dependency 'bluecloth'
+ s.add_development_dependency 'bson_ext'
+ else
+ s.add_development_dependency 'json-jruby'
+ s.add_development_dependency 'maruku'
+ end
+
+ if RUBY_PLATFORM.include?('darwin')
+ s.add_development_dependency 'growl', '~> 1.0.3'
+ s.add_development_dependency 'rb-fsevent'
+ end
+
+ ignores = File.readlines(".gitignore").grep(/\S+/).map {|i| i.chomp }
dotfiles = [".gemtest", ".gitignore", ".rspec", ".yardopts"]
s.files = Dir["**/*"].reject {|f| File.directory?(f) || ignores.any? {|i| File.fnmatch(i, f) } } + dotfiles
s.test_files = s.files.grep(/^spec\//)
s.require_paths = ['lib']