how_is.gemspec in how_is-2.0.0 vs how_is.gemspec in how_is-3.0.0

- old
+ new

@@ -17,14 +17,17 @@ spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.add_runtime_dependency "github_api", "~> 0.13.1" - spec.add_runtime_dependency "configru", "~> 3.6.0" spec.add_runtime_dependency "contracts" spec.add_runtime_dependency "prawn" spec.add_runtime_dependency "mini_magick" + + # Travis CI only supports up to Ruby 2.2.0, but Rack 2.0+ requires Ruby 2.2.2+, + # so this pegs Rack to the latest version that works with Ruby 2.2.0. + spec.add_runtime_dependency "rack", "< 2.0" spec.add_development_dependency "bundler", "~> 1.11" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" end