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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4747d4148deec2021e930aac92abe205f8aeb8492c19e8a465d1e4282184d04
4
- data.tar.gz: 82b9caa126eee0699cae6f46b784fa3fdd8f619c4df0dc2b4c083e6ef5c328b3
3
+ metadata.gz: ec2211dd727b288dd518fc9615c9649341c490da33aff7083928149609c5a2b3
4
+ data.tar.gz: 0eb38f9c3a63ffffe879683824bf47c0d65d4a4b7dd85db08ea052ffa8920ed3
5
5
  SHA512:
6
- metadata.gz: bd64acd6e513565e8f607046bf9598bf0aadb166dc7bf17fab8633e0ed9722af8e4f984468d5f08eb398c7b4f4121537c01ad52e5c24b7226bef3bd8f2c0f6f7
7
- data.tar.gz: 017c74d0dadf085c59e0f479dc5359d8c8fb71427d3e217392c349e51219a99933a0ebdd6426ece0aaca2149ee5b6d39a279f1cae8c9e9c4ff75f17d99fe22cd
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.selector.line
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)
@@ -4,7 +4,7 @@ module RuboCop
4
4
  module Performance
5
5
  # This module holds the RuboCop Performance version information.
6
6
  module Version
7
- STRING = '1.14.0'
7
+ STRING = '1.14.1'
8
8
 
9
9
  def self.document_version
10
10
  STRING.match('\d+\.\d+').to_s
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.0
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-05-24 00:00:00.000000000 Z
13
+ date: 2022-06-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop