Skip to content

Commit

Permalink
Merge pull request #1238 from alphagov/fix-rack-dependency
Browse files Browse the repository at this point in the history
Add rack as a runtime dependency and loosen the version constraint
  • Loading branch information
kevindew authored Mar 11, 2024
2 parents e8ba0e5 + cdf7f59 commit 59da167
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased
* Fix rack being only a development dependency as it is used at runtime.
* Fix too strict Ruby version constraint, loosened to Ruby 3.1

# 94.0.0
* BREAKING: Drop support for Rails 7.0 and earlier.
* BREAKING: Drop support for Ruby 3.0. The minimum required Ruby version is now 3.1.4.
Expand Down
4 changes: 2 additions & 2 deletions gds-api-adapters.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/alphagov/gds-api-adapters"
s.description = "A set of adapters providing easy access to the GDS GOV.UK APIs"

s.required_ruby_version = ">= 3.1.4"
s.required_ruby_version = ">= 3.1"
s.files = Dir.glob("lib/**/*") + Dir.glob("test/fixtures/**/*") + %w[README.md Rakefile]
s.require_path = "lib"
s.add_dependency "addressable"
s.add_dependency "link_header"
s.add_dependency "null_logger"
s.add_dependency "plek", ">= 1.9.0"
s.add_dependency "rack", ">= 2.2.0"
s.add_dependency "rest-client", "~> 2.0"

s.add_development_dependency "byebug"
Expand All @@ -31,7 +32,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "pact_broker-client", "~> 1.65"
s.add_development_dependency "pact-consumer-minitest", "~> 1.0"
s.add_development_dependency "pact-mock_service", "~> 3.10"
s.add_development_dependency "rack", "~> 3.0"
s.add_development_dependency "rack-test"
s.add_development_dependency "rake"
s.add_development_dependency "rubocop-govuk", "4.14.0"
Expand Down

0 comments on commit 59da167

Please sign in to comment.