armitage-rubocop 0.82.0.2 → 0.83.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: d4b2be69a4b5346c363d8012a6346a71bcba42fffeed0d690fa59a0ebe4e607f
4
- data.tar.gz: 27344328c3a216ca6542dcbcc6d4ed8b31b3b41622e4f88dec61605766f7215b
3
+ metadata.gz: '079a5cd3b52832506fb37b97fe3f548e8d5e993502c30936d06e9c9c9d50cb8b'
4
+ data.tar.gz: 27377dcf4675b9b611ef0834c284843d946e5d260595b381fe79c0a98fad193d
5
5
  SHA512:
6
- metadata.gz: fa6777ec47fa937285cdd5aff37ab510df136da1afda3d6235804b8e180cb94d4ea63a2ac9e25ce90b6ee5364a605ca275726f1a59a12eb6706f3e785e68bcbf
7
- data.tar.gz: 8b9822eb1b66832220a92e43c3a230d36f15d0de117eb3fad6a7dca47a7e35a2ed754f1d98692312a7f9fe521f1517ff214e58838bcb61d1e57908c5263ffa40
6
+ metadata.gz: 966d1e9845d6065260ab3e6f425a8b38b12f57104b10ce71bd661eb3857bd51e57b815850903f9f27a68b2f873130b341b126cbb9beda4622f78b42bcc672fce
7
+ data.tar.gz: 13ac3c3269bd87875f11f7cf97b0fb356ddaa6c30a79e87506f056abcbb8719a303345112c12e64567b3ebe393a13a0dddd338725ca31ece093faa898d2a07d7
@@ -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 = '0.82.0.2'
7
+ spec.version = '0.83.0'
8
8
 
9
9
  spec.name = 'armitage-rubocop'
10
10
  spec.license = 'MIT'
@@ -22,7 +22,7 @@ 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', '= 0.82.0'
25
+ spec.add_dependency 'rubocop', '= 0.83.0'
26
26
  spec.add_dependency 'rubocop-performance', '= 1.5.2'
27
27
  spec.add_dependency 'rubocop-rails', '= 2.5.2'
28
28
  spec.add_dependency 'rubocop-rspec', '= 1.39.0'
@@ -64,6 +64,7 @@ Layout/CommentIndentation:
64
64
 
65
65
  Layout/ConditionPosition:
66
66
  Enabled: true
67
+ AutoCorrect: true
67
68
 
68
69
  Layout/DefEndAlignment:
69
70
  Enabled: true
@@ -89,6 +90,10 @@ Layout/EmptyLineAfterGuardClause:
89
90
  Layout/EmptyLineAfterMagicComment:
90
91
  Enabled: true
91
92
 
93
+ # NOTE: coming soon
94
+ # Layout/EmptyLineAroundAttributeAccessor:
95
+ # Enabled: true
96
+
92
97
  Layout/EmptyLineBetweenDefs:
93
98
  Enabled: true
94
99
  NumberOfEmptyLines: 1
@@ -53,9 +53,11 @@ Lint/EmptyInterpolation:
53
53
 
54
54
  Lint/EmptyWhen:
55
55
  Enabled: false
56
+ AllowComments: true
56
57
 
57
58
  Lint/EnsureReturn:
58
59
  Enabled: true
60
+ AutoCorrect: false
59
61
 
60
62
  Lint/ErbNewArguments:
61
63
  Enabled: true
@@ -131,10 +133,9 @@ Lint/NumberConversion:
131
133
  Lint/OrderedMagicComments:
132
134
  Enabled: true
133
135
 
134
- # WARNING!!!
135
136
  Lint/ParenthesesAsGroupedExpression:
136
- Enabled: false
137
- # WARNING!!!
137
+ Enabled: true
138
+ AutoCorrect: true
138
139
 
139
140
  Lint/PercentStringArray:
140
141
  Enabled: true
@@ -243,6 +244,12 @@ Lint/UriRegexp:
243
244
 
244
245
  Lint/UselessAccessModifier:
245
246
  Enabled: true
247
+ ContextCreatingMethods: []
248
+ MethodCreatingMethods:
249
+ - delegate
250
+ - def_delegator
251
+ - def_delegators
252
+ AutoCorrect: true
246
253
 
247
254
  Lint/UselessAssignment:
248
255
  Enabled: true
@@ -212,6 +212,7 @@ Style/IfUnlessModifierOfIfUnless:
212
212
 
213
213
  Style/IfWithSemicolon:
214
214
  Enabled: true
215
+ AutoCorrect: true
215
216
 
216
217
  Style/ImplicitRuntimeError:
217
218
  Enabled: false
@@ -457,6 +458,9 @@ Style/SingleLineMethods:
457
458
  Exclude:
458
459
  - spec/**/*
459
460
 
461
+ Style/SlicingWithRange:
462
+ Enabled: true
463
+
460
464
  Style/SpecialGlobalVars:
461
465
  Enabled: true
462
466
 
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: 0.82.0.2
4
+ version: 0.83.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: 2020-05-01 00:00:00.000000000 Z
11
+ date: 2020-05-16 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.82.0
19
+ version: 0.83.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: 0.82.0
26
+ version: 0.83.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement