1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2016-12-15 16:54:50 +0100 using RuboCop version 0.46.0.
3
+ # on 2016-12-17 01:21:04 +0100 using RuboCop version 0.46.0.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
@@ -94,14 +94,14 @@ Lint/UselessAccessModifier:
94
94
Exclude :
95
95
- ' lib/annotate/annotate_routes.rb'
96
96
97
- # Offense count: 16
97
+ # Offense count: 17
98
98
Metrics/AbcSize :
99
99
Max : 144
100
100
101
101
# Offense count: 3
102
102
# Configuration parameters: CountComments.
103
103
Metrics/BlockLength :
104
- Max : 135
104
+ Max : 134
105
105
106
106
# Offense count: 2
107
107
Metrics/BlockNesting :
@@ -111,17 +111,22 @@ Metrics/BlockNesting:
111
111
Metrics/CyclomaticComplexity :
112
112
Max : 36
113
113
114
- # Offense count: 334
114
+ # Offense count: 353
115
115
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
116
116
# URISchemes: http, https
117
117
Metrics/LineLength :
118
118
Max : 543
119
119
120
- # Offense count: 24
120
+ # Offense count: 25
121
121
# Configuration parameters: CountComments.
122
122
Metrics/MethodLength :
123
123
Max : 70
124
124
125
+ # Offense count: 1
126
+ # Configuration parameters: CountComments.
127
+ Metrics/ModuleLength :
128
+ Max : 116
129
+
125
130
# Offense count: 7
126
131
Metrics/PerceivedComplexity :
127
132
Max : 41
@@ -131,7 +136,7 @@ Style/AccessorMethodName:
131
136
Exclude :
132
137
- ' lib/annotate.rb'
133
138
134
- # Offense count: 1
139
+ # Offense count: 3
135
140
# Cop supports --auto-correct.
136
141
Style/AlignArray :
137
142
Exclude :
@@ -284,12 +289,13 @@ Style/ExtraSpacing:
284
289
- ' spec/integration/rails_4.2.0/Gemfile'
285
290
- ' spec/integration/rails_4.2.0/config.ru'
286
291
287
- # Offense count: 8
292
+ # Offense count: 9
288
293
# Configuration parameters: EnforcedStyle, SupportedStyles.
289
294
# SupportedStyles: format, sprintf, percent
290
295
Style/FormatString :
291
296
Exclude :
292
297
- ' lib/annotate/annotate_models.rb'
298
+ - ' lib/annotate/annotate_routes.rb'
293
299
294
300
# Offense count: 181
295
301
# Cop supports --auto-correct.
@@ -307,7 +313,7 @@ Style/GuardClause:
307
313
- ' lib/tasks/migrate.rake'
308
314
- ' spec/integration/rails_2.3_with_bundler/config/boot.rb'
309
315
310
- # Offense count: 58
316
+ # Offense count: 57
311
317
# Cop supports --auto-correct.
312
318
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
313
319
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
@@ -321,14 +327,13 @@ Style/IfUnlessModifier:
321
327
Exclude :
322
328
- ' lib/annotate/annotate_models.rb'
323
329
324
- # Offense count: 6
330
+ # Offense count: 5
325
331
# Cop supports --auto-correct.
326
332
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
327
333
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
328
334
Style/IndentArray :
329
335
Exclude :
330
336
- ' lib/annotate/annotate_models.rb'
331
- - ' lib/annotate/annotate_routes.rb'
332
337
333
338
# Offense count: 6
334
339
# Cop supports --auto-correct.
@@ -514,7 +519,7 @@ Style/Semicolon:
514
519
- ' bin/annotate'
515
520
- ' spec/integration/rails_2.3_with_bundler/config/initializers/unified_initializer.rb'
516
521
517
- # Offense count: 13
522
+ # Offense count: 12
518
523
# Cop supports --auto-correct.
519
524
# Configuration parameters: EnforcedStyle, SupportedStyles.
520
525
# SupportedStyles: space, no_space
@@ -597,7 +602,7 @@ Style/SpaceInsideStringInterpolation:
597
602
Exclude :
598
603
- ' lib/annotate/annotate_models.rb'
599
604
600
- # Offense count: 252
605
+ # Offense count: 253
601
606
# Cop supports --auto-correct.
602
607
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
603
608
# SupportedStyles: single_quotes, double_quotes
@@ -648,18 +653,18 @@ Style/TrailingCommaInLiteral:
648
653
- ' spec/integration/rails_4.1.1/lib/tasks/auto_annotate_models.rake'
649
654
- ' spec/integration/rails_4.2.0/lib/tasks/auto_annotate_models.rake'
650
655
651
- # Offense count: 1
656
+ # Offense count: 2
652
657
# Cop supports --auto-correct.
653
658
Style/TrailingWhitespace :
654
659
Exclude :
660
+ - ' spec/annotate/annotate_routes_spec.rb'
655
661
- ' spec/integration/rails_2.3_with_bundler/db/schema.rb'
656
662
657
- # Offense count: 3
663
+ # Offense count: 2
658
664
# Cop supports --auto-correct.
659
665
Style/UnneededInterpolation :
660
666
Exclude :
661
667
- ' bin/annotate'
662
- - ' lib/annotate/annotate_routes.rb'
663
668
664
669
# Offense count: 8
665
670
# Cop supports --auto-correct.
0 commit comments