From d902f4487ea1e4a67d4217f250c0036baffcb645 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:09:00 +0200 Subject: [PATCH] Add `ostruct` to the gemfile Ruby 3.5 will warn, 3.6 will raise. This is a test-only dependency, framework code itself doesn't use it (enforced by RuboCop) --- Gemfile | 3 +++ Gemfile.lock | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index f6fc8c1bc91..36091208005 100644 --- a/Gemfile +++ b/Gemfile @@ -38,6 +38,9 @@ gem "cgi", ">= 0.3.6", require: false gem "prism" +# Became a bundled gem in Ruby 3.5 +gem "ostruct" + group :lint do gem "syntax_tree", "6.1.1", require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 8a78c4e034e..8465b384f4c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -368,6 +368,7 @@ GEM nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) os (1.1.4) + ostruct (0.6.0) parallel (1.24.0) parser (3.2.2.4) ast (~> 2.4.1) @@ -623,6 +624,7 @@ DEPENDENCIES msgpack (>= 1.7.0) mysql2 (~> 0.5) nokogiri (>= 1.8.1, != 1.11.0) + ostruct pg (~> 1.3) prism propshaft (>= 0.1.7)