Repository navigation
Fix broken CI - #370
Merged
Merged
Fix broken CI#370
Conversation
Currently, CI is broken because of `Gemspec/DevelopmentDependencies` cop. https://github.com/roidrage/lograge/actions/runs/5100966316/jobs/9169550600#step:4:36 Rubocop recommends to write development dependencies in Gemfile. But this gem has multiple Gemfiles and it might be redundant. So I disable it to pass Rubocop.
Because truffleruby-21.3 for Ubuntu 22.04 doesn't exist. https://github.com/ruby/ruby-builder/releases/tag/toolcache
pxlpnk
approved these changes
Jun 19, 2023
To avoid `NameError`.
Since, rails/rails#45796, `ActiveSupport::Notifications.notifier.listeners_for` doesn't return the all `listeners`. Need to use `all_listeners_for` to get all `listeners`.
JRuby 9.2.x is compatible with Ruby 2.5.x and we don't run tests against CRuby 2.5.x now. So I think we can remove it.
Contributor
Author
|
Sorry after the approval, but I added commits that support edge Rails. I think those allow to all test passed. I confirmed that with my fork y-yagi#2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR tries to fix the broken CI.
First, disable
Gemspec/DependencyVersioncopCurrently, CI is broken because of
Gemspec/DevelopmentDependenciescop.https://github.com/roidrage/lograge/actions/runs/5100966316/jobs/9169550600#step:4:36
Rubocop recommends to write development dependencies in Gemfile.
But this gem has multiple Gemfiles and it might be redundant. So I disable it to pass Rubocop.
Second, bump
trufflerubyto the latest.Because truffleruby-21.3 for Ubuntu 22.04 doesn't exist.
https://github.com/ruby/ruby-builder/releases/tag/toolcache
Third, support edge Rails. Since, rails/rails#45796,
ActiveSupport::Notifications.notifier.listeners_fordoesn't return alllisteners.Need to use
all_listeners_forto get alllisteners.