rubocop-obsession 0.1.12 → 0.1.13

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: 799bc0f4a5060b91a26dc8b75b2ecf442e66c4956bcbe78f245e070cc26e2e94
4
- data.tar.gz: 1ed8f6958eb2953939825077bb251d86d1270634b042cca54a13eb90e740d1fd
3
+ metadata.gz: 51ba89aa7a3b6d351f5774bb6359d08acfa76ac6df9df9e8e51b7214c191a7ef
4
+ data.tar.gz: e9c92a5667baf31eb5697e10d46535442cce9d7ef9c61150d9dfa17b51c56546
5
5
  SHA512:
6
- metadata.gz: 5204e24cd86b37dceaa338cda3a78ef501498726c1da4e39fd7b146c51d90a588c17f07516e3ee32591a3a6d48be27c34610227d26605badf5b3b7ea20c9c928
7
- data.tar.gz: '09ab0bf1a0cf21e4d15176482e9e4f4dba6633ed9c507844f4de1c9f1a892914a2690c5bbd4598a214fe4226159820965b8f26dda8893dd28340c4079269d07d'
6
+ metadata.gz: 31b66c59e80525b63b1fe35aed0fd792f9786bd8be5a3ca6e675b41a3dbfc946850e0aaad1f57bb4f57c7d622b417c03578ba64488ba5d6b8a2581a908deafc6
7
+ data.tar.gz: e1987cdeb9cc62cea8ee8e87ba0ca4bfdb17175e345f5d1dec4b910954439dbc84de6788320921ce1e02aa4e1529b562af1f534e6d1c2a9a94b5d37df9cf8c7b
@@ -46,7 +46,7 @@ module RuboCop
46
46
 
47
47
  if method.method_name != :perform
48
48
  add_offense(method) do |corrector|
49
- corrector.replace(method, method.source.sub(/#{method.method_name}/, 'perform'))
49
+ corrector.replace(method, method.source.sub(method.method_name.to_s, 'perform'))
50
50
  end
51
51
  end
52
52
  end
@@ -1,5 +1,5 @@
1
1
  module Rubocop
2
2
  module Obsession
3
- VERSION = '0.1.12'
3
+ VERSION = '0.1.13'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-obsession
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Dalbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport