Commit ae2e6af
Add csv gem dependency for Ruby 3.4+ support
Ruby 3.4 removed csv from the default gems, requiring it to be
explicitly added as a dependency. The gem is used in three places:
- lib/jsonapi/basic_resource.rb:734 - parsing filter values
- lib/jsonapi/request.rb:353 - parsing included resources
- lib/jsonapi/request.rb:415 - parsing sorts
Without this dependency, Ruby 3.4 fails with:
cannot load such file -- csv (LoadError)
Adding csv as a runtime dependency is safe for all Ruby versions
as it's available in the standard library for older versions.
Fixes Ruby 3.4 CI failures.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 013f87a commit ae2e6af
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
0 commit comments