Skip to content

Commit befba2c

Browse files
committed
Fix Ruby 3.1 compatibility with httparty/multi_xml
httparty's unbounded dependency on multi_xml was resolving to 0.9.1, which requires Ruby >= 3.2. This broke CI on Ruby 3.1.7. Pin multi_xml to 0.7.1 to maintain compatibility. Also reverted bundler bump to ~> 4.0 (from ~> 2.5) after CI failed to resolve the newer major version; keeping ~> 2.5 ensures stable dependency resolution.
1 parent 6535a6e commit befba2c

3 files changed

Lines changed: 17 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ Change type: additive (initial extraction)
3737

3838
- Bumped `httparty` to `~> 0.24.0` (from `~> 0.22.0`) and `rubocop-rake` to
3939
`~> 0.7.0` (from `~> 0.6.0`) to track current RubyGems releases.
40-
- Bumped the development `bundler` constraint to `~> 4.0` (from `~> 2.5`).
40+
- Pinned `multi_xml` to `0.7.1` in the `Gemfile`: `httparty`'s dependency on
41+
`multi_xml` is unbounded, and `multi_xml >= 0.7.2` requires Ruby >= 3.2,
42+
which broke CI (still on Ruby 3.1.7) after the `httparty` bump. The pin
43+
keeps the resolved dependency tree within `required_ruby_version` (>= 3.1.0).
44+
- Reverted an attempted development `bundler` bump to `~> 4.0`; kept `~> 2.5`
45+
after CI failed to resolve/install the newer major version.
4146

4247
## [0.1.0] - 2026-07-11
4348

Gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
source 'https://rubygems.org'
44
gemspec
55

6+
# multi_xml >= 0.7.2 drops Ruby 3.1 support; httparty's dependency on multi_xml
7+
# is unbounded, so pin it directly to stay compatible with required_ruby_version.
8+
gem 'multi_xml', '0.7.1'
9+
610
group :development, :test do
7-
gem 'bundler', '~> 4.0'
11+
gem 'bundler', '~> 2.5'
812
gem 'rake', '~> 13.2'
913
gem 'rspec', '~> 3.13'
1014
gem 'rubocop', '~> 1.64', require: false

Gemfile.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GEM
99
remote: https://rubygems.org/
1010
specs:
1111
ast (2.4.3)
12-
bigdecimal (4.1.2)
12+
bigdecimal (3.3.1)
1313
csv (3.3.5)
1414
diff-lcs (1.6.2)
1515
docile (1.4.1)
@@ -21,8 +21,8 @@ GEM
2121
language_server-protocol (3.17.0.6)
2222
lint_roller (1.1.0)
2323
mini_mime (1.1.5)
24-
multi_xml (0.9.1)
25-
bigdecimal (>= 3.1, < 5)
24+
multi_xml (0.7.1)
25+
bigdecimal (~> 3.1)
2626
oj (3.17.3)
2727
bigdecimal (>= 3.0)
2828
ostruct (>= 0.2)
@@ -90,7 +90,8 @@ PLATFORMS
9090
x86_64-linux
9191

9292
DEPENDENCIES
93-
bundler (~> 4.0)
93+
bundler (~> 2.5)
94+
multi_xml (= 0.7.1)
9495
rake (~> 13.2)
9596
rspec (~> 3.13)
9697
rubocop (~> 1.64)
@@ -101,4 +102,4 @@ DEPENDENCIES
101102
simplecov (~> 0.22.0)
102103

103104
BUNDLED WITH
104-
4.0.16
105+
2.5.23

0 commit comments

Comments
 (0)