rubocop-bridgetown 0.6.0 → 0.6.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: 77d5770855e6106a4b722873f8e11e505997617642aa247f5e3629a9e55a66a5
4
- data.tar.gz: 006da9d177a2812008ddaf7f50cd39beb42d21b301f98e9da11452e1bd575685
3
+ metadata.gz: 5c0dbd4664a138c208d2bea8b33a5f3f2362009540f79301b0fc63784d45d5d9
4
+ data.tar.gz: f754139df4508d58f73035e8a11b65525e93493241ddccce14e062ee4d7c6788
5
5
  SHA512:
6
- metadata.gz: 9e9ce63f05136e486de72593361f48479e450ea3894608e2104b2f98d1092ee7c0927a8512034010d8f720ea07c735e0ada0eea7021767a6b254277144ac0656
7
- data.tar.gz: 690b96fa2e93606e1c9b3ea9a7a2d0d17e79046782397f5947595909df80e6d3a5e447659a3dd2464a9a67cd14e0a196ee0a44b82a89bada119f984ae87317fa
6
+ metadata.gz: 52ea29e95791bdb813778412d1cf29db42bf311d6005bd9c3095e7b4e76c6645b25acb78666320f24ee4584409db10ca4addc23c46cd45ff1827e5c8edd59faa
7
+ data.tar.gz: 4a9666b7846f7786b16877fb1cae131fc2797a3cdc77148b52df443b65f9891fe443c448063e965d0d243948cf2ebbe09b753907ac3d81d572fc91a4f40d64be
@@ -9,7 +9,7 @@ module RuboCop
9
9
  def_node_search :p_called?, "(send _ :p _)"
10
10
 
11
11
  def on_send(node)
12
- add_offense(node, location: :selector) if p_called?(node)
12
+ add_offense(node) if p_called?(node)
13
13
  end
14
14
  end
15
15
  end
@@ -9,7 +9,7 @@ module RuboCop
9
9
  def_node_search :puts_called?, "(send nil? :puts _)"
10
10
 
11
11
  def on_send(node)
12
- add_offense(node, location: :selector) if puts_called?(node)
12
+ add_offense(node) if puts_called?(node)
13
13
  end
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-bridgetown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team