armitage-rubocop 0.24.0 → 0.25.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: d98d400b6134f7ae016507fd983a851a6675def7df09b6d8c5ce82c2cc7a1458
4
- data.tar.gz: 110404c3767378be360779203ea0db479627ac2cda4172b68a617c493f0a0b99
3
+ metadata.gz: d0bf9fa7a30766077438b5633f4fc5b0dd1c85437cf9d45b452c1406e68941d7
4
+ data.tar.gz: 300d10725e5a48f3128bb7582690befd0d6af01fd779c6a30af4c063b784b57d
5
5
  SHA512:
6
- metadata.gz: 0f9cae9449ad87003459a68551e1ad40b49ec4505f453192cbef23010e668cca774272ee8bdffe75dff6b1bb18835f8b9558aac89281b1010bda13a4f02aa8e6
7
- data.tar.gz: d284e8d156698fbf3bdd53dc14f901f5081f620ba75ec0922873933fca384925b5070e086e7d7f1d838b2fcdd8d18993fadd535a352859635f628c4e688ed884
6
+ metadata.gz: 231a52ae38b45cc2c148dee51c1c577289370770dc211dfbaf793f97799e080b45a9089eef64f279a4e7da2ea5127060eabc89e9dff2d89b0d7ca7cedb73ddc3
7
+ data.tar.gz: 6d97decb62aad2be61d187c42c168e0a8f1e580f88ae478d1c60987070f39378fce83faebcee98454768f5c3771e92a76f6e8cedb27c1a7bce2ce1375d0fbfcd
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'armitage-rubocop'
9
- spec.version = '0.24.0'
9
+ spec.version = '0.25.0'
10
10
  spec.license = 'MIT'
11
11
  spec.authors = ['Rustam Ibragimov']
12
12
  spec.email = ['iamdaiver@icloud.com']
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
22
  end
23
23
 
24
- spec.add_dependency 'rubocop', '= 0.66.0'
24
+ spec.add_dependency 'rubocop', '= 0.67.2'
25
25
  spec.add_dependency 'rubocop-rspec', '= 1.32.0'
26
26
 
27
27
  spec.add_development_dependency 'bundler'
@@ -219,6 +219,15 @@ Layout/MultilineOperationIndentation:
219
219
  EnforcedStyle: aligned
220
220
  IndentationWidth: ~
221
221
 
222
+ Layout/MultilineHashKeyLineBreaks:
223
+ Enabled: false
224
+
225
+ Layout/MultilineMethodArgumentLineBreaks:
226
+ Enabled: false
227
+
228
+ Layout/MultilineArrayLineBreaks:
229
+ Enabled: false
230
+
222
231
  Layout/RescueEnsureAlignment:
223
232
  Enabled: true
224
233
 
@@ -35,6 +35,10 @@ Naming/MethodName:
35
35
  Naming/PredicateName:
36
36
  Enabled: false
37
37
 
38
+ Naming/RescuedExceptionsVariableName:
39
+ Enabled: true
40
+ PreferredName: error
41
+
38
42
  Naming/UncommunicativeBlockParamName:
39
43
  Enabled: true
40
44
  MinNameLength: 1
@@ -40,9 +40,6 @@ Performance/FlatMap:
40
40
  Performance/InefficientHashSearch:
41
41
  Enabled: true
42
42
 
43
- Performance/LstripRstrip:
44
- Enabled: true
45
-
46
43
  Performance/OpenStruct:
47
44
  Enabled: true
48
45
 
@@ -59,18 +56,12 @@ Performance/RedundantMerge:
59
56
  Enabled: true
60
57
  MaxKeyValuePairs: 2
61
58
 
62
- Performance/RedundantSortBy:
63
- Enabled: true
64
-
65
59
  Performance/RegexpMatch:
66
60
  Enabled: true
67
61
 
68
62
  Performance/ReverseEach:
69
63
  Enabled: true
70
64
 
71
- Performance/Sample:
72
- Enabled: true
73
-
74
65
  Performance/Size:
75
66
  Enabled: true
76
67
 
@@ -88,8 +79,5 @@ Performance/TimesMap:
88
79
  Performance/UnfreezeString:
89
80
  Enabled: true
90
81
 
91
- Performance/UnneededSort:
92
- Enabled: true
93
-
94
82
  Performance/UriDefaultParser:
95
83
  Enabled: true
@@ -5,6 +5,11 @@ Rails/ActionFilter:
5
5
  Rails/ActiveRecordAliases:
6
6
  Enabled: true
7
7
 
8
+ Rails/ActiveRecordOverride:
9
+ Enabled: true
10
+ Include:
11
+ - app/models/**/*.rb
12
+
8
13
  Rails/ActiveSupportAliases:
9
14
  Enabled: true
10
15
 
@@ -107,6 +112,11 @@ Rails/Present:
107
112
  Rails/ReadWriteAttribute:
108
113
  Enabled: true
109
114
 
115
+ Rails/RedundantAllowNil:
116
+ Enabled: true
117
+ Include:
118
+ - app/models/**/*.rb
119
+
110
120
  Rails/RedundantReceiverInWithOptions:
111
121
  Enabled: true
112
122
 
@@ -385,6 +385,9 @@ Style/RedundantReturn:
385
385
  Style/RedundantSelf:
386
386
  Enabled: true
387
387
 
388
+ Style/RedundantSortBy:
389
+ Enabled: true
390
+
388
391
  Style/RegexpLiteral:
389
392
  Enabled: false
390
393
 
@@ -400,6 +403,9 @@ Style/ReturnNil:
400
403
  Style/SafeNavigation:
401
404
  Enabled: true
402
405
 
406
+ Style/Sample:
407
+ Enabled: true
408
+
403
409
  Style/SelfAssignment:
404
410
  Enabled: true
405
411
 
@@ -448,6 +454,9 @@ Style/StringLiteralsInInterpolation:
448
454
  Style/StringMethods:
449
455
  Enabled: false
450
456
 
457
+ Style/Strip:
458
+ Enabled: true
459
+
451
460
  Style/StructInheritance:
452
461
  Enabled: true
453
462
 
@@ -512,6 +521,9 @@ Style/UnneededInterpolation:
512
521
  Style/UnneededPercentQ:
513
522
  Enabled: true
514
523
 
524
+ Style/UnneededSort:
525
+ Enabled: true
526
+
515
527
  Style/UnpackFirst:
516
528
  Enabled: true
517
529
 
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.24.0
4
+ version: 0.25.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: 2019-03-20 00:00:00.000000000 Z
11
+ date: 2019-04-08 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.66.0
19
+ version: 0.67.2
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.66.0
26
+ version: 0.67.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement