Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraint to ActiveSupport gem to use version lower than 7.1 #169

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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