-
Notifications
You must be signed in to change notification settings - Fork 470
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
Fixes for Rails 7.1 #1252
Fixes for Rails 7.1 #1252
Conversation
@jdelStrother What errors do you get without this fix? |
Fix kwarg expectations with new rspec fixes, eg,
Fix FilterReflection with Rails 7.1 fixes, eg,
Fix a LogSubscriber deprecation in Rails 7.1 prevents this deprecation warning:
|
Hey @jdelStrother I'd love that fix for the |
It doesn't introduce any new test failures (all the test failures are on ruby 2.7 or sphinx, which are already failing on the main branch), so the branch is kind of 'finished' from that point of view. |
Thanks @jdelStrother — any thoughts @pat? |
3fa7843
to
7838538
Compare
I've fixed the existing failures in #1263, maybe we can start from there |
7838538
to
4124c15
Compare
Would love to get this merged in - @jdelStrother are you able to rebase? (I can sort it out otherwise) |
rspec to fix Object#with - rspec/rspec-mocks#1530 database_cleaner to fix "undefined method `table_name' for ActiveRecord::SchemaMigration:Class"
4124c15
to
b541835
Compare
Hmm, some timeouts in the tests. I’m surprised they’re that slow - want to try re-running them, or I can raise the timeout? |
Re-running them did the trick - it's rare that a full run passes in a single go. |
@pat great to see this one merged! Curious, what's the workflow for getting a new gem published? Thanks again! |
@rpheath it's really dependant on my spare time for OSS, which I feel is much less these days :( Still, trying to get a release out today. I'm just reviewing open PRs, merging what I feel is worthwhile, seeing if there's any open issues I can also offer fixes for, and then it's just a matter of waiting for CI to catch up, writing up the changelog, and running |
@pat hey no worries! I get it man, completely. I've been a long-time user of this code, it's incredible that you're still willing to put in the time to help all of us out. Thank you! |
This was going to just be a tiny fix for a LogSubscriber deprecation in Rails 7.1 (cde7554) but I ran into a few other issues getting the test-suite running.