rubocop-performance 1.14.1 → 1.14.2

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: ec2211dd727b288dd518fc9615c9649341c490da33aff7083928149609c5a2b3
4
- data.tar.gz: 0eb38f9c3a63ffffe879683824bf47c0d65d4a4b7dd85db08ea052ffa8920ed3
3
+ metadata.gz: 0ee2574c244ab81c1e05e9eb8244ac9e912c2e0d5c66515992d6b18469edc4f4
4
+ data.tar.gz: e10cd6a0484f3be598c8f6b072b0e9f1b0fd26fbf69ffc5441ace5194d746956
5
5
  SHA512:
6
- metadata.gz: 3d1a73595be245d851801a19981d61524c5beb6239f3b4aab466a0bcc5b9b7156cb1814898ecc6acddec9c99c5ad13468b45cea7181a748295aca37185da5e27
7
- data.tar.gz: b589ca6d238dd794d6c19e122283ffdfd92f8dcb7c2ab317cf0c4af6ad664cd4c0185c96a7bb9f2c6844ae465e1070efffbc3a995dae4e49eaf7c2f0b5234ad1
6
+ metadata.gz: 872712b17371fa9b027b7641d1f7ab76c93f74929a0761ee6146acdaf7b3224feb79dd40680066060e56d9c7f8466115a446c2cdaf159347f0235019adae5124
7
+ data.tar.gz: 4d53b7e1a736af1a40b76e0f33f0ba628549e4de779376ad92e9356e2be5494d8fdd04eefc8efe274a255d11fe8e473816b5a7e4f09d2b7d2b6ff84c0eb6ba35
@@ -74,6 +74,9 @@ module RuboCop
74
74
  # end
75
75
  class RegexpMatch < Base
76
76
  extend AutoCorrector
77
+ extend TargetRubyVersion
78
+
79
+ minimum_target_ruby_version 2.4
77
80
 
78
81
  # Constants are included in this list because it is unlikely that
79
82
  # someone will store `nil` as a constant and then use it for comparison
@@ -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.1'
7
+ STRING = '1.14.2'
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.1
4
+ version: 1.14.2
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-06-04 00:00:00.000000000 Z
13
+ date: 2022-06-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop