-
- Downloads
Add migration cop
To prevent schema-changing methods from being used in post migrations. Add rspec test for time_enforced migration helper Add rspec test for new schema change cop
parent
a23527fd
No related branches found
No related tags found
Showing
- .rubocop.yml 6 additions, 0 deletions.rubocop.yml
- rubocop/cop/migration/schema_change_methods_no_post.rb 37 additions, 0 deletionsrubocop/cop/migration/schema_change_methods_no_post.rb
- rubocop/migration_helpers.rb 12 additions, 0 deletionsrubocop/migration_helpers.rb
- spec/rubocop/cop/migration/schema_change_methods_no_post_spec.rb 31 additions, 0 deletions...bocop/cop/migration/schema_change_methods_no_post_spec.rb
- spec/rubocop/migration_helpers_spec.rb 16 additions, 0 deletionsspec/rubocop/migration_helpers_spec.rb
Please register or sign in to comment