rubocop-nosolosoftware 1.5.0 → 1.6.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: 36e8ed5d74002fad6070ed44a4120e82c2d802887fe4c337acf20adf120f2491
4
- data.tar.gz: f4a146a3af3d8b6aeae422c7bed4e55114583b5fa8c40353d227f52246d73d7b
3
+ metadata.gz: 94b85ed37d194149f41fc6572cd9f7ceb96767902badbd7fb0c27473e2985fc4
4
+ data.tar.gz: ab345d5d416f73ddac5fb1e7bdd617dcae2419640b2b51c5b5268110b376c551
5
5
  SHA512:
6
- metadata.gz: a39aac12583fc943e8e85390b3ec20dc47ea690f158c9383b7415378fd4776852a97eca1a68a6f16c93f49b35aebaf513ad3c3aeb42bfed1d03887537d0b2c5d
7
- data.tar.gz: 4efa3cc798fc2678cdb20bf2b59dc2bc3d85d3f53974193b4ebcd7c62cc97ee4472e7ac55833df32889d69ff8ba0dcf9001ea43b2d88affdfad8ebf88f69e7e7
6
+ metadata.gz: c36ca7da875893f8fe0b7a0b9915c1ee2a7f6bd9d1a80315121693b70210dc126d6c3c0b7f94475e1edb39d1a1b3fbd36411362c964e743db8d3759d6e00f51f
7
+ data.tar.gz: 51f6feeb94ec25b007b79bc0053d3abe3eff24307037cf7ce539af53980634bb07330676a1ac147be7a8187f66e44058066c895fcaf489b7aa93c2b5b63a8c5d
data/CHANGELOG.md CHANGED
@@ -7,11 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  The following rules have been added:
9
9
 
10
+ ## 1.6.0 - 2021-06-08
11
+
12
+ ### Added
13
+ - Added new rules introduced in the last version.
14
+ - rubocop
15
+ - Lint/EmptyInPattern (1.16)
16
+ - Style/InPatternThen (1.16)
17
+ - Style/MultilineInPatternThen (1.16)
18
+ - Style/QuotedSymbols (1.16)
19
+ - Style/StringChars (1.12)
20
+ - Performance/MapCompact (1.11)
21
+ - Performance/RedundantEqualityComparisonBlock (1.10)
22
+ - Performance/RedundantSplitRegexpArgument (1.10)
23
+ - rubocop-rails
24
+ - Rails/EnvironmentVariableAccess (2.10)
25
+ - Rails/TimeZoneAssignment (2.10)
26
+
27
+ ### Changed
28
+ - Updated dependency rubocop-rails
29
+
10
30
  ## 1.5.0 - 2021-02-25
11
31
 
12
32
  ### Added
13
33
  - Added new rules introduced in the last version.
14
- -rubocop
34
+ - rubocop
15
35
  - Gemspec/DateAssignment (1.10)
16
36
  - Layout/SpaceBeforeBrackets (1.7)
17
37
  - Lint/AmbiguousAssignment (1.7)
@@ -30,37 +50,37 @@ The following rules have been added:
30
50
  ## 1.4.0 - 2020-12-15
31
51
  ### Added
32
52
  - Added new rules introduced in the last version.
33
- - rubocop
34
- - Lint/UnexpectedBlockArity (1.5)
35
- - rubocop-rails
36
- - Rails/AttributeDefaultBlockValue (2.9)
37
- - Rails/WhereEquals (2.9)
53
+ - rubocop
54
+ - Lint/UnexpectedBlockArity (1.5)
55
+ - rubocop-rails
56
+ - Rails/AttributeDefaultBlockValue (2.9)
57
+ - Rails/WhereEquals (2.9)
38
58
 
39
59
  ## 1.3.0 - 2020-11-25
40
60
  ### Added
41
61
  - Added new rules introduced in the last version.
42
- - rubocop
43
- - Style/RedundantArgument (1.4)
44
- - rubocop-performance
45
- - Performance/ArraySemiInfiniteRangeSlice (1.9)
46
- - Performance/BlockGivenWithExplicitBlock (1.9)
47
- - Performance/CollectionLiteralInLoop (1.8)
48
- - Performance/ConstantRegexp (1.9)
49
- - Performance/MethodObjectAsBlock (1.9)
62
+ - rubocop
63
+ - Style/RedundantArgument (1.4)
64
+ - rubocop-performance
65
+ - Performance/ArraySemiInfiniteRangeSlice (1.9)
66
+ - Performance/BlockGivenWithExplicitBlock (1.9)
67
+ - Performance/CollectionLiteralInLoop (1.8)
68
+ - Performance/ConstantRegexp (1.9)
69
+ - Performance/MethodObjectAsBlock (1.9)
50
70
 
51
71
  ## 1.2.0 - 2020-11-13
52
72
  ### Added
53
73
  - Added new rules introduced in the last version.
54
- - Lint/DuplicateBranch (1.3)
55
- - Lint/EmptyClass (1.3)
56
- - Style/NilLambda (1.3)
74
+ - Lint/DuplicateBranch (1.3)
75
+ - Lint/EmptyClass (1.3)
76
+ - Style/NilLambda (1.3)
57
77
 
58
78
  ## 1.1.0 - 2020-11-13
59
79
  ### Added
60
80
  - Added new rules introduced in the last version.
61
- - Lint/NoReturnInBeginEndBlocks (1.2)
62
- - Style/CollectionCompact (1.2)
63
- - Style/NegatedIfElseCondition (1.2)
81
+ - Lint/NoReturnInBeginEndBlocks (1.2)
82
+ - Style/CollectionCompact (1.2)
83
+ - Style/NegatedIfElseCondition (1.2)
64
84
 
65
85
  ### Changed
66
86
  - Changed Naming/VariableNumber to start using snake_case
@@ -68,15 +88,15 @@ The following rules have been added:
68
88
  ## 1.0.0 - 2020-11-04
69
89
  ### Added
70
90
  - Added new rules introduced in the last version.
71
- - Lint/DuplicateRegexpCharacterClassElement (1.1)
72
- - Lint/EmptyBlock (1.1)
73
- - Lint/ToEnumArguments (1.1)
74
- - Lint/UnmodifiedReduceAccumulator (1.1)
75
- - Style/ArgumentsForwarding (1.1)
76
- - Style/DocumentDynamicEvalDefinition (1.1)
77
- - Style/SwapValues (1.1)
91
+ - Lint/DuplicateRegexpCharacterClassElement (1.1)
92
+ - Lint/EmptyBlock (1.1)
93
+ - Lint/ToEnumArguments (1.1)
94
+ - Lint/UnmodifiedReduceAccumulator (1.1)
95
+ - Style/ArgumentsForwarding (1.1)
96
+ - Style/DocumentDynamicEvalDefinition (1.1)
97
+ - Style/SwapValues (1.1)
78
98
  - Added new rules introduced in the last version of rubocop-rspec
79
- - RSpec/Rails/HttpStatus (2.pre)
99
+ - RSpec/Rails/HttpStatus (2.pre)
80
100
 
81
101
  ### Changed
82
102
  - Removed shared enabled rules with rubocop 1.0
@@ -88,12 +108,12 @@ The following rules have been added:
88
108
  ## 0.10.0 - 2020-11-04
89
109
  ### Added
90
110
  - Added new rules introduced in the last version.
91
- - Lint/HashCompareByIdentity (0.93)
92
- - Lint/RedundantSafeNavigation (0.93)
93
- - Style/ClassEqualityComparison (0.93)
111
+ - Lint/HashCompareByIdentity (0.93)
112
+ - Lint/RedundantSafeNavigation (0.93)
113
+ - Style/ClassEqualityComparison (0.93)
94
114
 
95
115
  - Added new rules introduced in the last version of rubocop-rspec
