rdot 1.1.1.1 → 1.1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rdot.rb +8 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7dd88758ea1036e04e95c708ebf277917182ac
|
4
|
+
data.tar.gz: f146982dac3906951c4f8ec43d824ee1c4604999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cb5cce75cc2f8b227096936a5e8eec77f5e30b5da8cc58ae941c18f24ca2a602cac955fd29d9f6b79352a5e59ed96dac624404ae1132b4d1c525986ae1bc8de
|
7
|
+
data.tar.gz: 611c2c9c799e73a1eebc030e6b2df40b9c23fc53c56696a7aec27de1349743c3da475433b50de91b591dc37b6bfb7f822b6440da6c1ae8b97a606166629ed84f
|
data/lib/rdot.rb
CHANGED
@@ -149,7 +149,7 @@ module RDot
|
|
149
149
|
"*#{nm}"
|
150
150
|
when :key
|
151
151
|
"#{nm}: <…>"
|
152
|
-
when :
|
152
|
+
when :keyreq
|
153
153
|
"#{nm}:"
|
154
154
|
when :keyrest
|
155
155
|
"**#{nm}"
|
@@ -192,6 +192,7 @@ module RDot
|
|
192
192
|
result[:constants] = {}
|
193
193
|
mod.constants(false).each do |c|
|
194
194
|
next if mod == Object && c == :Config
|
195
|
+
begin
|
195
196
|
if (auto = mod.autoload?(c))
|
196
197
|
result[:constants][c] = 'auto:' + get_file(auto)
|
197
198
|
elsif mod.const_defined? c
|
@@ -199,6 +200,9 @@ module RDot
|
|
199
200
|
else
|
200
201
|
result[:constants][c] = 'undefined'
|
201
202
|
end
|
203
|
+
rescue NameError
|
204
|
+
result[:constants][c] = 'invalid'
|
205
|
+
end
|
202
206
|
end
|
203
207
|
end
|
204
208
|
if ! opts[:hide_methods]
|
@@ -604,8 +608,9 @@ module RDot
|
|
604
608
|
# @private
|
605
609
|
def dot_module space, name, m, opts
|
606
610
|
if m == nil
|
607
|
-
$stderr.puts "Warning: nil module by name \"#{name}\"!"
|
608
|
-
return nil
|
611
|
+
# $stderr.puts "Warning: nil module by name \"#{name}\"!"
|
612
|
+
# return nil
|
613
|
+
m = get_module eval(name), no_scan: true
|
609
614
|
end
|
610
615
|
if @processed.include?(m[:module])
|
611
616
|
return nil
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.1.
|
4
|
+
version: 1.1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Shikhalev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: is-monkey
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.4'
|
27
27
|
description: GraphViz diagrams for Ruby classes.
|
@@ -38,7 +38,7 @@ files:
|
|
38
38
|
- README.md
|
39
39
|
- bin/rdot
|
40
40
|
- bin/rbdot
|
41
|
-
- .yardopts
|
41
|
+
- ".yardopts"
|
42
42
|
homepage: https://github.com/shikhalev/rdot
|
43
43
|
licenses:
|
44
44
|
- GNU GPL
|
@@ -49,17 +49,17 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.9.2
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.0.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: GraphViz diagrams for Ruby classes
|