Skip to content

Conversation

@bassemawhoob
Copy link
Contributor

Tableless currently depends on ostruct, which triggers deprecation warnings in Ruby 3.4 and above:

tableless-0.2.2/lib/tableless/connection_adapters/dummy_adapter.rb:2: warning:
/Users/dolo/.rbenv/versions/3.4.2/lib/ruby/3.4.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.
Also please contact the author of tableless-0.2.2 to request adding ostruct into its gemspec.

This PR removes the use of ostruct entirely, eliminating the need for the dependency.

@bassemawhoob
Copy link
Contributor Author

cc @jonian @olibia

@jonian jonian merged commit 25b38a0 into hardpixel:master Sep 6, 2025
6 checks passed
@jonian
Copy link
Member

jonian commented Sep 6, 2025

Thank you for your contribution @bassemawhoob!

@bassemawhoob bassemawhoob deleted the remove-ostruct branch September 8, 2025 08:56
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