96
- - RSpec/StubbedMock (1.44)
116
+ - RSpec/StubbedMock (1.44)
97
117
 
98
118
  ### Changed
99
119
  - Bump dependencies
@@ -101,22 +121,22 @@ The following rules have been added:
101
121
  ## 0.9.0 - 2020-09-18
102
122
  ### Added
103
123
  - Added new rules introduced in the last version.
104
- - Layout/BeginEndAlignment (0.91)
105
- - Lint/ConstantDefinitionInBlock (0.91)
106
- - Lint/DuplicateRequire (0.90)
107
- - Lint/EmptyFile (0.90)
108
- - Lint/IdentityComparison (0.91)
109
- - Lint/TrailingCommaInAttributeDeclaration (0.90)
110
- - Lint/UselessMethodDefinition (0.90)
111
- - Lint/UselessTimes (0.91)
112
- - Style/CombinableLoops (0.90)
113
- - Style/KeywordParametersOrder (0.90)
114
- - Style/RedundantSelfAssignment (0.90)
115
- - Style/SoleNestedConditional (0.89)
116
- - Performance/Sum (1.8)
117
- - Rails/AfterCommitOverride (2.8)
118
- - Rails/SquishedSQLHeredocs (2.8)
119
- - Rails/WhereNot (2.8)
124
+ - Layout/BeginEndAlignment (0.91)
125
+ - Lint/ConstantDefinitionInBlock (0.91)
126
+ - Lint/DuplicateRequire (0.90)
127
+ - Lint/EmptyFile (0.90)
128
+ - Lint/IdentityComparison (0.91)
129
+ - Lint/TrailingCommaInAttributeDeclaration (0.90)
130
+ - Lint/UselessMethodDefinition (0.90)
131
+ - Lint/UselessTimes (0.91)
132
+ - Style/CombinableLoops (0.90)
133
+ - Style/KeywordParametersOrder (0.90)
134
+ - Style/RedundantSelfAssignment (0.90)
135
+ - Style/SoleNestedConditional (0.89)
136
+ - Performance/Sum (1.8)
137
+ - Rails/AfterCommitOverride (2.8)
138
+ - Rails/SquishedSQLHeredocs (2.8)
139
+ - Rails/WhereNot (2.8)
120
140
 
121
141
  ### Changed
122
142
  - Updated all the extensions.
@@ -125,20 +145,20 @@ The following rules have been added:
125
145
 
126
146
  ### Added
127
147
  - Added new rules introduced in the last version.
128
- - Lint/BinaryOperatorWithIdenticalOperands (0.89)
129
- - Lint/DuplicateRescueException (0.89)
130
- - Lint/EmptyConditionalBody (0.89)
131
- - Lint/FloatComparison (0.89)
132
- - Lint/MissingSuper (0.89)
133
- - Lint/OutOfRangeRegexpRef (0.89)
134
- - Lint/SelfAssignment (0.89)
135
- - Lint/TopLevelReturnWithArgument (0.89)
136
- - Lint/UnreachableLoop (0.89)
137
- - Style/ExplicitBlockArgument (0.89)
138
- - Style/GlobalStdStream (0.89)
139
- - Style/OptionalBooleanParameter (0.89)
140
- - Style/SingleArgumentDig (0.89)
141
- - Style/StringConcatenation (0.89)
148
+ - Lint/BinaryOperatorWithIdenticalOperands (0.89)
149
+ - Lint/DuplicateRescueException (0.89)
150
+ - Lint/EmptyConditionalBody (0.89)
151
+ - Lint/FloatComparison (0.89)
152
+ - Lint/MissingSuper (0.89)
153
+ - Lint/OutOfRangeRegexpRef (0.89)
154
+ - Lint/SelfAssignment (0.89)
155
+ - Lint/TopLevelReturnWithArgument (0.89)
156
+ - Lint/UnreachableLoop (0.89)
157
+ - Style/ExplicitBlockArgument (0.89)
158
+ - Style/GlobalStdStream (0.89)
159
+ - Style/OptionalBooleanParameter (0.89)
160
+ - Style/SingleArgumentDig (0.89)
161
+ - Style/StringConcatenation (0.89)
142
162
 
