Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhance Compatibility with Rack 3 and Maintain Support for Rack 2 #27

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

aroop
Copy link
Contributor

@aroop aroop commented Jan 2, 2024

This PR introduces changes to the Yabeda::Prometheus::Mmap::Exporter class to ensure compatibility with both Rack 2 and Rack 3. It addresses the issue where Rack 3 moved WEBrick related code to a separate gem (rackup), which requires conditional handling based on the Rack version being used.

This is similar to yabeda-rb/yabeda-prometheus-mmap#8

@Envek Envek merged commit 2369085 into yabeda-rb:master Jan 4, 2024
0 of 4 checks passed
@Envek
Copy link
Member

Envek commented Jan 5, 2024

Thanks, released in 0.9.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants