armitage-rubocop 0.22.0 → 0.23.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: dd9300ceaa6c9f251beaa600e7e95cc96434b9804ea60a56ba96711ac62f33cc
4
- data.tar.gz: f9a338b588fe293893e260c8a5965b4ae5c9c14c353407124b2ff6fae20e9f09
3
+ metadata.gz: 0d248f194fb56d50f6284163084f9bde2247c60ff3e23f1f3d22937af2d8296a
4
+ data.tar.gz: b031c356a600ce3d0629a8d4897dbc6a5f5a843f0d59fb330b9ddbf2fcb34936
5
5
  SHA512:
6
- metadata.gz: d9abcdffb090f538fc246a0143f36d97f89d406dd41ddf116da3bce4b0ca025a5d9afaa7a402de6e27266a248f45b661220c9686a6aba71b9b9fdbe4eda4afc2
7
- data.tar.gz: 580adea04b8a32f66ba5f4705a3f9110d568d0505267ead30e17068df8dbcff7e2415bc8780964e5aeb88ba70d2cf12e849754b75b1ab1ca2225b6103f03e33d
6
+ metadata.gz: b9fa9badb80246f6545e671b7c20ee84dbd2f6f5c799fa920d3f46d0bcf248fba9a382406fee3ece9af0531c6a833bda064ec3f531877661cf644051b2463f8e
7
+ data.tar.gz: c04af4b9a479125385165a2ab72b3ef4d33d9903f9b5fcbcb4804c38fa01246f23d0a234a52fd4bbb6c2260b7865ebeb8f8f27591ff1fbdafd77099aa5b9ac40
@@ -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.22.0'
9
+ spec.version = '0.23.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.65.0'
24
+ spec.add_dependency 'rubocop', '= 0.66.0'
25
25
  spec.add_dependency 'rubocop-rspec', '= 1.32.0'
26
26
 
27
27
  spec.add_development_dependency 'bundler'
@@ -132,6 +132,7 @@ Layout/ExtraSpacing:
132
132
  Enabled: true
133
133
  AllowForAlignment: true
134
134
  ForceEqualSignAlignment: false
135
+ AllowBeforeTrailingComments: false
135
136
 
136
137
  Layout/FirstArrayElementLineBreak:
137
138
  Enabled: false
data/lib/general/lint.yml CHANGED
@@ -162,6 +162,9 @@ Lint/SafeNavigationChain:
162
162
  Lint/SafeNavigationConsistency:
163
163
  Enabled: true
164
164
 
165
+ Lint/SafeNavigationWithEmpty:
166
+ Enabled: true
167
+
165
168
  Lint/ScriptPermission:
166
169
  Enabled: true
167
170
 
@@ -181,6 +184,9 @@ Lint/StringConversionInInterpolation:
181
184
  Lint/Syntax:
182
185
  Enabled: true
183
186
 
187
+ Lint/ToJSON:
188
+ Enabled: true
189
+
184
190
  Lint/UnderscorePrefixedVariableName:
185
191
  Enabled: false
186
192
 
@@ -36,6 +36,7 @@ Style/BlockComments:
36
36
  Style/BlockDelimiters:
37
37
  Enabled: true
38
38
  EnforcedStyle: line_count_based
39
+ AllowBracesOnProceduralOneLiners: false
39
40
 
40
41
  Style/BracesAroundHashParameters:
41
42
  Enabled: true
@@ -81,6 +82,9 @@ Style/CommentedKeyword:
81
82
  Style/ConditionalAssignment:
82
83
  Enabled: false
83
84
 
85
+ Style/ConstantVisibility:
86
+ Enabled: false
87
+
84
88
  Style/Copyright:
85
89
  Enabled: false
86
90
 
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.22.0
4
+ version: 0.23.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-14 00:00:00.000000000 Z
11
+ date: 2019-03-20 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.65.0
19
+ version: 0.66.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.65.0
26
+ version: 0.66.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement