betterlint 1.4.4 → 1.4.5

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: fc2eb553c04aeb5d999ed82b5fe98a4758a5759ec88bb7c57063c57fde5396e5
4
+ data.tar.gz: b0279579beb709a42d671b1ee6fb41e63d64af140848c97d020945ac5dc9b8fd
5
5
  SHA512:
6
- metadata.gz: 21718f87047478e6c405fa313b0ccb4efba91ce7a8c7c46b561323c75c67858cfd195a35399e0d592bb621c430aa2ccf443d9d26bc184866cb4c500016db8e0e
7
- data.tar.gz: 8300b98abc6b2933e0a5bad3d9aa6823391a0483506e81ea4afb6d944d50c040dd29d25c63bd379d5cdb87246d2fc1efecfe16c918d61da278afca9ca2004fd9
6
+ metadata.gz: 8104f08c53606e54bd3c52bc751c4ad5fa26868053fde61b82448210747421f30a02797daeec704b73944a59f206424a47847cb920c2a9c0fed94aeb5013571c
7
+ data.tar.gz: 4010375c1230443402336a289c0a2aefe375d2e7d745e2f38ed46c100c70b824b5c502e1beafe885ac811ee71562c7d78a77a8405d74a41dad1a20fca08eee8d
data/config/default.yml CHANGED
@@ -219,7 +219,7 @@ RSpec/ExampleWording:
219
219
  RSpec/ExpectChange:
220
220
  EnforcedStyle: 'block'
221
221
 
222
- RSpec/FactoryBot/SyntaxMethods:
222
+ FactoryBot/SyntaxMethods:
223
223
  Enabled: false
224
224
 
225
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?).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,7 +1,7 @@
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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Development
@@ -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,14 +122,14 @@ 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
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubygems_version: 3.2.32
132
+ rubygems_version: 3.3.7
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Betterment rubocop configuration