From 5f17b79ff42360bcf01f15b4044a3e11202bc053 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Mon, 8 Jun 2026 09:43:57 -0700 Subject: [PATCH] Pin json ~> 2.0 Knapsacks gitignore Gemfile.lock and re-resolve from scratch in CI, so unpinned gems can drift to incompatible majors (e.g. json 3.x). Pinning json at the Hyku level keeps every downstream resolving to a compatible version without each one overriding via bundler.d. ref: https://notch8.slack.com/archives/C08EHRPQ9MY/p1780929216187279 --- Gemfile | 1 + Gemfile.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/Gemfile b/Gemfile index d7340ec49..b358bd662 100644 --- a/Gemfile +++ b/Gemfile @@ -58,6 +58,7 @@ gem 'i18n-tasks', group: %i[development test] gem 'iiif_print', '~> 3.0.12' gem 'jbuilder', '~> 2.5' gem 'jquery-rails' # Use jquery as the JavaScript library +gem 'json', '~> 2.0' # avoid v3 breaking changes downstream gem 'json-canonicalization', "0.3.1" # The maintainers yanked 0.3.2 version (see https://github.com/dryruby/json-canonicalization/issues/2) gem 'json_schemer' # Required for m3 schema validation gem 'launchy', group: %i[test] diff --git a/Gemfile.lock b/Gemfile.lock index bbf62cc17..4ac102ccf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1688,6 +1688,7 @@ DEPENDENCIES iiif_print (~> 3.0.12) jbuilder (~> 2.5) jquery-rails + json (~> 2.0) json-canonicalization (= 0.3.1) json_schemer launchy