betterlint 1.4.4 → 1.4.6

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: f4593fbc546bbd9209533140e27e091a053cc1f67ec04969e072ac45e17fa464
4
- data.tar.gz: ef4c94a897620bcd996897638071d303078e85240e131ba2db420d4cf5fe9468
3
+ metadata.gz: c12494f71424fb24e56444d7985d485ad86a44104b67c6dddfbac70a89c9b546
4
+ data.tar.gz: '0860feeeadf0dcae29ae7f4be7ad280959e2d83e38d93e05f05161abe245f3ec'
5
5
  SHA512:
6
- metadata.gz: 21718f87047478e6c405fa313b0ccb4efba91ce7a8c7c46b561323c75c67858cfd195a35399e0d592bb621c430aa2ccf443d9d26bc184866cb4c500016db8e0e
7
- data.tar.gz: 8300b98abc6b2933e0a5bad3d9aa6823391a0483506e81ea4afb6d944d50c040dd29d25c63bd379d5cdb87246d2fc1efecfe16c918d61da278afca9ca2004fd9
6
+ metadata.gz: 7ccdcf00bab98dfd738866bdca2450f03f3924c4a2069c6c760eb37a48af34b4452e938b9f1961aaf66440d2432cd0fde943d4bf93613c0c80545413f3be24fb
7
+ data.tar.gz: 0da496dc0a296d0efa5759f4c09348a525e681915267e3806c29bcb1f14b1260607a81c54e6a43bf96be45ac3a6c6feb628527f77545704093b059fe9ef7bbc3
data/config/default.yml CHANGED
@@ -76,6 +76,9 @@ Betterment/HardcodedID:
76
76
  AutoCorrect: false
77
77
  SafeAutoCorrect: false
78
78
 
79
+ FactoryBot/ConsistentParenthesesStyle:
80
+ Enabled: false
81
+
79
82
  Layout/ParameterAlignment:
80
83
  Enabled: false
81
84
 
@@ -219,7 +222,7 @@ RSpec/ExampleWording:
219
222
  RSpec/ExpectChange:
220
223
  EnforcedStyle: 'block'
221
224
 
222
- RSpec/FactoryBot/SyntaxMethods:
225
+ FactoryBot/SyntaxMethods:
223
226
  Enabled: false
224
227
 
225
228
  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?).map { |x|
62
+ node.descendants.select(&:return_type?).filter_map do |x|
63
63
  x&.children&.first
64
- }.compact
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
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Development
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-05-15 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.7'
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.7'
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.6'
125
+ version: '2.7'
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="