mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-05-30 23:25:20 -04:00
(PA-8499) Relax commander constraint
In Ruby 3.4, abbrev was promoted from a default gem to a bundled gem. highline 1.x/2.x require abbrev and now fail to load under Ruby 3.4 unless an explicit dependency on it is declared. highline 3.0 removed that dependency. commander pins highline transitively: 4.x requires highline ~> 2.0, and only commander 5.0 requires highline ~> 3.0. Relaxing the upper bound to '< 6' lets vmfloaty resolve to highline 3.x on Ruby 3.4+ while still allowing commander 4.x for older consumers. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2507e8ae9b
commit
dbcde7a69b
2 changed files with 6 additions and 5 deletions
|
|
@ -22,6 +22,6 @@ Gem::Specification.new do |s|
|
|||
s.require_path = 'lib'
|
||||
s.required_ruby_version = '>= 3.0'
|
||||
|
||||
s.add_dependency 'commander', '>= 4.4.3', '< 4.7.0'
|
||||
s.add_dependency 'commander', '>= 4.4.3', '< 6'
|
||||
s.add_dependency 'faraday', '~> 2'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue