phantom_proxy.gemspec in phantom_proxy-1.2.17 vs phantom_proxy.gemspec in phantom_proxy-1.3.0

- old
+ new

@@ -1,28 +1,29 @@ -require 'rubygems' +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'phantom_proxy/version' -Gem::Specification.new do |s| - s.name = 'phantom_proxy' - s.version = '1.2.17' - s.summary = "This is a phantomjs Proxy" - s.description = "This is a phyntonjs Proxy it allows you to fetch webpages and execute javascript in them." - s.authors = ["Daniel Sudmann"] - s.email = 'suddani@googlemail.com' - s.files = `git ls-files`.split($\) -=begin - FileList['lib/**/*.rb', - 'lib/**/*.js', - 'lib/**/**/*.ru', - 'lib/**/**/*.html', - 'lib/**/**/*', - 'lib/**/**/**/*', - 'lib/phantom_proxy/install/**/*', - 'lib/phantom_proxy/install/**/**/*', - 'bin/*', - '[A-Z]*', - 'test/**/*'].to_a -=end - s.homepage = 'http://experteer.com' - s.executables = ['phantom_proxy'] - s.add_dependency('thin', '= 1.3.1') - s.add_dependency('ruby-hmac', '>= 0.4.0') +Gem::Specification.new do |spec| + spec.name = "phantom_proxy" + spec.version = PhantomProxy::VERSION + spec.authors = ["Suddani"] + spec.email = ["suddani@googlemail.com"] + spec.summary = "This is a phantomjs Proxy" + spec.description = "This is a phyntonjs Proxy it allows you to fetch webpages and execute javascript in them." + spec.homepage = "" + spec.license = "MIT" + + spec.files = `git ls-files -z`.split("\x0") + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] + + spec.add_dependency "json", "~> 1.8.1" + spec.add_dependency "goliath", "~> 1.0.3" + spec.add_dependency "journey", "~> 1.0.4" + spec.add_dependency "nokogiri", "~> 1.6.1" + spec.add_dependency "ruby-hmac", ">= 0.4.0" + + spec.add_development_dependency "bundler", "~> 1.6" + spec.add_development_dependency "rake", "~> 10.0" end