(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:
Michael Hashizume 2026-05-21 10:21:10 -07:00
parent 2507e8ae9b
commit dbcde7a69b
No known key found for this signature in database
GPG key ID: 7D7DF01108411652
2 changed files with 6 additions and 5 deletions

View file

@ -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