From dbcde7a69b315ea968835861a19a66123decd075 Mon Sep 17 00:00:00 2001 From: Michael Hashizume Date: Thu, 21 May 2026 10:21:10 -0700 Subject: [PATCH] (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) --- Gemfile.lock | 9 +++++---- vmfloaty.gemspec | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6dfa6ea..4c03655 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: vmfloaty (1.9.0) - commander (>= 4.4.3, < 4.7.0) + commander (>= 4.4.3, < 6) faraday (~> 2) GEM @@ -13,8 +13,8 @@ GEM ast (2.4.3) bigdecimal (4.1.2) coderay (1.1.3) - commander (4.6.0) - highline (~> 2.0.0) + commander (5.0.0) + highline (~> 3.0.0) crack (1.0.1) bigdecimal rexml @@ -27,7 +27,7 @@ GEM faraday-net_http (3.4.2) net-http (~> 0.5) hashdiff (1.2.1) - highline (2.0.3) + highline (3.0.1) io-console (0.8.2) json (2.19.4) language_server-protocol (3.17.0.5) @@ -100,6 +100,7 @@ GEM PLATFORMS aarch64-linux + arm64-darwin-24 x86_64-darwin-22 x86_64-linux diff --git a/vmfloaty.gemspec b/vmfloaty.gemspec index 14c7ffa..e59e534 100644 --- a/vmfloaty.gemspec +++ b/vmfloaty.gemspec @@ -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