bugsnag-api.gemspec in bugsnag-api-1.0.3 vs bugsnag-api.gemspec in bugsnag-api-2.0.0
- old
+ new
@@ -16,15 +16,16 @@
spec.files = `git ls-files`.split($/)
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 "sawyer", '>= 0.5.3'
+ spec.add_dependency "sawyer", '~> 0.8.1'
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3.0"
- spec.add_development_dependency "webmock"
- spec.add_development_dependency "faker"
+ spec.add_development_dependency "webmock", RUBY_VERSION <= '2.0.0' ? '2.3.2': '>2.3.2'
+ spec.add_development_dependency "addressable", RUBY_VERSION <= '2.0.0' ? '2.3.6': '>2.3.6'
+ spec.add_development_dependency "faker", RUBY_VERSION <= '2.0.0' ? '1.3.0' : '>1.7.3'
spec.add_development_dependency "vcr", "~> 2.9"
spec.add_development_dependency "json"
end