rack-logs.gemspec in rack-logs-0.0.6 vs rack-logs.gemspec in rack-logs-0.1.0
- old
+ new
@@ -16,12 +16,25 @@
spec.files = `git ls-files`.split($/)
spec.test_files = spec.files.grep(%r{^(spec)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = '> 1.9'
- spec.add_runtime_dependency "rack", "~> 1.5.2"
+ if RUBY_VERSION.to_f < 2.3
+ spec.add_runtime_dependency "rack", "~> 1.6.12"
+ else
+ spec.add_runtime_dependency "rack", "~> 2.2.3"
+ end
- spec.add_development_dependency "bundler", "~> 1.3"
- spec.add_development_dependency "rake"
+ if RUBY_VERSION.to_f < 1.9 || RUBY_VERSION == '1.9.2'
+ spec.add_development_dependency "rake", "~> 10.0.0"
+ elsif RUBY_VERSION.to_f < 2
+ spec.add_development_dependency "rake", "~> 11.0.0"
+ elsif RUBY_VERSION.to_f < 2.3
+ spec.add_development_dependency "rake", "~> 12.3.2"
+ else
+ spec.add_development_dependency "rake", "~> 13.0.0"
+ end
+
+ spec.add_development_dependency "bundler"
spec.add_development_dependency "rack-test"
- spec.add_development_dependency "rspec", "~> 3.0.0.beta1"
+ spec.add_development_dependency "rspec", "~> 3.9.0"
end