Skip to content

Commit

Permalink
Add constraint to ActiveSupport gem to use version lower than 7.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
  • Loading branch information
ahasunos committed Oct 10, 2023
1 parent 19b2ebc commit 4da0fb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions components/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
chef-licensing (0.7.4)
activesupport (~> 7.0, >= 7.0.4.2)
activesupport (~> 7.0, < 7.1)
chef-config (>= 15)
faraday (>= 1, < 3)
faraday-http-cache
Expand Down Expand Up @@ -115,6 +115,7 @@ GEM
wisper (2.0.1)

PLATFORMS
arm64-darwin-22
x86_64-darwin-19
x86_64-darwin-21
x86_64-linux
Expand All @@ -129,4 +130,4 @@ DEPENDENCIES
webmock (~> 3.18, >= 3.18.1)

BUNDLED WITH
2.3.18
2.3.26
5 changes: 4 additions & 1 deletion components/ruby/chef-licensing.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Gem::Specification.new do |spec|
spec.add_dependency "tty-prompt", "~> 0.23"
spec.add_dependency "faraday", ">= 1", "< 3"
spec.add_dependency "faraday-http-cache"
spec.add_dependency "activesupport", "~> 7.0", ">= 7.0.4.2"
# Note: 7.1.0 does not defaults its cache_format_version to 7.1 but 6.1 instead which gives deprecation warnings
# Remove the version constraint when we can upgrade to 7.1.1 post stable release of Activesupport 7.1
# Similar issue with 7.0 existed: https://github.com/rails/rails/pull/45293
spec.add_dependency "activesupport", "~> 7.0", '< 7.1'
spec.add_dependency "tty-spinner", "~> 0.9.3"
end

0 comments on commit 4da0fb0

Please sign in to comment.