Skip to content

Conversation

@amckinnell
Copy link
Contributor

@amckinnell amckinnell commented Jun 3, 2017

Some of the cops used to autocorrect db/schema.rb have been moved to another department as of Rubocop 0.49.0.

Add the FixDBSchemaConflicts::AutocorrectConfiguration class to choose the appropriate Rubocop autocorrect configuration: .rubocop_schema.yml or .rubocop_schema.49.yml.

@amckinnell amckinnell changed the title Support rubocop 49 Support rubocop >= 0.49.0 Jun 5, 2017
Copy link
Owner

@jakeonrails jakeonrails left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you for the contribution!

I like how you handled the different RC version configurations.

I'll update the README and push a new version in the next few minutes.

@jakeonrails jakeonrails merged commit f6cda07 into jakeonrails:master Jun 12, 2017
@amckinnell amckinnell deleted the support-rubocop-49 branch April 9, 2019 02:22
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