Skip to content

Commit

Permalink
Add ostruct dependency due to default gem removal
Browse files Browse the repository at this point in the history
```
/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)
  • Loading branch information
skipkayhil committed Sep 5, 2024
1 parent 3bb0330 commit 6105801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recursive-open-struct.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ Gem::Specification.new do |s|
s.add_development_dependency('rdoc', [">= 0"])
s.add_development_dependency('rspec', "~> 3.2")
s.add_development_dependency('simplecov', [">= 0"])

s.add_dependency('ostruct')
end

0 comments on commit 6105801

Please sign in to comment.