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 to modern versions of libraries #8

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Conversation

pbyrne
Copy link
Member

@pbyrne pbyrne commented Aug 23, 2021

Because:

  • The versions this was built against are all EOLed

Solution:

  • Use Rails 5.x and 6.x
  • Use Ruby 2.6, 2.7, and 3
  • Switch to Github Actions for CI

Because:

* The versions this was built against are all EOLed

Solution:

* Use Rails 5.x and 6.x
* Use Ruby 2.6, 2.7, and 3
* Swap out TravisCI (RIP for public repos) and onto GitHub Actions
if_option =~ /#{options[:on]}/
end
end
callback.matches?(kind, name)
Copy link
Member Author

Choose a reason for hiding this comment

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

There's no reasonable way to assert against the if condition, as far as I can tell. And Callback#matches? handles the opening section of the any? block, so let's drastically simplify this code.

@pbyrne pbyrne requested a review from ehlertij August 24, 2021 02:00
@pbyrne pbyrne merged commit 18c0d22 into master Aug 24, 2021
@pbyrne pbyrne deleted the patrick/newer-rails branch September 4, 2021 17: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