rubocop-nosolosoftware 0.10.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07ca8a274841470a96eeb6bd9761984ac584fe6271bd97f580963582d0c202b5
4
- data.tar.gz: 839ef10484ba232f3308aa43a838697d6ed522b5c5455a6ae9514086327e86d3
3
+ metadata.gz: b4e16ffbf21d3d07d0c4f35836c9b07350971dcaa9c788f112f8c1cb081a945a
4
+ data.tar.gz: d1adedccb22e07d7f54d8e8b89e8eba3ec273511c0ffd5eb4d73f8be992e86fb
5
5
  SHA512:
6
- metadata.gz: 9681fc80559d1314aea2139d0098de30a364fcd03a4d5f3685a9c437553113448036bd2d9b7beb1c03a054fb11ef5bc0ae1a089abe88eab21d9d35f53527578f
7
- data.tar.gz: 3e936394ba3ea3e92dafb13b79c1a7b703bda9fb46a1861b6620a58dcbcfbbd03cb67476b82c9ce4926ab33945a4326d4ab7d495289dfa765bd4c38b518ef119
6
+ metadata.gz: 72221a105449e0ce6f2d4b69ff2c9b2ac5c198fbbedfad143680991c7ed3b4acfa8528308c5011c9d6722a292a5b52f991f3cb5074901c8023c95337a0ae5008
7
+ data.tar.gz: 70d1aaf4a64f5aa460eee595e9faf2e775c6bed37993fffae345e9cf5cc6f0d75dcc08347e446395c113d2faf388362e1a2dd460c98630b5043b02c25fa68e4a
@@ -5,6 +5,64 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 1.4.0 - 2020-12-15
9
+ ### Added
10
+ - Added new rules introduced in the last version.
11
+ - rubocop
12
+ - Lint/UnexpectedBlockArity (1.5)
13
+ - rubocop-rails
14
+ - Rails/AttributeDefaultBlockValue (2.9)
15
+ - Rails/WhereEquals (2.9)
16
+
17
+ ## 1.3.0 - 2020-11-25
18
+ ### Added
19
+ - Added new rules introduced in the last version.
20
+ - rubocop
21
+ - Style/RedundantArgument (1.4)
22
+ - rubocop-performance
23
+ - Performance/ArraySemiInfiniteRangeSlice (1.9)
24
+ - Performance/BlockGivenWithExplicitBlock (1.9)
25
+ - Performance/CollectionLiteralInLoop (1.8)
26
+ - Performance/ConstantRegexp (1.9)
27
+ - Performance/MethodObjectAsBlock (1.9)
28
+
29
+ ## 1.2.0 - 2020-11-13
30
+ ### Added
31
+ - Added new rules introduced in the last version.
32
+ - Lint/DuplicateBranch (1.3)
33
+ - Lint/EmptyClass (1.3)
34
+ - Style/NilLambda (1.3)
35
+
36
+ ## 1.1.0 - 2020-11-13
37
+ ### Added
38
+ - Added new rules introduced in the last version.
39
+ - Lint/NoReturnInBeginEndBlocks (1.2)
40
+ - Style/CollectionCompact (1.2)
41
+ - Style/NegatedIfElseCondition (1.2)
42
+
43
+ ### Changed
44
+ - Changed Naming/VariableNumber to start using snake_case
45
+
46
+ ## 1.0.0 - 2020-11-04
47
+ ### Added
48
+ - Added new rules introduced in the last version.
49
+ - Lint/DuplicateRegexpCharacterClassElement (1.1)
50
+ - Lint/EmptyBlock (1.1)
51
+ - Lint/ToEnumArguments (1.1)
52
+ - Lint/UnmodifiedReduceAccumulator (1.1)
53
+ - Style/ArgumentsForwarding (1.1)
54
+ - Style/DocumentDynamicEvalDefinition (1.1)
55
+ - Style/SwapValues (1.1)
56
+ - Added new rules introduced in the last version of rubocop-rspec
57
+ - RSpec/Rails/HttpStatus (2.pre)
58
+
59
+ ### Changed
60
+ - Removed shared enabled rules with rubocop 1.0
61
+ - Bump dependencies (rubocop 1.0 and rubocop-rspec 2.pre)
62
+ - Bump ruby version to use `...`
63
+ - Reordered some rules following the convention of namespace/file.
64
+
65
+
8
66
  ## 0.10.0 - 2020-11-04
9
67
  ### Added
10
68
  - Added new rules introduced in the last version.
@@ -2,14 +2,6 @@
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_layout/
3
3
  #
4
4
 
5
- # https://docs.rubocop.org/en/stable/cops_layout/#layoutemptylinesaroundattributeaccessor
6
- Layout/EmptyLinesAroundAttributeAccessor:
7
- Enabled: true
8
-
9
- # https://docs.rubocop.org/en/stable/cops_layout/#layoutspacearoundmethodcalloperator
10
- Layout/SpaceAroundMethodCallOperator:
11
- Enabled: true
12
-
13
5
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutfirstarrayelementindentation
14
6
  Layout/FirstArrayElementIndentation:
15
7
  EnforcedStyle: consistent
@@ -29,7 +21,3 @@ Layout/SpaceAroundEqualsInParameterDefault:
29
21
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
30
22
  Layout/SpaceInsideHashLiteralBraces:
31
23
  EnforcedStyle: no_space
32
-
33
- # https://docs.rubocop.org/rubocop/cops_layout.html#layoutbeginendalignment
34
- Layout/BeginEndAlignment:
35
- Enabled: true
@@ -2,94 +2,44 @@
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_lint/
3
3
  #
4
4
 
5
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintraiseexception
6
- Lint/RaiseException:
5
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicateregexpcharacterclasselement
6
+ Lint/DuplicateRegexpCharacterClassElement:
7
7
  Enabled: true
8
8
 
9
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintstructnewoverride
10
- Lint/StructNewOverride:
9
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyblock
10
+ Lint/EmptyBlock:
11
11
  Enabled: true
12
+ Exclude:
13
+ - "**/spec/factories/**/*.rb"
12
14
 
13
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintdeprecatedopensslconstant
14
- Lint/DeprecatedOpenSSLConstant:
15
+ # https://docs.rubocop.org/rubocop/cops_lint.html#linttoenumarguments
16
+ Lint/ToEnumArguments:
15
17
  Enabled: true
16
18
 
17
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintmixedregexpcapturetypes
18
- Lint/MixedRegexpCaptureTypes:
19
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintunmodifiedreduceaccumulator
20
+ Lint/UnmodifiedReduceAccumulator:
19
21
  Enabled: true
20
22
 
21
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicateelsifcondition
22
- Lint/DuplicateElsifCondition:
23
- Enabled: true
24
-
25
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintbinaryoperatorwithidenticaloperands
26
- Lint/BinaryOperatorWithIdenticalOperands:
27
- Enabled: true
28
-
29
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicaterescueexception
30
- Lint/DuplicateRescueException:
31
- Enabled: true
32
-
33
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyconditionalbody
34
- Lint/EmptyConditionalBody:
35
- Enabled: true
36
-
37
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintfloatcomparison
38
- Lint/FloatComparison:
39
- Enabled: true
40
-
41
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintoutofrangeregexpref
42
- Lint/OutOfRangeRegexpRef:
43
- Enabled: true
44
-
45
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintselfassignment
46
- Lint/SelfAssignment:
47
- Enabled: true
48
-
49
- # https://docs.rubocop.org/rubocop/cops_lint.html#linttoplevelreturnwithargument
50
- Lint/TopLevelReturnWithArgument:
51
- Enabled: true
52
-
53
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintunreachableloop
54
- Lint/UnreachableLoop:
55
- Enabled: true
56
-
57
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintmissingsuper
58
- Lint/MissingSuper:
59
- Enabled: true
60
-
61
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintconstantdefinitioninblock
62
- Lint/ConstantDefinitionInBlock:
63
- Enabled: true
64
-
65
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicaterequire
66
- Lint/DuplicateRequire:
67
- Enabled: true
68
-
69
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyfile
70
- Lint/EmptyFile:
71
- Enabled: true
72
-
73
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintidentitycomparison
74
- Lint/IdentityComparison:
23
+ # https://docs.rubocop.org/rubocop/cops_lint.html#linthashcomparebyidentity
24
+ Lint/HashCompareByIdentity:
75
25
  Enabled: true
76
26
 
77
- # https://docs.rubocop.org/rubocop/cops_lint.html#linttrailingcommainattributedeclaration
78
- Lint/TrailingCommaInAttributeDeclaration:
27
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantsafenavigation
28
+ Lint/RedundantSafeNavigation:
79
29
  Enabled: true
80
30
 
81
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessmethoddefinition
82
- Lint/UselessMethodDefinition:
31
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintnoreturninbeginendblocks
32
+ Lint/NoReturnInBeginEndBlocks:
83
33
  Enabled: true
84
34
 
85
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselesstimes
86
- Lint/UselessTimes:
35
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatebranch
36
+ Lint/DuplicateBranch:
87
37
  Enabled: true
88
38
 
89
- # https://docs.rubocop.org/rubocop/cops_lint.html#linthashcomparebyidentity
90
- Lint/HashCompareByIdentity:
39
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyclass
40
+ Lint/EmptyClass:
91
41
  Enabled: true
92
42
 
93
- # https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantsafenavigation
94
- Lint/RedundantSafeNavigation:
43
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintunexpectedblockarity
44
+ Lint/UnexpectedBlockArity:
95
45
  Enabled: true
@@ -13,3 +13,17 @@ Metrics/ClassLength:
13
13
  # https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsmethodlength
14
14
  Metrics/MethodLength:
15
15
  Enabled: false
16
+
17
+ # https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsmodulelength
18
+ Metrics/ModuleLength:
19
+ Exclude:
20
+ - "**/config/routes.rb"
21
+ - "**/spec/**/*.rb"
22
+
23
+ # https://rubocop.readthedocs.io/en/latest/cops_metrics/#blocklength
24
+ Metrics/BlockLength:
25
+ Exclude:
26
+ - "**/spec/**/*.rb"
27
+ - "**/config/environments/*.rb"
28
+ - "**/config/routes.rb"
29
+ - "**/lib/tasks/auto_annotate_models.rake"
@@ -1,3 +1,7 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_naming/
3
3
  #
4
+
5
+ # https://docs.rubocop.org/rubocop/cops_naming.html#namingvariablenumber
6
+ Naming/VariableNumber:
7
+ EnforcedStyle: snake_case
@@ -4,38 +4,58 @@
4
4
 
5
5
  require: rubocop-performance
6
6
 
7
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceancestorsinclude
7
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceancestorsinclude
8
8
  Performance/AncestorsInclude:
9
9
  Enabled: true
10
10
 
11
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancebigdecimalwithnumericargument
11
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancebigdecimalwithnumericargument
12
12
  Performance/BigDecimalWithNumericArgument:
13
13
  Enabled: false
14
14
 
15
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceredundantsortblock
15
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantsortblock
16
16
  Performance/RedundantSortBlock:
17
17
  Enabled: true
18
18
 
19
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceredundantstringchars
19
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantstringchars
20
20
  Performance/RedundantStringChars:
21
21
  Enabled: true
22
22
 
23
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancereversefirst
23
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancereversefirst
24
24
  Performance/ReverseFirst:
25
25
  Enabled: true
26
26
 
27
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancesortreverse
27
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesortreverse
28
28
  Performance/SortReverse:
29
29
  Enabled: true
30
30
 
31
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancesqueeze
31
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesqueeze
32
32
  Performance/Squeeze:
33
33
  Enabled: true
34
34
 
35
- # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancestringinclude
35
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancestringinclude
36
36
  Performance/StringInclude:
37
37
  Enabled: true
38
38
 
39
- # https://docs.rubocop.org/rubocop-performance/1.8/cops_performance.html#performancesum
39
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesum
40
40
  Performance/Sum:
41
41
  Enabled: true
42
+
43
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancearraysemiinfiniterangeslice
44
+ Performance/ArraySemiInfiniteRangeSlice:
45
+ Enabled: true
46
+
47
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceblockgivenwithexplicitblock
48
+ Performance/BlockGivenWithExplicitBlock:
49
+ Enabled: true
50
+
51
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancecollectionliteralinloop
52
+ Performance/CollectionLiteralInLoop:
53
+ Enabled: true
54
+
55
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceconstantregexp
56
+ Performance/ConstantRegexp:
57
+ Enabled: true
58
+
59
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemethodobjectasblock
60
+ Performance/MethodObjectAsBlock:
61
+ Enabled: true
@@ -109,3 +109,11 @@ Rails/SquishedSQLHeredocs:
109
109
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswherenot
110
110
  Rails/WhereNot:
111
111
  Enabled: true
112
+
113
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsattributedefaultblockvalue
114
+ Rails/AttributeDefaultBlockValue:
115
+ Enabled: true
116
+
117
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswhereequals
118
+ Rails/WhereEquals:
119
+ Enabled: true
@@ -38,16 +38,10 @@ RSpec/MultipleExpectations:
38
38
  RSpec/NestedGroups:
39
39
  Max: 5
40
40
 
41
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockcomments
42
- Style/BlockComments:
43
- Exclude:
44
- - "**/spec/**/*.rb"
45
-
46
- # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockdelimiters
47
- Style/BlockDelimiters:
48
- Exclude:
49
- - "**/spec/**/*.rb"
50
-
51
- # https://rubocop.readthedocs.io/en/latest/cops_style/#rspecstubbedmock
41
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecstubbedmock
52
42
  RSpec/StubbedMock:
53
43
  Enabled: true
44
+
45
+ # https://docs.rubocop.org/rubocop-rspec/cops_rails.html#railshttpstatus
46
+ RSpec/Rails/HttpStatus:
47
+ EnforcedStyle: numeric
@@ -9,119 +9,58 @@ Style/AsciiComments:
9
9
  # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockdelimiters
10
10
  Style/BlockDelimiters:
11
11
  EnforcedStyle: braces_for_chaining
12
+ Exclude:
13
+ - "**/spec/**/*.rb"
12
14
 
13
15
  # https://docs.rubocop.org/rubocop/cops_style.html#styledocumentation
14
16
  Style/Documentation:
15
17
  Enabled: false
16
18
 
17
- # https://docs.rubocop.org/rubocop/cops_style.html#styleexponentialnotation
18
- Style/ExponentialNotation:
19
- Enabled: true
20
-
21
19
  # https://docs.rubocop.org/rubocop/cops_style.html#stylefrozenstringliteralcommetn
22
20
  Style/FrozenStringLiteralComment:
23
21
  Enabled: false
24
22
 
25
- # https://docs.rubocop.org/rubocop/cops_style.html#stylehasheachmethods
26
- Style/HashEachMethods:
27
- Enabled: true
28
-
29
- # https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformkeys
30
- Style/HashTransformKeys:
31
- Enabled: true
32
-
33
- # https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformvalues
34
- Style/HashTransformValues:
35
- Enabled: true
36
-
37
- # https://docs.rubocop.org/rubocop/cops_style.html#styleregexpliteral
38
- Style/RegexpLiteral:
39
- AllowInnerSlashes: true
40
-
41
- # https://docs.rubocop.org/rubocop/cops_style.html#styleslicingwithrange
42
- Style/SlicingWithRange:
43
- Enabled: true
44
-
45
23
  # https://docs.rubocop.org/rubocop/cops_style.html#styleaccessorgrouping
46
24
  Style/AccessorGrouping:
47
25
  Enabled: false
48
26
 
49
- # https://docs.rubocop.org/rubocop/cops_style.html#stylebisectedattraccessor
50
- Style/BisectedAttrAccessor:
51
- Enabled: true
52
-
53
- # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantassignment
54
- Style/RedundantAssignment:
55
- Enabled: true
56
-
57
- # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfetchblock
58
- Style/RedundantFetchBlock:
59
- Enabled: true
60
-
61
- # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpcharacterclass
62
- Style/RedundantRegexpCharacterClass:
63
- Enabled: true
64
-
65
- # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpescape
66
- Style/RedundantRegexpEscape:
67
- Enabled: true
68
-
69
27
  # https://docs.rubocop.org/rubocop/cops_style.html#stylearraycoercion
70
28
  Style/ArrayCoercion:
71
29
  Enabled: true
72
30
 
73
- # https://docs.rubocop.org/rubocop/cops_style.html#stylecaselikeif
74
- Style/CaseLikeIf:
75
- Enabled: true
76
-
77
- # https://docs.rubocop.org/rubocop/cops_style.html#stylehashaslastarrayitem
78
- Style/HashAsLastArrayItem:
31
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleargumentsforwarding
32
+ Style/ArgumentsForwarding:
79
33
  Enabled: true
80
34
 
81
- # https://docs.rubocop.org/rubocop/cops_style.html#stylehashlikecase
82
- Style/HashLikeCase:
35
+ # https://docs.rubocop.org/rubocop/cops_style.html#styledocumentdynamicevaldefinition
36
+ Style/DocumentDynamicEvalDefinition:
83
37
  Enabled: true
84
38
 
85
- # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfileextensioninrequire
86
- Style/RedundantFileExtensionInRequire:
39
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleswapvalues
40
+ Style/SwapValues:
87
41
  Enabled: true
88
42
 
89
- # https://docs.rubocop.org/rubocop/cops_style.html#styleexplicitblockargument
90
- Style/ExplicitBlockArgument:
91
- Enabled: true
43
+ # https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockcomments
44
+ Style/BlockComments:
45
+ Exclude:
46
+ - "**/spec/**/*.rb"
92
47
 
93
- # https://docs.rubocop.org/rubocop/cops_style.html#styleglobalstdstream
94
- Style/GlobalStdStream:
95
- Enabled: true
96
-
97
- # https://docs.rubocop.org/rubocop/cops_style.html#styleoptionalbooleanparameter
98
- Style/OptionalBooleanParameter:
99
- Enabled: true
100
-
101
- # https://docs.rubocop.org/rubocop/cops_style.html#stylesingleargumentdig
102
- Style/SingleArgumentDig:
103
- Enabled: true
104
-
105
- # https://docs.rubocop.org/rubocop/cops_style.html#stylestringconcatenation
106
- Style/StringConcatenation:
107
- Enabled: true
108
-
109
- # https://docs.rubocop.org/rubocop/cops_style.html#stylecombinableloops
110
- Style/CombinableLoops:
111
- Enabled: true
48
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleregexpliteral
49
+ Style/RegexpLiteral:
50
+ AllowInnerSlashes: true
112
51
 
113
- # https://docs.rubocop.org/rubocop/cops_style.html#stylekeywordparametersorder
114
- Style/KeywordParametersOrder:
52
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylecollectioncompact
53
+ Style/CollectionCompact:
115
54
  Enabled: true
116
55
 
117
- # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignment
118
- Style/RedundantSelfAssignment:
56
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylenegatedifelsecondition
57
+ Style/NegatedIfElseCondition:
119
58
  Enabled: true
120
59
 
121
- # https://docs.rubocop.org/rubocop/cops_style.html#stylesolenestedconditional
122
- Style/SoleNestedConditional:
60
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylenillambda
61
+ Style/NilLambda:
123
62
  Enabled: true
124
63
 
125
- # https://docs.rubocop.org/rubocop/cops_style.html#styleclassequalitycomparison
126
- Style/ClassEqualityComparison:
64
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantargument
65
+ Style/RedundantArgument:
127
66
  Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-nosolosoftware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Aranda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.93'
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.93'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.8'
47
+ version: '1.9'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.8'
54
+ version: '1.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.8'
61
+ version: '2.9'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.8'
68
+ version: '2.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.44'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.44'
96
+ version: '2.0'
97
97
  description: ''
98
98
  email: jaranda@nosolosoftware.es
99
99
  executables: []
@@ -125,8 +125,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
125
125
  licenses:
126
126
  - MIT
127
127
  metadata:
128
- source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.10.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.10.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.4.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.4.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options:
@@ -137,14 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: 2.5.0
140
+ version: 2.7.0
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.0.3
147
+ rubygems_version: 3.1.2
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Default Rubocop configuration used in NoSoloSoftware developments