Skip to content

Commit b898bfc

Browse files
vergenztctran
authored andcommitted
Rename lib/tasks/{migrate => annotate_models_migrate}.rake (#469)
Fixes #468. Rename lib/tasks/migrate.rake something more unique to avoid conflicts.
1 parent 3edd810 commit b898bfc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.rubocop_todo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Style/ClassAndModuleChildren:
195195
# Offense count: 2
196196
Style/ClassVars:
197197
Exclude:
198-
- 'lib/tasks/migrate.rake'
198+
- 'lib/tasks/annotate_models_migrate.rake'
199199

200200
# Offense count: 1
201201
# Cop supports --auto-correct.
@@ -215,7 +215,7 @@ Style/Documentation:
215215
- 'lib/annotate/annotate_models.rb'
216216
- 'lib/annotate/version.rb'
217217
- 'lib/generators/annotate/install_generator.rb'
218-
- 'lib/tasks/migrate.rake'
218+
- 'lib/tasks/annotate_models_migrate.rake'
219219

220220
# Offense count: 2
221221
# Cop supports --auto-correct.
@@ -280,7 +280,7 @@ Style/GuardClause:
280280
Exclude:
281281
- 'lib/annotate/annotate_models.rb'
282282
- 'lib/annotate/annotate_routes.rb'
283-
- 'lib/tasks/migrate.rake'
283+
- 'lib/tasks/annotate_models_migrate.rake'
284284
- 'spec/integration/rails_2.3_with_bundler/config/boot.rb'
285285

286286
# Offense count: 57
@@ -408,7 +408,7 @@ Style/RedundantReturn:
408408
# Cop supports --auto-correct.
409409
Style/RedundantSelf:
410410
Exclude:
411-
- 'lib/tasks/migrate.rake'
411+
- 'lib/tasks/annotate_models_migrate.rake'
412412

413413
# Offense count: 12
414414
# Cop supports --auto-correct.
File renamed without changes.

0 commit comments

Comments
 (0)