From f6975ac7502456982dc1d4faced56c2a7620cc9d Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 19 Sep 2023 10:09:07 +0200 Subject: [PATCH] Downgrade json_schemer to re-enable timeout messages See https://github.com/openHPI/codeocean/issues/1914 --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 9af38a7e..b6c7eadc 100644 --- a/Gemfile +++ b/Gemfile @@ -19,7 +19,7 @@ gem 'http_accept_language' gem 'i18n-js' gem 'ims-lti', '< 2.0.0' # Version 2 implements LTI 2.0, which is deprecated. Hence, we stay with version 1. gem 'jbuilder' -gem 'json_schemer' +gem 'json_schemer', '< 2.0.0' # Version 2 currently has a bug that prevents validating timeout messages. See https://github.com/openHPI/codeocean/issues/1914 gem 'js-routes' gem 'jwt' gem 'kramdown' diff --git a/Gemfile.lock b/Gemfile.lock index c8d5012c..2a2a294c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -182,7 +182,7 @@ GEM js-routes (2.2.7) railties (>= 4) json (2.6.3) - json_schemer (2.0.0) + json_schemer (1.0.3) hana (~> 1.3) regexp_parser (~> 2.0) simpleidn (~> 0.2) @@ -555,7 +555,7 @@ DEPENDENCIES ims-lti (< 2.0.0) jbuilder js-routes - json_schemer + json_schemer (< 2.0.0) jwt kramdown letter_opener