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

Update ruby version requirement to allow ruby 3.0 #122

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

andrewsheelan
Copy link
Contributor

Ruby 3.0.0 #121

@jejacks0n jejacks0n merged commit 27487b6 into jejacks0n:master Feb 17, 2021
@jejacks0n
Copy link
Owner

I'll try to cut a release of this by the weekend.

@jmziya
Copy link

jmziya commented Mar 12, 2021

Hey @jejacks0n , a release for this would be great. Without the release it's conflicting with #115 somehow, if you specify in Gemfile to pull from this github repo.

@andrewsheelan
Copy link
Contributor Author

andrewsheelan commented Apr 23, 2021

Not the best solution, I had add this along for now with ruby 3 upgrade. This monkey patch helped:
config/initializers/apitome.rb

Rails.configuration.to_prepare do
  Apitome::DocsController.class_eval do
    def open(file, file_opts)
      URI.open(file, **file_opts)
    end
  end
end

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.

3 participants