-
Notifications
You must be signed in to change notification settings - Fork 54
Remove support for versions of ruby prior to 2.6 #381
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
base: main
Are you sure you want to change the base?
Changes from all commits
7859fd0
5b35ff0
e289af0
682bb60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,22 +2,14 @@ source "https://rubygems.org" | |
|
|
||
| gemspec | ||
|
|
||
| gem "chef-utils", "= 16.6.14" if RUBY_VERSION < "2.6.0" | ||
|
|
||
| group :test do | ||
| gem "rake" | ||
| gem "rspec" | ||
| gem "webrick" | ||
| gem "webmock", "~> 3.4" | ||
| gem "contracts", "~> 0.16.0" # this entry can go away when ruby < 3 support is gone | ||
| if RUBY_VERSION < "2.6.0" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably wanna leave the conditional here.... |
||
| gem "climate_control", "= 0.1.0" | ||
| gem "vcr", "= 6.0.0" | ||
| gem "mixlib-shellout", "= 3.2.5" | ||
| else | ||
| gem "climate_control", "~> 1.0" | ||
| gem "vcr" | ||
| end | ||
| gem "climate_control", "~> 1.0" | ||
| gem "vcr" | ||
| end | ||
|
|
||
| # use old chefstyle to support TargetRubyVersion of 1.9 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec| | |
| spec.files = %w{LICENSE Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{bin,lib,support}/**/*") | ||
| spec.executables = ["mixlib-install"] | ||
| spec.require_paths = ["lib"] | ||
|
|
||
| spec.required_ruby_version = ">= 2.6.0" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we decided not to force newer versions so people can use this on like an old Mac to get the latest chef... we wanted to go "soft" min requirement. |
||
| spec.add_dependency "mixlib-shellout" | ||
| spec.add_dependency "mixlib-versioning" | ||
| spec.add_dependency "thor" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we leave this as well?