Skip to content

Commit

Permalink
deps: relax runtime requirements on Ruby 2.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
bf4 committed Apr 25, 2024
1 parent a96897a commit 30ae749
Showing 1 changed file with 40 additions and 19 deletions.
59 changes: 40 additions & 19 deletions rspec_api_documentation.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,49 @@ Gem::Specification.new do |s|
s.required_rubygems_version = ">= 1.3.6"

s.add_runtime_dependency "rspec", "~> 3.0"
s.add_development_dependency "rspec", "~> 3.0"
s.add_runtime_dependency "activesupport", ">= 3.0.0"
s.add_runtime_dependency "mustache", "~> 1.0", ">= 0.99.4"

s.add_development_dependency "bundler", ">= 1.16"
s.add_development_dependency "fakefs", "~> 0.6.0"
s.add_development_dependency "sinatra", "~> 2.0.8"
s.add_development_dependency "aruba", "~> 0.14.14"
s.add_development_dependency "capybara", "~> 3.39.2"
s.add_development_dependency "rake", "~> 13.2.1"
s.add_development_dependency "rack-test", "~> 0.6.3"
s.add_development_dependency "rack-oauth2", "~> 1.12.0"
s.add_development_dependency "webmock", "~> 3.23.0"
s.add_development_dependency "rspec-its", "~> 1.3.0"
s.add_development_dependency "faraday", "~> 0.9.2"
s.add_development_dependency "nokogiri", "~> 1.8.4"
s.add_development_dependency "yard", "~> 0.9.15"
s.add_development_dependency "inch", "~> 0.8.0"
s.add_development_dependency "minitest", "~> 5.8.4"
s.add_development_dependency "contracts", "~> 0.17"
s.add_development_dependency "gherkin", "~> 9.0.0"
s.add_development_dependency "multi_json", "~> 1.15.0"
s.add_development_dependency "rspec", "~> 3.0"
if RUBY_VERSION < '2.7'
s.add_development_dependency "bundler", ">= 1.16"
s.add_development_dependency "fakefs", "~> 0.6.0"
s.add_development_dependency "sinatra", "~> 1.4.7"
s.add_development_dependency "aruba", "~> 0.13.0"
s.add_development_dependency "capybara", "~> 2.6.2"
s.add_development_dependency "rake", "~> 10.5.0"
s.add_development_dependency "rack-test", "~> 0.6.3"
s.add_development_dependency "rack-oauth2", "~> 1.2.2"
s.add_development_dependency "webmock", "~> 3.8.3"
s.add_development_dependency "rspec-its", "~> 1.2.0"
s.add_development_dependency "faraday", "~> 0.9.2"
s.add_development_dependency "nokogiri", "~> 1.8.4"
s.add_development_dependency "yard", "~> 0.9.15"
s.add_development_dependency "inch", "~> 0.8.0"
s.add_development_dependency "minitest", "~> 5.8.4"
s.add_development_dependency "contracts", "~> 0.13.0"
s.add_development_dependency "gherkin", "~> 3.2.0"
s.add_development_dependency "multi_json", "~> 1.11.2"
else
s.add_development_dependency "bundler", ">= 1.16"
s.add_development_dependency "fakefs"
s.add_development_dependency "sinatra"
s.add_development_dependency "aruba"
s.add_development_dependency "capybara"
s.add_development_dependency "rake"
s.add_development_dependency "rack-test"
s.add_development_dependency "rack-oauth2"
s.add_development_dependency "webmock"
s.add_development_dependency "rspec-its"
s.add_development_dependency "faraday"
s.add_development_dependency "nokogiri"
s.add_development_dependency "yard"
s.add_development_dependency "inch"
s.add_development_dependency "minitest"
s.add_development_dependency "contracts"
s.add_development_dependency "gherkin"
s.add_development_dependency "multi_json"
end

s.files = Dir.glob("lib/**/*") + Dir.glob("templates/**/*")
s.require_path = "lib"
Expand Down

0 comments on commit 30ae749

Please sign in to comment.