Skip to content

fix: relax json_api_client pin to support Ruby 4.0#90

Merged
Fivell merged 1 commit into
masterfrom
fix/ruby-4-support
Jun 14, 2026
Merged

fix: relax json_api_client pin to support Ruby 4.0#90
Fivell merged 1 commit into
masterfrom
fix/ruby-4-support

Conversation

@Fivell

@Fivell Fivell commented Jun 14, 2026

Copy link
Copy Markdown
Member

Fixes #89.

The exact pin '1.23.0' transitively forced faraday-gzip < 3.0, whose
required_ruby_version < 4 blocked installing the gem on Ruby 4.0.
json_api_client 1.24.0 raised the cap to faraday-gzip < 4.0 (allowing
3.x, which supports Ruby 4), so '~> 1.23' resolves the conflict while
keeping the existing floor.

Also add Ruby 4.0 to the CI matrix so this regression stays covered —
nothing tested Ruby 4 before, which is why the conflict went unnoticed.

Verified locally on Ruby 3.3: bundle resolves json_api_client 1.24.0 +
faraday-gzip 3.1.0; 532 examples 0 failures; rubocop clean.
@sonarqubecloud

Copy link
Copy Markdown

@Fivell Fivell merged commit e953983 into master Jun 14, 2026
12 checks passed
@Fivell Fivell mentioned this pull request Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relax json_api_client pin (= 1.23.0) to support Ruby 4.0

1 participant