armitage-rubocop 1.8.1 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d115bd853f8351f1635a08a301ccfc7834b340af7d345aedf5e04c714c9b1846
4
- data.tar.gz: 9cc526fdef9b598f3ae8d3491608ef2cd900c549f207394c3869477a25238d8f
3
+ metadata.gz: 8afbab1ecfa368603af11b10060d60e87d42477cd64b8e9401fdd6e440c23cbf
4
+ data.tar.gz: 55bc896c32fd888d69abf34d32fe9d257ddd61dbcb6a6de830c285d1c60acb71
5
5
  SHA512:
6
- metadata.gz: d94de8fa682d367a6ca45dd819ffc0379a9c71556b32256054c6628dbb64cf0f26b3fab1b7e001d2f40d4fe2a65e4cc4c147c15a53a2fe005dd141d489e423be
7
- data.tar.gz: fe6987953af5ebeca44ee9b0a0e1cbebdca4d991047af4615fa8451c1f5aae23d0e13f6cc547888a4202d24ba96361aa92de374c21c52fd18849521c532264c7
6
+ metadata.gz: 1c9abb332a11f23d27dc575295938f87b79c0d8830bd437376b36056942a76a4b68a794d017b8a0bd262a16877d95a788255ce2e4e7436591a7b469ed07dffc9
7
+ data.tar.gz: 632d104cf20aea5ea7e9c68a651506f1d013c4be36356086c6e3570e5fd1953b369df38f329cd4212e727ffe27204dff8a4ebe6784de03e2a99b287583c4a1e7
data/Gemfile.lock CHANGED
@@ -2,16 +2,16 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  armitage-rubocop (1.8.1)
5
- rubocop (= 1.8.1)
5
+ rubocop (= 1.10.0)
6
6
  rubocop-performance (= 1.9.2)
7
7
  rubocop-rails (= 2.9.1)
8
8
  rubocop-rake (= 0.5.1)
9
- rubocop-rspec (= 2.1.0)
9
+ rubocop-rspec (= 2.2.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (6.1.1)
14
+ activesupport (6.1.3)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 1.6, < 2)
17
17
  minitest (>= 5.1)
@@ -20,22 +20,22 @@ GEM
20
20
  ast (2.4.2)
21
21
  coderay (1.1.3)
22
22
  concurrent-ruby (1.1.8)
23
- i18n (1.8.7)
23
+ i18n (1.8.9)
24
24
  concurrent-ruby (~> 1.0)
25
25
  method_source (1.0.0)
26
- minitest (5.14.3)
26
+ minitest (5.14.4)
27
27
  parallel (1.20.1)
28
28
  parser (3.0.0.0)
29
29
  ast (~> 2.4.1)
30
- pry (0.13.1)
30
+ pry (0.14.0)
31
31
  coderay (~> 1.1)
32
32
  method_source (~> 1.0)
33
33
  rack (2.2.3)
34
34
  rainbow (3.0.0)
35
35
  rake (13.0.3)
36
- regexp_parser (2.0.3)
36
+ regexp_parser (2.1.1)
37
37
  rexml (3.2.4)
38
- rubocop (1.8.1)
38
+ rubocop (1.10.0)
39
39
  parallel (~> 1.10)
40
40
  parser (>= 3.0.0.0)
41
41
  rainbow (>= 2.2.2, < 4.0)
@@ -55,7 +55,7 @@ GEM
55
55
  rubocop (>= 0.90.0, < 2.0)
56
56
  rubocop-rake (0.5.1)
57
57
  rubocop
58
- rubocop-rspec (2.1.0)
58
+ rubocop-rspec (2.2.0)
59
59
  rubocop (~> 1.0)
60
60
  rubocop-ast (>= 1.1.0)
61
61
  ruby-progressbar (1.11.0)
@@ -71,7 +71,7 @@ PLATFORMS
71
71
  DEPENDENCIES
72
72
  armitage-rubocop!
73
73
  bundler (~> 2.2)
74
- pry (~> 0.13)
74
+ pry (~> 0.14)
75
75
  rake (~> 13.0)
76
76
 
77
77
  BUNDLED WITH
@@ -4,7 +4,7 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.version = '1.8.1'
7
+ spec.version = '1.10.0'
8
8
 
9
9
  spec.name = 'armitage-rubocop'
10
10
  spec.license = 'MIT'
