betterlint 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +3 -1
- data/lib/rubocop/cop/betterment/utils/parser.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc2eb553c04aeb5d999ed82b5fe98a4758a5759ec88bb7c57063c57fde5396e5
|
4
|
+
data.tar.gz: b0279579beb709a42d671b1ee6fb41e63d64af140848c97d020945ac5dc9b8fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8104f08c53606e54bd3c52bc751c4ad5fa26868053fde61b82448210747421f30a02797daeec704b73944a59f206424a47847cb920c2a9c0fed94aeb5013571c
|
7
|
+
data.tar.gz: 4010375c1230443402336a289c0a2aefe375d2e7d745e2f38ed46c100c70b824b5c502e1beafe885ac811ee71562c7d78a77a8405d74a41dad1a20fca08eee8d
|
data/config/default.yml
CHANGED
@@ -20,6 +20,8 @@ AllCops:
|
|
20
20
|
DisplayStyleGuide: true
|
21
21
|
DisplayCopNames: true
|
22
22
|
NewCops: enable
|
23
|
+
SuggestExtensions:
|
24
|
+
rubocop-capybara: false
|
23
25
|
|
24
26
|
Betterment:
|
25
27
|
StyleGuideBaseURL: https://github.com/Betterment/betterlint
|
@@ -217,7 +219,7 @@ RSpec/ExampleWording:
|
|
217
219
|
RSpec/ExpectChange:
|
218
220
|
EnforcedStyle: 'block'
|
219
221
|
|
220
|
-
|
222
|
+
FactoryBot/SyntaxMethods:
|
221
223
|
Enabled: false
|
222
224
|
|
223
225
|
RSpec/FilePath:
|
@@ -59,9 +59,9 @@ module RuboCop
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def self.explicit_returns(node)
|
62
|
-
node.descendants.select(&:return_type?).
|
62
|
+
node.descendants.select(&:return_type?).filter_map do |x|
|
63
63
|
x&.children&.first
|
64
|
-
|
64
|
+
end
|
65
65
|
end
|
66
66
|
|
67
67
|
def self.params_from_arguments(arguments) # rubocop:disable Metrics/PerceivedComplexity
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: betterlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Development
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
75
|
+
version: '2.22'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2.
|
82
|
+
version: '2.22'
|
83
83
|
description: Betterment rubocop configuration
|
84
84
|
email:
|
85
85
|
- development@betterment.com
|
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
122
|
requirements:
|
123
123
|
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '2.
|
125
|
+
version: '2.7'
|
126
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - ">="
|