rubocop-performance 1.14.0 → 1.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/cop/performance/map_compact.rb +1 -1
- data/lib/rubocop/performance/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec2211dd727b288dd518fc9615c9649341c490da33aff7083928149609c5a2b3
|
4
|
+
data.tar.gz: 0eb38f9c3a63ffffe879683824bf47c0d65d4a4b7dd85db08ea052ffa8920ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1a73595be245d851801a19981d61524c5beb6239f3b4aab466a0bcc5b9b7156cb1814898ecc6acddec9c99c5ad13468b45cea7181a748295aca37185da5e27
|
7
|
+
data.tar.gz: b589ca6d238dd794d6c19e122283ffdfd92f8dcb7c2ab317cf0c4af6ad664cd4c0185c96a7bb9f2c6844ae465e1070efffbc3a995dae4e49eaf7c2f0b5234ad1
|
@@ -83,7 +83,7 @@ module RuboCop
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def invoke_method_after_map_compact_on_same_line?(compact_node, chained_method)
|
86
|
-
compact_node.loc.selector.line == chained_method.loc.
|
86
|
+
compact_node.loc.selector.line == chained_method.loc.last_line
|
87
87
|
end
|
88
88
|
|
89
89
|
def compact_method_with_final_newline_range(compact_method_range)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-performance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bozhidar Batsov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-06-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|