Skip to content

Commit 062e89e

Browse files
mhashizumeclaude
andcommitted
(PA-8499) Bump commander to ~> 5.0
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. Moving the constraint to ~> 5.0 lets vmfloaty resolve to highline 3.x and run cleanly on Ruby 3.4. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2507e8a commit 062e89e

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎Gemfile.lock‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
vmfloaty (1.9.0)
5-
commander (>= 4.4.3, < 4.7.0)
5+
commander (~> 5.0)
66
faraday (~> 2)
77

88
GEM
@@ -13,8 +13,8 @@ GEM
1313
ast (2.4.3)
1414
bigdecimal (4.1.2)
1515
coderay (1.1.3)
16-
commander (4.6.0)
17-
highline (~> 2.0.0)
16+
commander (5.0.0)
17+
highline (~> 3.0.0)
1818
crack (1.0.1)
1919
bigdecimal
2020
rexml
@@ -27,7 +27,7 @@ GEM
2727
faraday-net_http (3.4.2)
2828
net-http (~> 0.5)
2929
hashdiff (1.2.1)
30-
highline (2.0.3)
30+
highline (3.0.1)
3131
io-console (0.8.2)
3232
json (2.19.4)
3333
language_server-protocol (3.17.0.5)
@@ -100,6 +100,7 @@ GEM
100100

101101
PLATFORMS
102102
aarch64-linux
103+
arm64-darwin-24
103104
x86_64-darwin-22
104105
x86_64-linux
105106

‎vmfloaty.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
2222
s.require_path = 'lib'
2323
s.required_ruby_version = '>= 3.0'
2424

25-
s.add_dependency 'commander', '>= 4.4.3', '< 4.7.0'
25+
s.add_dependency 'commander', '~> 5.0'
2626
s.add_dependency 'faraday', '~> 2'
2727
end

0 commit comments

Comments
 (0)