mirror of https://github.com/rails/rails
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:
parent
5411787a15
commit
d902f4487e
3
Gemfile
3
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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue