fukuzatsu 1.0.5 → 1.0.6

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
  SHA1:
3
- metadata.gz: 8428f57be028d8631c44a4918b3b45e5a975f723
4
- data.tar.gz: fec178eca577f552ad69e8706f4767a21283a551
3
+ metadata.gz: 60581ee307ba16c4cbc28ce085523b9eb8b2ab04
4
+ data.tar.gz: 29a01ba5038f7470b3041dee614fc41ae0427fc8
5
5
  SHA512:
6
- metadata.gz: 0538641fea2e818d9d696318e0f78410acbbe6429448d8254d53fddd236a9530ab41f13f4309268e23c8c41b53621356cdd04e4a5c131303ad9932bec4ef0a7e
7
- data.tar.gz: 461e0e1ee4e169e86f9c314ef1d0985e8c7dc7f0922d810628cd8500603f0aa6c23f738612e1b0d4b60c7e07c702af4808b5f314bf7e7735a041fc07724a0188
6
+ metadata.gz: 67cd3b33423fe20e3d76970ff0b6e94fb366f39d190b0f9e4d6624e967102591cc9ca89dfff9ea7df2f3dc71ece3a9ef835c5c2bc939bc099c9cffe7e75d6fc7
7
+ data.tar.gz: b9d7dca96fba0c396c547043796f6778a7da9f5fb182caf8d57bce1d9d29cc7e41812aa9918b8ed0c4c0f9c7da780f01a7ca98df922d2a2a33e438546784bfcf
@@ -32,6 +32,10 @@ class Analyzer
32
32
  @constants ||= constants_from(parsed)
33
33
  end
34
34
 
35
+ def method_names
36
+ @method_names ||= method_names_from(parsed)
37
+ end
38
+
35
39
  def extract_methods
36
40
  @methods ||= methods_from(parsed)
37
41
  end
@@ -45,7 +49,7 @@ class Analyzer
45
49
  private
46
50
 
47
51
  def method_list
48
- @method_list ||= method_names_from(parsed.children.first)
52
+ @method_list ||= method_names
49
53
  end
50
54
 
51
55
  def method_names_from(node, found=[])
@@ -1,3 +1,3 @@
1
1
  module Fukuzatsu
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fukuzatsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bantik