ruby-grape / grape-swagger-rails

Swagger UI as Rails Engine for grape-swagger gem.
MIT License
251 stars 197 forks source link

Ruby 3.5 compatibility #126

Closed padde closed 1 month ago

padde commented 1 month ago

Fixes #121

The ostruct gem was historically included in the default gems included with Ruby. Starting with Ruby 3.3.5 though, requiring ostruct without explicitly adding it as dependency generates the following warning:

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.

As of Ruby 3.5, the ostruct gem will then no longer be shipped with Ruby so we need to explicitly add it to the dependencies.

Blockers

TODO

grape-bot commented 1 month ago
1 Message
:book: We really appreciate pull requests that demonstrate issues, even without a fix. That said, the next step is to try and fix the failing tests!

Generated by :no_entry_sign: Danger

dblock commented 1 month ago

Want to rebase this one?

padde commented 1 month ago

@dblock done, please review.

dblock commented 1 month ago

Good work @padde! Interested in helping out with maintaining this library, maybe make the next release? If yes drop me an email to dblock at dblock dot org with your rubygems username.