Skip to content

Commit 6105801

Browse files
committed
Add ostruct dependency due to default gem removal
``` /home/hartley/.cache/asdf/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/pry-0.14.2/lib/pry.rb:31: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning. ``` This fixing warnings when requiring ostruct (and fixes errors in future Ruby 3.5)
1 parent 3bb0330 commit 6105801

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recursive-open-struct.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,7 @@ Gem::Specification.new do |s|
4040
s.add_development_dependency('rdoc', [">= 0"])
4141
s.add_development_dependency('rspec', "~> 3.2")
4242
s.add_development_dependency('simplecov', [">= 0"])
43+
44+
s.add_dependency('ostruct')
4345
end
4446

0 commit comments

Comments
 (0)