Skip to content

Preparing for Rails 6 Upgrade#4451

Merged
mitchellhenke merged 8 commits intomasterfrom
mitchellhenke/rails-6-prep-lg-3753
Nov 23, 2020
Merged

Preparing for Rails 6 Upgrade#4451
mitchellhenke merged 8 commits intomasterfrom
mitchellhenke/rails-6-prep-lg-3753

Conversation

@mitchellhenke
Copy link
Contributor

Rails 6 is going to be somewhat involved, so trying to get as much done as possible before the actual upgrade.

The most significant changes for us will be around autoloading described here and here. The class/module renames are to align with that.

We weren't using 5.2 default configuration, though the only piece we have to disable is a default from 5.0 here.

Rails 6 support was released in rspec-rails 4.0, but works for our current version.

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -1,2 +1 @@
Dir[Rails.root.join('lib', 'proofer_mocks', '*')].sort.each { |file| require file }
Copy link
Contributor

Choose a reason for hiding this comment

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

did this get replaced by something? Or is it that the directory doesn't exist anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does not exist 🙂

@mitchellhenke mitchellhenke merged commit b466c93 into master Nov 23, 2020
@mitchellhenke mitchellhenke deleted the mitchellhenke/rails-6-prep-lg-3753 branch November 23, 2020 21:26
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.

2 participants