Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ruby 3.3.5 warning - ostruct will no longer be part of the default gems #850

Closed

Conversation

shaicoleman
Copy link
Contributor

@shaicoleman shaicoleman commented Sep 6, 2024

Fixes the warning with Ruby 3.3.5:

warning: .../ruby/3.3.5/lib/ruby/3.3.0/ostruct.rb 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.

https://github.com/ruby/ruby/blob/v3_3_5/lib/bundled_gems.rb#L29

Fixes the warning:
warning: .../ruby/3.3.5/lib/ruby/3.3.0/ostruct.rb 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.
@shaicoleman shaicoleman changed the title Add ostruct to gemspec as a dependency Fix ruby 3.3.5 warning - ostruct will no longer be part of the default gems Sep 11, 2024
@shaicoleman shaicoleman changed the title Fix ruby 3.3.5 warning - ostruct will no longer be part of the default gems Fix Ruby 3.3.5 warning - ostruct will no longer be part of the default gems Sep 11, 2024
@shaicoleman
Copy link
Contributor Author

shaicoleman commented Sep 20, 2024

Alterntive PR to completely remove OpenStruct: #853

@jkowens
Copy link
Collaborator

jkowens commented Oct 4, 2024

Closed in favor of #853 👍

@jkowens jkowens closed this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants