rubocop-nosolosoftware 1.2.0 → 1.7.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: 3a56547c0efe7d21679b856918547632944ae698bded671be0130792dc504bc9
4
- data.tar.gz: 3af51a4cd0e1da30fcd07ebc4e30e58ed02a5b9bd51c9b70cb2531aa6bf92dd7
3
+ metadata.gz: edf286bff0729b0a8d2916ba0e832f1fe8d366bb1f95ba79a1af2af983ed02b5
4
+ data.tar.gz: 0274b7d6b9e51bc39b02f893054d9f332371e57c4f2ad9508d0ec0573d887d6c
5
5
  SHA512:
6
- metadata.gz: b1842c650a3c41b852b195ed69533fa1c28dc948b67a05bf7a16c70142239d4adced938adf342376be53dc854324363eb151a8b04bf49622ce0fee6f672c2adf
7
- data.tar.gz: cd442144b1514ef18a35480105b3f89f739488214cdd97710de59e8a2a8d3bd81696f8a9d3b9783c0f533fc5c6b4d520e6eae13db3a406dc05f185c2d5984aae
6
+ metadata.gz: 4a5f52e00b9d3f80bcd1f8df5bf1931a6f9b533b6ff628eb58522e08f8e0407d05d9a93eae9abbe28b915b6e6d80de7fc066022aeef39b6906a811777128c546
7
+ data.tar.gz: 1916de8b126a103b39ea763e941041abf4f2011d7e4bb49c514cb32ebb05f464cce6c79984dbde343601559ce9abe1400407f084155a2bc906a82490486396f7
data/CHANGELOG.md CHANGED
@@ -5,19 +5,97 @@ 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
+ The following rules have been added:
9
+
10
+ ## 1.7.0 - 2021-06-29
11
+ - Added new rules introduced in the last version.
12
+ - rubocop-rails
13
+ - Rails/AddColumnIndex (2.11)
14
+ - Rails/ExpandedDateRange (2.11)
15
+ - Rails/I18nLocaleAssignment (2.11)
16
+ - Rails/UnusedIgnoredColumns (2.11)
17
+ - Rails/EagerEvaluationLogMessage (2.11)
18
+ - rubocop-rspec
19
+ - RSpec/IdenticalEqualityAssertion (2.4)
20
+ - RSpec/Rails/AvoidSetupHook (2.4)
21
+
22
+ ### Changed
23
+ - Updated dependency rubocop-rails and rubocop-rspec
24
+
25
+ ## 1.6.0 - 2021-06-08
26
+
27
+ ### Added
28
+ - Added new rules introduced in the last version.
29
+ - rubocop
30
+ - Lint/EmptyInPattern (1.16)
31
+ - Style/InPatternThen (1.16)
32
+ - Style/MultilineInPatternThen (1.16)
33
+ - Style/QuotedSymbols (1.16)
34
+ - Style/StringChars (1.12)
35
+ - Performance/MapCompact (1.11)
36
+ - Performance/RedundantEqualityComparisonBlock (1.10)
37
+ - Performance/RedundantSplitRegexpArgument (1.10)
38
+ - rubocop-rails
39
+ - Rails/EnvironmentVariableAccess (2.10)
40
+ - Rails/TimeZoneAssignment (2.10)
41
+
42
+ ### Changed
43
+ - Updated dependency rubocop-rails
44
+
45
+ ## 1.5.0 - 2021-02-25
46
+
47
+ ### Added
48
+ - Added new rules introduced in the last version.
49
+ - rubocop
50
+ - Gemspec/DateAssignment (1.10)
51
+ - Layout/SpaceBeforeBrackets (1.7)
52
+ - Lint/AmbiguousAssignment (1.7)
53
+ - Lint/DeprecatedConstants (1.8)
54
+ - Lint/LambdaWithoutLiteralBlock (1.8)
55
+ - Lint/NumberedParameterAssignment (1.9)
56
+ - Lint/OrAssignmentToConstant (1.9)
57
+ - Lint/RedundantDirGlobSort (1.8)
58
+ - Lint/SymbolConversion (1.9)
59
+ - Lint/TripleQuotes (1.9)
60
+ - Style/EndlessMethod (1.8)
61
+ - Style/HashConversion (1.10)
62
+ - Style/HashExcept (1.7)
63
+ - Style/IfWithBooleanLiteralBranches (1.9)
64
+
65
+ ## 1.4.0 - 2020-12-15
66
+ ### Added
67
+ - Added new rules introduced in the last version.
68
+ - rubocop
69
+ - Lint/UnexpectedBlockArity (1.5)
70
+ - rubocop-rails
71
+ - Rails/AttributeDefaultBlockValue (2.9)
72
+ - Rails/WhereEquals (2.9)
73
+
74
+ ## 1.3.0 - 2020-11-25
75
+ ### Added
76
+ - Added new rules introduced in the last version.
77
+ - rubocop
78
+ - Style/RedundantArgument (1.4)
79
+ - rubocop-performance
80
+ - Performance/ArraySemiInfiniteRangeSlice (1.9)
81
+ - Performance/BlockGivenWithExplicitBlock (1.9)
82
+ - Performance/CollectionLiteralInLoop (1.8)
83
+ - Performance/ConstantRegexp (1.9)
84
+ - Performance/MethodObjectAsBlock (1.9)
85
+
8
86
  ## 1.2.0 - 2020-11-13
9
87
  ### Added
10
88
  - Added new rules introduced in the last version.
11
- - Lint/DuplicateBranch (1.3)
12
- - Lint/EmptyClass (1.3)
13
- - Style/NilLambda (1.3)
89
+ - Lint/DuplicateBranch (1.3)
90
+ - Lint/EmptyClass (1.3)
91
+ - Style/NilLambda (1.3)
14
92
 
15
93
  ## 1.1.0 - 2020-11-13
16
94
  ### Added
17
95
  - Added new rules introduced in the last version.
18
- - Lint/NoReturnInBeginEndBlocks (1.2)
19
- - Style/CollectionCompact (1.2)
20
- - Style/NegatedIfElseCondition (1.2)
96
+ - Lint/NoReturnInBeginEndBlocks (1.2)
97
+ - Style/CollectionCompact (1.2)
98
+ - Style/NegatedIfElseCondition (1.2)
21
99
 
22
100
  ### Changed
23
101
  - Changed Naming/VariableNumber to start using snake_case
@@ -25,15 +103,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
103
  ## 1.0.0 - 2020-11-04
26
104
  ### Added
27
105
  - Added new rules introduced in the last version.
28
- - Lint/DuplicateRegexpCharacterClassElement (1.1)
29
- - Lint/EmptyBlock (1.1)
30
- - Lint/ToEnumArguments (1.1)
31
- - Lint/UnmodifiedReduceAccumulator (1.1)
32
- - Style/ArgumentsForwarding (1.1)
33
- - Style/DocumentDynamicEvalDefinition (1.1)
34
- - Style/SwapValues (1.1)
106
+ - Lint/DuplicateRegexpCharacterClassElement (1.1)
107
+ - Lint/EmptyBlock (1.1)
108
+ - Lint/ToEnumArguments (1.1)
109
+ - Lint/UnmodifiedReduceAccumulator (1.1)
110
+ - Style/ArgumentsForwarding (1.1)
111
+ - Style/DocumentDynamicEvalDefinition (1.1)
112
+ - Style/SwapValues (1.1)
35
113
  - Added new rules introduced in the last version of rubocop-rspec
36
- - RSpec/Rails/HttpStatus (2.pre)
114
+ - RSpec/Rails/HttpStatus (2.pre)
37
115
 
38
116
  ### Changed
39
117
  - Removed shared enabled rules with rubocop 1.0
@@ -45,12 +123,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
45
123
  ## 0.10.0 - 2020-11-04
46
124
  ### Added
47
125
  - Added new rules introduced in the last version.
48
- - Lint/HashCompareByIdentity (0.93)
49
- - Lint/RedundantSafeNavigation (0.93)
50
- - Style/ClassEqualityComparison (0.93)
126
+ - Lint/HashCompareByIdentity (0.93)
127
+ - Lint/RedundantSafeNavigation (0.93)
128
+ - Style/ClassEqualityComparison (0.93)
51
129
 
52
130
  - Added new rules introduced in the last version of rubocop-rspec
53
- - RSpec/StubbedMock (1.44)
131
+ - RSpec/StubbedMock (1.44)
54
132
 
55
133
  ### Changed
56
134
  - Bump dependencies
@@ -58,22 +136,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
58
136
  ## 0.9.0 - 2020-09-18
59
137
  ### Added
60
138
  - Added new rules introduced in the last version.
61
- - Layout/BeginEndAlignment (0.91)
62
- - Lint/ConstantDefinitionInBlock (0.91)
63
- - Lint/DuplicateRequire (0.90)
64
- - Lint/EmptyFile (0.90)
65
- - Lint/IdentityComparison (0.91)
66
- - Lint/TrailingCommaInAttributeDeclaration (0.90)
67
- - Lint/UselessMethodDefinition (0.90)
68
- - Lint/UselessTimes (0.91)
69
- - Style/CombinableLoops (0.90)
70
- - Style/KeywordParametersOrder (0.90)
71
- - Style/RedundantSelfAssignment (0.90)
72
- - Style/SoleNestedConditional (0.89)
73
- - Performance/Sum (1.8)
74
- - Rails/AfterCommitOverride (2.8)
75
- - Rails/SquishedSQLHeredocs (2.8)
76
- - Rails/WhereNot (2.8)
139
+ - Layout/BeginEndAlignment (0.91)
140
+ - Lint/ConstantDefinitionInBlock (0.91)
141
+ - Lint/DuplicateRequire (0.90)
142
+ - Lint/EmptyFile (0.90)
143
+ - Lint/IdentityComparison (0.91)
144
+ - Lint/TrailingCommaInAttributeDeclaration (0.90)
145
+ - Lint/UselessMethodDefinition (0.90)
146
+ - Lint/UselessTimes (0.91)
147
+ - Style/CombinableLoops (0.90)
148
+ - Style/KeywordParametersOrder (0.90)
149
+ - Style/RedundantSelfAssignment (0.90)
150
+ - Style/SoleNestedConditional (0.89)
151
+ - Performance/Sum (1.8)
152
+ - Rails/AfterCommitOverride (2.8)
153
+ - Rails/SquishedSQLHeredocs (2.8)
154
+ - Rails/WhereNot (2.8)
77
155
 
78
156
  ### Changed
79
157
  - Updated all the extensions.
@@ -82,20 +160,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
82
160
 
83
161
  ### Added
84
162
  - Added new rules introduced in the last version.
85
- - Lint/BinaryOperatorWithIdenticalOperands (0.89)
86
- - Lint/DuplicateRescueException (0.89)
87
- - Lint/EmptyConditionalBody (0.89)
88
- - Lint/FloatComparison (0.89)
89
- - Lint/MissingSuper (0.89)
90
- - Lint/OutOfRangeRegexpRef (0.89)
91
- - Lint/SelfAssignment (0.89)
92
- - Lint/TopLevelReturnWithArgument (0.89)
93
- - Lint/UnreachableLoop (0.89)
94
- - Style/ExplicitBlockArgument (0.89)
95
- - Style/GlobalStdStream (0.89)
96
- - Style/OptionalBooleanParameter (0.89)
97
- - Style/SingleArgumentDig (0.89)
98
- - Style/StringConcatenation (0.89)
163
+ - Lint/BinaryOperatorWithIdenticalOperands (0.89)
164
+ - Lint/DuplicateRescueException (0.89)
165
+ - Lint/EmptyConditionalBody (0.89)
166
+ - Lint/FloatComparison (0.89)
167
+ - Lint/MissingSuper (0.89)
168
+ - Lint/OutOfRangeRegexpRef (0.89)
169
+ - Lint/SelfAssignment (0.89)
170
+ - Lint/TopLevelReturnWithArgument (0.89)
171
+ - Lint/UnreachableLoop (0.89)
172
+ - Style/ExplicitBlockArgument (0.89)
173
+ - Style/GlobalStdStream (0.89)
174
+ - Style/OptionalBooleanParameter (0.89)
175
+ - Style/SingleArgumentDig (0.89)
176
+ - Style/StringConcatenation (0.89)
99
177
 
100
178
  ## 0.7.0 - 2020-08-03
101
179
 
@@ -109,22 +187,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
109
187
 
110
188
  ### Added
111
189
  - Added new rules introduced in the last version.
112
- - Lint/DeprecatedOpenSSLConstant (0.84)
113
- - Lint/MixedRegexpCaptureTypes (0.85)
114
- - Style/AccessorGrouping (0.87)
115
- - Style/BisectedAttrAccessor (0.87)
116
- - Style/RedundantAssignment (0.87)
117
- - Style/RedundantFetchBlock (0.86)
118
- - Style/RedundantRegexpCharacterClass (0.85)
119
- - Style/RedundantRegexpEscape (0.85)
120
- - Performance/AncestorsInclude (1.7)
121
- - Performance/BigDecimalWithNumericArgument (1.7)
122
- - Performance/RedundantSortBlock (1.7)
123
- - Performance/RedundantStringChars (1.7)
124
- - Performance/ReverseFirst (1.7)
125
- - Performance/SortReverse (1.7)
126
- - Performance/Squeeze (1.7)
127
- - Performance/StringInclude (1.7)
190
+ - Lint/DeprecatedOpenSSLConstant (0.84)
191
+ - Lint/MixedRegexpCaptureTypes (0.85)
192
+ - Style/AccessorGrouping (0.87)
193
+ - Style/BisectedAttrAccessor (0.87)
194
+ - Style/RedundantAssignment (0.87)
195
+ - Style/RedundantFetchBlock (0.86)
196
+ - Style/RedundantRegexpCharacterClass (0.85)
197
+ - Style/RedundantRegexpEscape (0.85)
198
+ - Performance/AncestorsInclude (1.7)
199
+ - Performance/BigDecimalWithNumericArgument (1.7)
200
+ - Performance/RedundantSortBlock (1.7)
201
+ - Performance/RedundantStringChars (1.7)
202
+ - Performance/ReverseFirst (1.7)
203
+ - Performance/SortReverse (1.7)
204
+ - Performance/Squeeze (1.7)
205
+ - Performance/StringInclude (1.7)
128
206
 
129
207
  ## 0.5.0 - 2020-07-07
130
208
 
data/rubocop-gemspec.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_gemspec/
3
3
  #
4
+
5
+ # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdateassignment
6
+ Gemspec/DateAssignment:
7
+ Enabled: true
data/rubocop-layout.yml CHANGED
@@ -21,3 +21,7 @@ Layout/SpaceAroundEqualsInParameterDefault:
21
21
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
22
22
  Layout/SpaceInsideHashLiteralBraces:
23
23
  EnforcedStyle: no_space
24
+
25
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforebrackets
26
+ Layout/SpaceBeforeBrackets:
27
+ Enabled: true
data/rubocop-lint.yml CHANGED
@@ -39,3 +39,43 @@ Lint/DuplicateBranch:
39
39
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyclass
40
40
  Lint/EmptyClass:
41
41
  Enabled: true
42
+
43
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintunexpectedblockarity
44
+ Lint/UnexpectedBlockArity:
45
+ Enabled: true
46
+
47
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousassignment
48
+ Lint/AmbiguousAssignment:
49
+ Enabled: true
50
+
51
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintdeprecatedconstants
52
+ Lint/DeprecatedConstants:
53
+ Enabled: true
54
+
55
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintlambdawithoutliteralblock
56
+ Lint/LambdaWithoutLiteralBlock:
57
+ Enabled: true
58
+
59
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintnumberedparameterassignment
60
+ Lint/NumberedParameterAssignment:
61
+ Enabled: true
62
+
63
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintorassignmenttoconstant
64
+ Lint/OrAssignmentToConstant:
65
+ Enabled: true
66
+
67
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantdirglobsort
68
+ Lint/RedundantDirGlobSort:
69
+ Enabled: true
70
+
71
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintsymbolconversion
72
+ Lint/SymbolConversion:
73
+ Enabled: true
74
+
75
+ # https://docs.rubocop.org/rubocop/cops_lint.html#linttriplequotes
76
+ Lint/TripleQuotes:
77
+ Enabled: true
78
+
79
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyinpattern
80
+ Lint/EmptyInPattern:
81
+ Enabled: true
@@ -4,38 +4,70 @@
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
62
+
63
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemapcompact
64
+ Performance/MapCompact:
65
+ Enabled: true
66
+
67
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantequalitycomparisonblock
68
+ Performance/RedundantEqualityComparisonBlock:
69
+ Enabled: true
70
+
71
+ # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantsplitregexpargument
72
+ Performance/RedundantSplitRegexpArgument:
73
+ Enabled: true
data/rubocop-rails.yml CHANGED
@@ -109,3 +109,39 @@ 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
120
+
121
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsenvironmentvariableaccess
122
+ Rails/EnvironmentVariableAccess:
123
+ Enabled: true
124
+
125
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstimezoneassignment
126
+ Rails/TimeZoneAssignment:
127
+ Enabled: true
128
+
129
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsaddcolumnindex
130
+ Rails/AddColumnIndex:
131
+ Enabled: true
132
+
133
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsexpandeddaterange
134
+ Rails/ExpandedDateRange:
135
+ Enabled: true
136
+
137
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsi18nlocaleassignment
138
+ Rails/I18nLocaleAssignment:
139
+ Enabled: true
140
+
141
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsunusedignoredcolumns
142
+ Rails/UnusedIgnoredColumns:
143
+ Enabled: true
144
+
145
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railseagerevaluationlogmessage
146
+ Rails/EagerEvaluationLogMessage:
147
+ Enabled: true
data/rubocop-rspec.yml CHANGED
@@ -45,3 +45,11 @@ RSpec/StubbedMock:
45
45
  # https://docs.rubocop.org/rubocop-rspec/cops_rails.html#railshttpstatus
46
46
  RSpec/Rails/HttpStatus:
47
47
  EnforcedStyle: numeric
48
+
49
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec/rails.html#rspecrailsavoidsetuphook
50
+ RSpec/Rails/AvoidSetupHook:
51
+ Enabled: true
52
+
53
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecidenticalequalityassertion
54
+ RSpec/IdenticalEqualityAssertion:
55
+ Enabled: true
data/rubocop-style.yml CHANGED
@@ -60,3 +60,39 @@ Style/NegatedIfElseCondition:
60
60
  # https://docs.rubocop.org/rubocop/cops_style.html#stylenillambda
61
61
  Style/NilLambda:
62
62
  Enabled: true
63
+
64
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantargument
65
+ Style/RedundantArgument:
66
+ Enabled: true
67
+
68
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleendlessmethod
69
+ Style/EndlessMethod:
70
+ Enabled: true
71
+
72
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashconversion
73
+ Style/HashConversion:
74
+ Enabled: true
75
+
76
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashexcept
77
+ Style/HashExcept:
78
+ Enabled: true
79
+
80
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleifwithbooleanliteralbranches
81
+ Style/IfWithBooleanLiteralBranches:
82
+ Enabled: true
83
+
84
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleinpatternthen
85
+ Style/InPatternThen:
86
+ Enabled: true
87
+
88
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylemultipleinpatternthen
89
+ Style/MultilineInPatternThen:
90
+ Enabled: true
91
+
92
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylequotedsymbols
93
+ Style/QuotedSymbols:
94
+ Enabled: true
95
+
96
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylestringchars
97
+ Style/StringChars:
98
+ 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: 1.2.0
4
+ version: 1.7.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-13 00:00:00.000000000 Z
11
+ date: 2021-06-29 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: '1.3'
19
+ version: '1.10'
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: '1.3'
26
+ version: '1.10'
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.11'
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.11'
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: 2.pre
89
+ version: '2.4'
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: 2.pre
96
+ version: '2.4'
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/v1.2.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.2.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.7.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.7.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options:
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
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