rubocop-petal 1.1.1 → 1.1.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: 8569e249e175a6a16fbfd1b097654b83327dde914826987a0faaae4f418688c9
4
- data.tar.gz: 91eb5f11e7e5bfe69b9395f8d79674d5aeaa986cf69ac8d684ccbdd1c954b3a7
3
+ metadata.gz: 50feab9f7db5e7eb2bc4e1cf84a7f2273bd954f116be6901582e07d1e2c1150c
4
+ data.tar.gz: c4ce73b925d3811bf92a1779314a592701157b22daa4f0f7885e7d074dd1f1d5
5
5
  SHA512:
6
- metadata.gz: 2b7d7797b3774dc52bb4643ed871ed08e570b19298c32c733f0265d7bd257709ff425c632f9889078a4f3cd9b1f71a3cb6479cb5b26197915490640e5ed3b9b7
7
- data.tar.gz: 633e71440f3ba8513d388da6aed6c9a63986fdf262d990e4434054a0b56b836338cb6ddbd9fa075165dc04d6e4ee9cc041b944e7940bb8c1cf7d9c3395f04f66
6
+ metadata.gz: 5385ce76c50bcd195adcd658300e0a10ccb7e5c01e518ea15842530de709066e9016b411bf1c605e30760830c6b1ad210583834efafb1fea99b46bb72eef1876
7
+ data.tar.gz: 42b2ed6467edce4b0cdccf153d7258b2e69bf52d2cfcc0809f720d01d0865016cd5c0d0dfabff53af45d30d2c33bcd85aad6f7867418c10883cfff28474f94ea
@@ -29,8 +29,8 @@ module RuboCop
29
29
  PATTERN
30
30
 
31
31
  # @!method change_table?(node)
32
- def_node_search :change_table?, <<~PATTERN
33
- (send nil? :change_table ...)
32
+ def_node_matcher :change_table?, <<~PATTERN
33
+ (block (send nil? :change_table ...) ...)
34
34
  PATTERN
35
35
 
36
36
  def on_block(node)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Petal
5
- VERSION = '1.1.1'
5
+ VERSION = '1.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-petal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Francis Bastien
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-29 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop