Commit 2ae31b1
authored
Fix CI by pinning json gem below 3.0 (#992)
json just released 3.0.0, which drops support for the quirks_mode:
keyword. multi_json's json_gem adapter still passes that option by
default, and Grape transparently resolves its Grape::Json wrapper to
MultiJson whenever the gem is loaded in the process - so any spec
exercising JSON request parsing crashes with
"ArgumentError: unknown keyword: quirks_mode".
A fix for this already landed on multi_json's main branch but hasn't
been released as a gem yet, so pinning json < 3.0 is the only lever
available until multi_json cuts a new release. CI runs bundle update
with no lockfile pinning, which is why this surfaced now.1 parent ebfec8b commit 2ae31b1
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments