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

Updates for Puma 6 #335

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Updates for Puma 6 #335

merged 1 commit into from
Mar 23, 2023

Conversation

MSP-Greg
Copy link
Contributor

Description:

Current gemspec is using "puma", "~> 4.0". Puma 4 is incompatible with OpenSSL 3. This updates to "puma", "~> 6.1".

I believe I made all the needed changes, as the Puma 6 API is somewhat different that Puma 4.

I will abide by the code of conduct.

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well-used context-preserving comments about Puma versions.

begin
require "puma/log_writer" # Puma 6
rescue LoadError
require "puma/events"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder, when you put in ~> 6.1 in gemspec, will anyone ever run an older Puma with this code?

@indirect
Copy link
Member

Thanks!

@indirect indirect merged commit 6818841 into rubygems:main Mar 23, 2023
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.

4 participants