Commit b32714d
authored
Remove
The constant was copied over from grape when grape_entity/json.rb
was introduced, but grape-entity never parses JSON and so never
used it. Because the main grape gem also defines JSON::ParseError,
loading both gems produced `already initialized constant` warnings.
Dropping the assignment silences the warnings with no behavior
change. Originally flagged in #385 by @ericproulx.Json::ParseError assignment (#402)1 parent 1b272d8 commit b32714d
2 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 5 | + | |
11 | 6 | | |
12 | 7 | | |
0 commit comments