armitage-rubocop 0.16.0 → 0.17.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: 1282184c4d64596f5d01e92235147263f947662e3fe66becb7f85710b4a276f8
4
- data.tar.gz: b0cb0fcf69de5e4b2779f6240c2d040dd6a1d054bd051445e7f5f7dad32cd868
3
+ metadata.gz: 9a32fdc90a66665b555384b1e1eca2abed714b980cdea74b16d236e09f23ecb1
4
+ data.tar.gz: 38a447f785884391ecaddde7ed86808fae96d6d553779f815ff5a9eb85af57de
5
5
  SHA512:
6
- metadata.gz: 34139e8a8e9f42534ea7b0ce642b76751d230ef86109a87fcfd749a55518ed1221496d278e892b12ad5f883025c3c18eca797542c1c170989242dd865b9ce977
7
- data.tar.gz: 3cd681f269b069d468e76967966667f23ed6024a76d52894c7c9d744b5cfa05ee0f2a741d20a62b07ca60a3b74c9050d9b20e723f8fd3a65dac817e62e2a6ae2
6
+ metadata.gz: 6149a675bd1dadb1bd53714af4b0cb5865654da6bb323e849ef75596f3f6ec4ba025c5b7fe77e10eb04930314e64ecc4f2018df3bd57446964aab9681b11e9be
7
+ data.tar.gz: 994fed7996fb09363801978a2ad707f95903b2609e7899747626d4f746cb910fa8ab5200e62cb14d025b4387705a62b84abbc7deaf647307724244089053e0bd
@@ -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.16.0'
9
+ spec.version = '0.17.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.62.0'
24
+ spec.add_dependency 'rubocop', '= 0.63.0'
25
25
  spec.add_dependency 'rubocop-rspec', '= 1.31.0'
26
26
 
27
27
  spec.add_development_dependency 'bundler'
data/lib/general/lint.yml CHANGED
@@ -63,6 +63,9 @@ Lint/EnsureReturn:
63
63
  Lint/ErbNewArguments:
64
64
  Enabled: true
65
65
 
66
+ Lint/FlipFlop:
67
+ Enabled: true
68
+
66
69
  Lint/FloatOutOfRange:
67
70
  Enabled: true
68
71
 
@@ -17,6 +17,9 @@ Rails/ApplicationRecord:
17
17
  Rails/AssertNot:
18
18
  Enabled: true
19
19
 
20
+ Rails/BelongsTo:
21
+ Enabled: true
22
+
20
23
  Rails/Blank:
21
24
  Enabled: false
22
25
 
@@ -71,6 +74,9 @@ Rails/HttpPositionalArguments:
71
74
  Rails/HttpStatus:
72
75
  Enabled: false
73
76
 
77
+ Rails/IgnoredSkipActionFilterOption:
78
+ Enabled: true
79
+
74
80
  Rails/InverseOf:
75
81
  Enabled: true
76
82
 
@@ -144,9 +144,6 @@ Style/EvenOdd:
144
144
  Style/ExpandPathArguments:
145
145
  Enabled: true
146
146
 
147
- Style/FlipFlop:
148
- Enabled: true
149
-
150
147
  Style/For:
151
148
  Enabled: true
152
149
  EnforcedStyle: each
@@ -536,6 +533,7 @@ Style/WordArray:
536
533
 
537
534
  Style/YodaCondition:
538
535
  Enabled: false
536
+ EnforcedStyle: forbid_for_all_comparison_operators
539
537
 
540
538
  Style/ZeroLengthPredicate:
541
539
  Enabled: 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: 0.16.0
4
+ version: 0.17.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-01-02 00:00:00.000000000 Z
11
+ date: 2019-01-18 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.62.0
19
+ version: 0.63.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.62.0
26
+ version: 0.63.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement