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

Add minimal support for Rails 6 #1193

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Add minimal support for Rails 6 #1193

merged 1 commit into from
Apr 23, 2019

Conversation

mcmire
Copy link
Collaborator

@mcmire mcmire commented Mar 21, 2019

  • Add Rails 6 appraisal to start testing against it.
  • Fix usage of Module#parent as this is deprecated in Rails 6 in favor
    of Module#module_parent.
  • Ensure that we're using the correct version of sqlite3 and pg at
    all times
  • When creating classes within tests, ensure that they are removed
    correctly
  • Fix detection of has_secure_password in models: Check that
    InstanceMethodsOnActivation is specifically defined, as Rails 6 no
    longer has such a module.

Closes #1117.
Closes #1167.
Closes #1169.
Closes #1186.

@mcmire mcmire requested a review from guialbuk March 23, 2019 22:44
@mcmire mcmire added this to the v4.next milestone Mar 23, 2019
Copy link
Collaborator

@guialbuk guialbuk left a comment

Choose a reason for hiding this comment

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

Looks good! 🚀

* Add Rails 6 appraisal to start testing against it.
* Fix usage of Module#parent as this is deprecated in Rails 6 in favor
  of Module#module_parent.
* Ensure that we're using the correct version of `sqlite3` and `pg` at
  all times
* When creating classes within tests, ensure that they are removed
  correctly
* Fix detection of has_secure_password in models: Check that
  InstanceMethodsOnActivation is specifically defined, as Rails 6 no
  longer has such a module.

Co-authored-by: Lee Machin <me@mrl.ee>
@mcmire mcmire force-pushed the add-support-for-rails-6 branch 2 times, most recently from 36a4f52 to ae9bf4a Compare April 22, 2019 04:15
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@thoughtbot thoughtbot deleted a comment from houndci-bot Apr 22, 2019
@mcmire mcmire closed this Apr 23, 2019
@mcmire mcmire deleted the add-support-for-rails-6 branch April 23, 2019 02:01
@mcmire mcmire merged commit ae9bf4a into master Apr 23, 2019
@palkan
Copy link

palkan commented May 21, 2019

Hey there!
Any plans on releasing Rails 6 compatible version any time soon?

@mcmire
Copy link
Collaborator Author

mcmire commented May 21, 2019

Hey @palkan — yeah, I do plan on doing it soon. There's a couple of issues left over that I need to address, and I haven't had time lately to work on them, but I'll try to make time within the next couple of weeks.

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.

Add Rails 6 to the list of Appraisals, fix any breaking tests validate_presence_of fails on Rails 6
4 participants