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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51ba89aa7a3b6d351f5774bb6359d08acfa76ac6df9df9e8e51b7214c191a7ef
|
4
|
+
data.tar.gz: e9c92a5667baf31eb5697e10d46535442cce9d7ef9c61150d9dfa17b51c56546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
49
|
+
corrector.replace(method, method.source.sub(method.method_name.to_s, 'perform'))
|
50
50
|
end
|
51
51
|
end
|
52
52
|
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.
|
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
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|