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)
This commit is contained in:
Earlopain 2024-04-02 13:09:00 +02:00
parent 5411787a15
commit d902f4487e
No known key found for this signature in database
GPG Key ID: 48860312319ADF61
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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)