@@ -22,13 +22,13 @@ Gem::Specification.new do |spec|
22
22
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
23
  end
24
24
 
25
- spec.add_dependency 'rubocop', '= 1.8.1'
25
+ spec.add_dependency 'rubocop', '= 1.10.0'
26
26
  spec.add_dependency 'rubocop-performance', '= 1.9.2'
27
27
  spec.add_dependency 'rubocop-rails', '= 2.9.1'
28
- spec.add_dependency 'rubocop-rspec', '= 2.1.0'
28
+ spec.add_dependency 'rubocop-rspec', '= 2.2.0'
29
29
  spec.add_dependency 'rubocop-rake', '= 0.5.1'
30
30
 
31
31
  spec.add_development_dependency 'bundler', '~> 2.2'
32
32
  spec.add_development_dependency 'rake', '~> 13.0'
33
- spec.add_development_dependency 'pry', '~> 0.13'
33
+ spec.add_development_dependency 'pry', '~> 0.14'
34
34
  end
@@ -1,3 +1,8 @@
1
+ Gemspec/DateAssignment:
2
+ Enabled: true
3
+ Include:
4
+ - '**/*.gemspec'
5
+
1
6
  Gemspec/DuplicatedAssignment:
2
7
  Enabled: true
3
8
 
data/lib/common/lint.yml CHANGED
@@ -175,6 +175,9 @@ Lint/LiteralAsCondition:
175
175
  Lint/LiteralInInterpolation:
176
176
  Enabled: true
177
177
 
178
+ Lint/SymbolConversion:
179
+ Enabled: true
180
+
178
181
  Lint/Loop:
179
182
  Enabled: true
180
183
  AutoCorrect: true
@@ -211,6 +214,12 @@ Lint/NonLocalExitFromIterator:
211
214
  Lint/NumberConversion:
212
215
  Enabled: false
213
216
 
217
+ Lint/NumberedParameterAssignment:
218
+ Enabled: true
219
+
220
+ Lint/OrAssignmentToConstant:
221
+ Enabled: true
222
+
214
223
  Lint/OrderedMagicComments:
215
224
  Enabled: true
216
225
 
@@ -315,6 +324,9 @@ Lint/TopLevelReturnWithArgument:
315
324
  Lint/TrailingCommaInAttributeDeclaration:
316
325
  Enabled: true
317
326
 
327
+ Lint/TripleQuotes:
328
+ Enabled: false
329
+
318
330
  Lint/UnexpectedBlockArity:
319
331
  Enabled: false
320
332
 
data/lib/common/style.yml CHANGED
@@ -191,6 +191,7 @@ Style/EndBlock:
191
191
 
192
192
  Style/EvalWithLocation:
193
193
  Enabled: true
194
+ AutoCorrect: true
194
195
 
195
196
  Style/EvenOdd:
196
197
  Enabled: true
@@ -221,6 +222,7 @@ Style/FormatStringToken:
221
222
  Enabled: true
222
223
  MaxUnannotatedPlaceholdersAllowed: 1
223
224
  EnforcedStyle: annotated
225
+ IgnoredMethods: []
224
226
 
225
227
  Style/FrozenStringLiteralComment:
226
228
  Enabled: true
@@ -242,6 +244,9 @@ Style/HashAsLastArrayItem:
242
244
  EnforcedStyle: braces
243
245
  AutoCorrect: true
244
246
 
247
+ Style/HashConversion:
248
+ Enabled: false
249
+
245
250
  Style/HashExcept:
246
251
  Enabled: true
247
252
 
@@ -267,6 +272,9 @@ Style/HashTransformValues:
267
272
  Style/IdenticalConditionalBranches:
268
273
  Enabled: true
269
274
 
275
+ Style/IfWithBooleanLiteralBranches:
276
+ Enabled: true
277
+
270
278
  Style/IfInsideElse:
271
279
  Enabled: true
272
280
  AllowIfModifier: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-02-27 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.8.1
19
+ version: 1.10.0
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.8.1
26
+ version: 1.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.1.0
61
+ version: 2.2.0
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.1.0
68
+ version: 2.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0.13'
117
+ version: '0.14'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0.13'
124
+ version: '0.14'
125
125
  description: 'A set of rubocop settings used in my own projects.Support for: vanilla
126
126
  ruby, rspec, rails.'
127
127
  email: