Skip to content

Replace MultiJson.load with JSON.parse#152

Merged
schneems merged 6 commits into
mainfrom
schneems/fix-150
Jun 4, 2026
Merged

Replace MultiJson.load with JSON.parse#152
schneems merged 6 commits into
mainfrom
schneems/fix-150

Conversation

@schneems

@schneems schneems commented Jun 3, 2026

Copy link
Copy Markdown
Contributor
  • Replace MultiJson.load with JSON.parse in the schema loading code
  • heroics 0.1.4 dropped its multi_json dependency, which platform-api relied on transitively

Fixes #150

W-22821335

schneems added 2 commits June 3, 2026 14:00
heroics 0.1.4 dropped its multi_json dependency in favor of Ruby's
built-in json library. Since platform-api never declared multi_json as
a direct dependency, upgrading heroics causes:

  NameError: uninitialized constant PlatformAPI::MultiJson

Replace the single MultiJson.load call with JSON.parse, which is
available from the standard library and requires no new dependencies.

Fixes #150
@schneems schneems marked this pull request as ready for review June 3, 2026 19:22
Comment thread CHANGELOG.md Outdated
Comment thread Rakefile
@schneems schneems requested a review from edmorley June 4, 2026 14:58
Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com>
Signed-off-by: Richard Schneeman <richard.schneeman+no-recruiters@gmail.com>
@schneems schneems merged commit c2259d3 into main Jun 4, 2026
5 of 13 checks passed
@schneems schneems deleted the schneems/fix-150 branch June 4, 2026 15:11
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.

Fix missing MultiJson dependency caused by upstream heroics 0.1.4 update

2 participants