Sitelet https://github.com/googleapis/google-api-ruby-client/pull/26612
Skip to content

fix(google-apis-core): Add missing multi_json runtime dependency for representable - #26612

Merged
quartzmo merged 2 commits into
googleapis:mainfrom
quartzmo:add-missing-multijson-dep
Jun 8, 2026
Merged

quartzmo merged 2 commits into
googleapis:mainfrom
quartzmo:add-missing-multijson-dep

Conversation

@quartzmo

@quartzmo quartzmo commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

fixes: #26611
fixes: #26613

@quartzmo
quartzmo requested a review from a team as a code owner June 8, 2026 21:16
quartzmo added 2 commits June 8, 2026 21:52
…representable

* multi_json was removed from upstream dependencies googleauth (googleapis#575)
  and signet (googleapis#273).
* representable documents that if you use representable/json, you must
  include multi_json in your own dependencies.

fixes: googleapis#26611
@quartzmo
quartzmo force-pushed the add-missing-multijson-dep branch from 085a85d to fde4c7b Compare June 8, 2026 21:59
@quartzmo
quartzmo merged commit 16afc11 into googleapis:main Jun 8, 2026
13 checks passed
@quartzmo
quartzmo deleted the add-missing-multijson-dep branch June 8, 2026 22:08
torreypayne added a commit that referenced this pull request Jul 31, 2026
In 8 older, unregenerated REST client gems (`cloudshell_v1alpha1`,
`appengine_v1beta4`, `appengine_v1beta5`, `youtube_partner_v1`,
`youtube_analytics_v1`, `genomics_v1`, `genomics_v1alpha2`,
`analyticsdata_v1alpha`), the runtime constraint for google-apis-core was
still set to `~> 0.1`.

Because `~> 0.1` rejects 1.x versions, running unit tests in these directories
resolves google-apis-core (0.18.0) alongside representable (3.2.0). Since 0.18.0
predates PR #26612, it lacks a runtime dependency on multi_json, causing
`require "google/apis/..."` to crash in CI with:
Gem::LoadError: multi_json is not part of the bundle.

This PR aligns the constraint with the other 553 REST client libraries
(`>= 0.15.0, < 2.a`) so that modern google-apis-core is resolved in CI and
tests execute cleanly.
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.

build: toys ci tests dependency gems in isolation Crash on load: multi_json is not part of the bundle. Add it to your Gemfile.

2 participants