rubocop-performance 1.17.0 → 1.17.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: 3bb37421ad9500c9f9a40c5b46c46712bddee83783481b54ae1d3382f87ab9e2
4
- data.tar.gz: 4219c118e704e6ef9b8221716354c734591a9fa8e914707d5271e309e38abb24
3
+ metadata.gz: ec17923dd3d4e2f5428145e038da7e2f3f71da16fcd474b3a64f052ddf252215
4
+ data.tar.gz: fff0473253906265a38c16a534049edb9673911a6947d3e30226b87bc20160e9
5
5
  SHA512:
6
- metadata.gz: ec972228315b462c622566b1265f177220cb9fe8390fd601a52556bbe34a05a934832d1fd7de3b2bfcc8b7b0529be33fa4f04a9ca050fedd9b3bdfcbf0d6032c
7
- data.tar.gz: f5f50079efd8bb81b25127c9d65453636e15dfc2724482cbb3bc3710baa390050f028d442e122fbb5efde790b6354764202c13b1d6752e88ae7369394e7846cb
6
+ metadata.gz: e259f4d06ff1fadaf0fb923d5324fbda387a693b146cfcbac2bd5c80b84a2086cfd4b692623e120f63bc912854ac49b360835e86d05510d2e9d01880c6c67d49
7
+ data.tar.gz: 4c8fc04f79ee8da81cb4ba3934ef66a080c8ab9186f5a228101ae2ed7a4212a0c616157801553582b9c9c1073a60cdb63621d1de233c9c34c1f2389d60aaf212
data/config/default.yml CHANGED
@@ -226,7 +226,7 @@ Performance/RedundantEqualityComparisonBlock:
226
226
  Reference: 'https://github.com/rails/rails/pull/41363'
227
227
  Enabled: pending
228
228
  Safe: false
229
- AllowRegexpMatch: false
229
+ AllowRegexpMatch: true
230
230
  VersionAdded: '1.10'
231
231
 
232
232
  Performance/RedundantMatch:
@@ -10,7 +10,7 @@ module RuboCop
10
10
  # behavior is appropriately overridden in subclass. For example,
11
11
  # `Range#===` returns `true` when argument is within the range.
12
12
  #
13
- # This cop has `AllowRegexpMatch` option and it is false by default because
13
+ # This cop has `AllowRegexpMatch` option and it is true by default because
14
14
  # `regexp.match?('string')` often used in block changes to the opposite result:
15
15
  #
16
16
  # [source,ruby]
@@ -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.17.0'
7
+ STRING = '1.17.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.17.0
4
+ version: 1.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov