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

Track Puma master changes to stats method #15

Merged
merged 1 commit into from May 21, 2020
Merged

Conversation

bdewater
Copy link
Contributor

Follow-up to #14 :) changes were undone in puma/puma#2253

if stats.is_a?(Hash)
stats
else
if defined?(Puma.stats_hash)
Copy link
Owner

Choose a reason for hiding this comment

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

could this also be if Puma.responds_to?(:stats_hash), and if so are you open to using that form?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep! Done.

@yob yob merged commit 89c1811 into yob:master May 21, 2020
@yob
Copy link
Owner

yob commented May 21, 2020

Thanks!

@bdewater bdewater deleted the puma5 branch May 21, 2020 03:23
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.

None yet

2 participants