143
163
  ## 0.7.0 - 2020-08-03
144
164
 
@@ -152,22 +172,22 @@ The following rules have been added:
152
172
 
153
173
  ### Added
154
174
  - Added new rules introduced in the last version.
155
- - Lint/DeprecatedOpenSSLConstant (0.84)
156
- - Lint/MixedRegexpCaptureTypes (0.85)
157
- - Style/AccessorGrouping (0.87)
158
- - Style/BisectedAttrAccessor (0.87)
159
- - Style/RedundantAssignment (0.87)
160
- - Style/RedundantFetchBlock (0.86)
161
- - Style/RedundantRegexpCharacterClass (0.85)
162
- - Style/RedundantRegexpEscape (0.85)
163
- - Performance/AncestorsInclude (1.7)
164
- - Performance/BigDecimalWithNumericArgument (1.7)
165
- - Performance/RedundantSortBlock (1.7)
166
- - Performance/RedundantStringChars (1.7)
167
- - Performance/ReverseFirst (1.7)
168
- - Performance/SortReverse (1.7)
169
- - Performance/Squeeze (1.7)
170
- - Performance/StringInclude (1.7)
175
+ - Lint/DeprecatedOpenSSLConstant (0.84)
176
+ - Lint/MixedRegexpCaptureTypes (0.85)
177
+ - Style/AccessorGrouping (0.87)
178
+ - Style/BisectedAttrAccessor (0.87)
179
+ - Style/RedundantAssignment (0.87)
180
+ - Style/RedundantFetchBlock (0.86)
181
+ - Style/RedundantRegexpCharacterClass (0.85)
182
+ - Style/RedundantRegexpEscape (0.85)
183
+ - Performance/AncestorsInclude (1.7)
184
+ - Performance/BigDecimalWithNumericArgument (1.7)
185
+ - Performance/RedundantSortBlock (1.7)
186
+ - Performance/RedundantStringChars (1.7)
187
+ - Performance/ReverseFirst (1.7)
188
+ - Performance/SortReverse (1.7)
189
+ - Performance/Squeeze (1.7)
190
+ - Performance/StringInclude (1.7)
171
191
 
172
192
  ## 0.5.0 - 2020-07-07
173
193
 
data/rubocop-lint.yml CHANGED
@@ -75,3 +75,7 @@ Lint/SymbolConversion:
75
75
  # https://docs.rubocop.org/rubocop/cops_lint.html#linttriplequotes
76
76
  Lint/TripleQuotes:
77
77
  Enabled: true
78
+
79
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyinpattern
80
+ Lint/EmptyInPattern:
81
+ Enabled: true
@@ -59,3 +59,15 @@ Performance/ConstantRegexp:
59
59
  # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemethodobjectasblock
60
60
  Performance/MethodObjectAsBlock:
61
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
@@ -117,3 +117,11 @@ Rails/AttributeDefaultBlockValue:
117
117
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswhereequals
118
118
  Rails/WhereEquals:
119
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
data/rubocop-style.yml CHANGED
@@ -80,3 +80,19 @@ Style/HashExcept:
80
80
  # https://docs.rubocop.org/rubocop/cops_style.html#styleifwithbooleanliteralbranches
81
81
  Style/IfWithBooleanLiteralBranches:
82
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.5.0
4
+ version: 1.6.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: 2021-02-25 00:00:00.000000000 Z
11
+ date: 2021-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.9'
61
+ version: '2.10'
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.9'
68
+ version: '2.10'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -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.5.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.5.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.6.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.6.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,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.1.2
147
+ rubyforge_project:
148
+ rubygems_version: 2.7.6.2
148
149
  signing_key:
149
150
  specification_version: 4
150
151
  summary: Default Rubocop configuration used in NoSoloSoftware developments