simplycop 1.8.0 → 1.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1826e5017b51de501d8edc54dd6100d4d561855cab74f820e3cc05cfc3e634f
|
4
|
+
data.tar.gz: c893eea27d6d1c111c6534e8eac64a14a152d460c14968fd86749a936efae52a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 127c38e256808577ec45d688b603b51ef65cb9e17c70e235b1475a7d302f6965f4a692cc28817c6c08755faa6d8a976a9abde92103faaf6376a857f9a855e055
|
7
|
+
data.tar.gz: a01b1754ebcb30bbaaa1393c084949f8846eccb787073c6b75e57d995ca4a2680854d95482e3e6feceb6ee13c6ae8cecbf7ebaeaad877f8ca455e44ca2db70b2
|
@@ -16,7 +16,8 @@ module CustomCops
|
|
16
16
|
PATTERN
|
17
17
|
|
18
18
|
def on_new_investigation
|
19
|
-
|
19
|
+
ast = processed_source.ast
|
20
|
+
@declared_method_names = ast ? method_names(processed_source.ast).to_a : []
|
20
21
|
end
|
21
22
|
|
22
23
|
def on_lvasgn(node)
|
data/lib/simplycop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplycop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|