Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 621c184

Browse files
committed
rubocop: reran auto_gen_config
1 parent ca2b350 commit 621c184

File tree

1 file changed

+27
-38
lines changed

1 file changed

+27
-38
lines changed

.rubocop_todo.yml

+27-38
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2019-04-08 15:57:26 -0500 using RuboCop version 0.58.2.
3+
# on 2020-06-09 17:52:24 -0700 using RuboCop version 0.58.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 12
9+
# Offense count: 11
1010
# Cop supports --auto-correct.
1111
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
1212
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
@@ -20,12 +20,11 @@ Lint/AmbiguousOperator:
2020
- 'app/models/hydrus/collection.rb'
2121
- 'app/models/hydrus/solr_queryable.rb'
2222

23-
# Offense count: 4
23+
# Offense count: 3
2424
Lint/AmbiguousRegexpLiteral:
2525
Exclude:
2626
- 'devel/get_datastreams.rb'
2727
- 'spec/features/collection_create_spec.rb'
28-
- 'spec/support/helpers.rb'
2928

3029
# Offense count: 1
3130
# Configuration parameters: AllowSafeAssignment.
@@ -107,7 +106,7 @@ Lint/UnusedMethodArgument:
107106
- 'devel/dashboard_experiment.rb'
108107
- 'spec/helpers/application_helper_spec.rb'
109108

110-
# Offense count: 29
109+
# Offense count: 28
111110
Lint/UselessAssignment:
112111
Exclude:
113112
- 'app/models/hydrus/collection.rb'
@@ -121,7 +120,6 @@ Lint/UselessAssignment:
121120
- 'spec/features/collection_edit_spec.rb'
122121
- 'spec/features/item_create_spec.rb'
123122
- 'spec/features/item_edit_spec.rb'
124-
- 'spec/features/models/item_spec.rb'
125123
- 'spec/helpers/application_helper_spec.rb'
126124
- 'spec/models/hydrus/solr_queryable_spec.rb'
127125
- 'spec/support/helpers.rb'
@@ -132,15 +130,15 @@ Lint/Void:
132130
Exclude:
133131
- 'spec/features/item_create_spec.rb'
134132

135-
# Offense count: 43
133+
# Offense count: 44
136134
Metrics/AbcSize:
137135
Max: 119
138136

139-
# Offense count: 11
137+
# Offense count: 10
140138
# Configuration parameters: CountComments, ExcludedMethods.
141139
# ExcludedMethods: refine
142140
Metrics/BlockLength:
143-
Max: 163
141+
Max: 129
144142

145143
# Offense count: 9
146144
# Configuration parameters: CountComments.
@@ -165,13 +163,12 @@ Metrics/ModuleLength:
165163
Metrics/PerceivedComplexity:
166164
Max: 24
167165

168-
# Offense count: 7
166+
# Offense count: 6
169167
Naming/AccessorMethodName:
170168
Exclude:
171169
- 'app/models/hydrus/eventable.rb'
172170
- 'app/models/hydrus/generic_object.rb'
173171
- 'app/models/hydrus/object_file.rb'
174-
- 'app/models/hydrus/workflow_ds_extension.rb'
175172

176173
# Offense count: 18
177174
# Configuration parameters: EnforcedStyle.
@@ -181,7 +178,7 @@ Naming/HeredocDelimiterCase:
181178
- 'spec/models/hydrus/item_spec.rb'
182179
- 'spec/models/hydrus/related_item_spec.rb'
183180

184-
# Offense count: 29
181+
# Offense count: 28
185182
# Configuration parameters: Blacklist.
186183
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
187184
Naming/HeredocDelimiterNaming:
@@ -214,7 +211,7 @@ Naming/MethodName:
214211
Exclude:
215212
- 'app/models/hydrus/admin_policy_object.rb'
216213

217-
# Offense count: 39
214+
# Offense count: 38
218215
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
219216
# NamePrefix: is_, has_, have_
220217
# NamePrefixBlacklist: is_, has_, have_
@@ -233,7 +230,6 @@ Naming/PredicateName:
233230
- 'app/models/hydrus/generic_object_stuff.rb'
234231
- 'app/models/hydrus/item.rb'
235232
- 'app/models/hydrus/object_file.rb'
236-
- 'app/models/hydrus/processable.rb'
237233
- 'app/models/hydrus/user_workflowable.rb'
238234
- 'app/models/user.rb'
239235

@@ -291,14 +287,12 @@ Performance/StartWith:
291287
Exclude:
292288
- 'app/models/hydrus/item.rb'
293289

294-
# Offense count: 5
290+
# Offense count: 3
295291
# Cop supports --auto-correct.
296292
Performance/StringReplacement:
297293
Exclude:
298-
- 'app/helpers/application_helper.rb'
299294
- 'app/models/hydrus/remediation_runner.rb'
300295
- 'app/models/hydrus/responsible.rb'
301-
- 'lib/tasks/fixtures.rake'
302296

303297
# Offense count: 37
304298
# Cop supports --auto-correct.
@@ -326,21 +320,20 @@ Style/BarePercentLiterals:
326320
Style/BlockDelimiters:
327321
Enabled: false
328322

329-
# Offense count: 11
323+
# Offense count: 9
330324
# Cop supports --auto-correct.
331325
# Configuration parameters: EnforcedStyle.
332326
# SupportedStyles: braces, no_braces, context_dependent
333327
Style/BracesAroundHashParameters:
334328
Exclude:
335329
- 'devel/dashboard_experiment.rb'
336330
- 'lib/tasks/hydrus.rake'
337-
- 'spec/controllers/hydrus_items_controller_spec.rb'
338331
- 'spec/features/collection_create_spec.rb'
339332
- 'spec/features/item_create_spec.rb'
340333
- 'spec/lib/is_druid_validator_spec.rb'
341334
- 'spec/models/hydrus/item_spec.rb'
342335

343-
# Offense count: 31
336+
# Offense count: 29
344337
# Cop supports --auto-correct.
345338
# Configuration parameters: AutoCorrect, EnforcedStyle.
346339
# SupportedStyles: nested, compact
@@ -355,7 +348,7 @@ Style/ClassCheck:
355348
Exclude:
356349
- 'app/models/hydrus/generic_object_stuff.rb'
357350

358-
# Offense count: 4
351+
# Offense count: 3
359352
Style/ClassVars:
360353
Exclude:
361354
- 'app/controllers/hydrus_solr_controller.rb'
@@ -405,7 +398,7 @@ Style/DefWithParentheses:
405398
- 'app/models/hy_time.rb'
406399
- 'devel/list_all_hydrus_objects.rb'
407400

408-
# Offense count: 70
401+
# Offense count: 69
409402
Style/Documentation:
410403
Enabled: false
411404

@@ -450,7 +443,7 @@ Style/ExpandPathArguments:
450443
- 'script/rails'
451444
- 'spec/spec_helper.rb'
452445

453-
# Offense count: 180
446+
# Offense count: 183
454447
# Cop supports --auto-correct.
455448
# Configuration parameters: EnforcedStyle.
456449
# SupportedStyles: when_needed, always, never
@@ -464,7 +457,7 @@ Style/GlobalVars:
464457
- 'devel/experiment.rb'
465458
- 'spec/support/rubydora_transactions_monkeypatch.rb'
466459

467-
# Offense count: 23
460+
# Offense count: 22
468461
# Configuration parameters: MinBodyLength.
469462
Style/GuardClause:
470463
Exclude:
@@ -473,7 +466,6 @@ Style/GuardClause:
473466
- 'app/helpers/application_helper.rb'
474467
- 'app/models/hydra/datastream/rights_metadata.rb'
475468
- 'app/models/hydrus/accessible.rb'
476-
- 'app/models/hydrus/collection.rb'
477469
- 'app/models/hydrus/contentable.rb'
478470
- 'app/models/hydrus/generic_ds.rb'
479471
- 'app/models/hydrus/item.rb'
@@ -493,7 +485,7 @@ Style/IfInsideElse:
493485
- 'app/models/hydrus/item.rb'
494486
- 'devel/create_test_item.rb'
495487

496-
# Offense count: 22
488+
# Offense count: 21
497489
# Cop supports --auto-correct.
498490
Style/IfUnlessModifier:
499491
Exclude:
@@ -531,7 +523,7 @@ Style/LineEndConcatenation:
531523
Exclude:
532524
- 'spec/models/hydrus/item_spec.rb'
533525

534-
# Offense count: 84
526+
# Offense count: 71
535527
# Cop supports --auto-correct.
536528
# Configuration parameters: IgnoredMethods.
537529
Style/MethodCallWithoutArgsParentheses:
@@ -642,7 +634,7 @@ Style/ParenthesesAroundCondition:
642634
- 'app/models/hydrus/item.rb'
643635
- 'app/models/hydrus/object_file.rb'
644636

645-
# Offense count: 126
637+
# Offense count: 124
646638
# Cop supports --auto-correct.
647639
# Configuration parameters: PreferredDelimiters.
648640
Style/PercentLiteralDelimiters:
@@ -657,7 +649,7 @@ Style/PercentQLiterals:
657649
- 'spec/models/hydrus/accessible_spec.rb'
658650
- 'spec/models/hydrus/item_spec.rb'
659651

660-
# Offense count: 22
652+
# Offense count: 21
661653
# Cop supports --auto-correct.
662654
# Configuration parameters: EnforcedStyle.
663655
# SupportedStyles: short, verbose
@@ -668,15 +660,14 @@ Style/PreferredHashMethods:
668660
- 'app/helpers/hydrus_form_helper.rb'
669661
- 'devel/create_test_item.rb'
670662

671-
# Offense count: 3
663+
# Offense count: 2
672664
# Cop supports --auto-correct.
673665
# Configuration parameters: EnforcedStyle.
674666
# SupportedStyles: compact, exploded
675667
Style/RaiseArgs:
676668
Exclude:
677669
- 'app/controllers/datastreams_controller.rb'
678670
- 'app/controllers/events_controller.rb'
679-
- 'app/controllers/hydrus_items_controller.rb'
680671

681672
# Offense count: 1
682673
# Cop supports --auto-correct.
@@ -696,7 +687,7 @@ Style/RedundantSelf:
696687
- 'app/models/hydrus/item.rb'
697688
- 'app/models/hydrus/user_workflowable.rb'
698689

699-
# Offense count: 10
690+
# Offense count: 8
700691
# Cop supports --auto-correct.
701692
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
702693
# SupportedStyles: slashes, percent_r, mixed
@@ -706,11 +697,9 @@ Style/RegexpLiteral:
706697
- 'app/models/hydrus/generic_object_stuff.rb'
707698
- 'app/models/hydrus/solr_queryable.rb'
708699
- 'spec/controllers/hydrus_collections_controller_spec.rb'
709-
- 'spec/controllers/hydrus_items_controller_spec.rb'
710700
- 'spec/helpers/hydrus_form_helper_spec.rb'
711701
- 'spec/models/hydrus/item_spec.rb'
712702
- 'spec/models/hydrus/object_file_spec.rb'
713-
- 'spec/support/helpers.rb'
714703

715704
# Offense count: 1
716705
# Cop supports --auto-correct.
@@ -749,7 +738,7 @@ Style/StringLiteralsInInterpolation:
749738
Exclude:
750739
- 'app/helpers/hydrus_form_helper.rb'
751740

752-
# Offense count: 63
741+
# Offense count: 64
753742
# Cop supports --auto-correct.
754743
# Configuration parameters: MinSize.
755744
# SupportedStyles: percent, brackets
@@ -784,14 +773,14 @@ Style/TrailingCommaInArguments:
784773
- 'spec/features/item_create_spec.rb'
785774
- 'spec/features/item_edit_spec.rb'
786775

787-
# Offense count: 60
776+
# Offense count: 59
788777
# Cop supports --auto-correct.
789778
# Configuration parameters: EnforcedStyleForMultiline.
790779
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
791780
Style/TrailingCommaInArrayLiteral:
792781
Enabled: false
793782

794-
# Offense count: 85
783+
# Offense count: 84
795784
# Cop supports --auto-correct.
796785
# Configuration parameters: EnforcedStyleForMultiline.
797786
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
@@ -854,7 +843,7 @@ Style/WordArray:
854843
Style/ZeroLengthPredicate:
855844
Enabled: false
856845

857-
# Offense count: 940
846+
# Offense count: 1013
858847
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
859848
# URISchemes: http, https
860849
Metrics/LineLength:

0 commit comments

Comments
 (0)