decode 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/decode/language/ruby/module.rb +1 -1
- data/lib/decode/language/ruby/parser.rb +4 -4
- data/lib/decode/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7d6009f4ff23fb9cceecfe8d661848867bfd1528f31fa99a45aa52f7fb5d4f8
|
4
|
+
data.tar.gz: d9ddb59b516d3b8306ff6dc6dddbc1263c9761e1ae4a2cf187040442f6865299
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 592f7031ec864569dad6001f919e65990cea614278ad12f3479491df39a422b4c0a3f9f7dcc197b6c03d113fee8438e6606b1a624343ac0ae4ea76f36a43a792
|
7
|
+
data.tar.gz: 561e6b926e5b3ab9ef258b0fe915d4758f64514f1512a6f5f2b155327e601bf10022a819d7b307ffa4e31a8884d7635fdc5fd40606deb6f5c775835cd0b6f423
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -85,7 +85,7 @@ module Decode
|
|
85
85
|
end
|
86
86
|
when :module
|
87
87
|
definition = Module.new(
|
88
|
-
node, node.children[0]
|
88
|
+
node, nested_name_for(node.children[0]),
|
89
89
|
comments: extract_comments_for(node, comments),
|
90
90
|
parent: parent,
|
91
91
|
language: @language
|
@@ -98,7 +98,7 @@ module Decode
|
|
98
98
|
end
|
99
99
|
when :class
|
100
100
|
definition = Class.new(
|
101
|
-
node,
|
101
|
+
node, nested_name_for(node.children[0]),
|
102
102
|
comments: extract_comments_for(node, comments),
|
103
103
|
parent: parent, language: @language
|
104
104
|
)
|
@@ -211,9 +211,9 @@ module Decode
|
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
214
|
-
def
|
214
|
+
def nested_name_for(node)
|
215
215
|
if prefix = node.children[0]
|
216
|
-
"#{
|
216
|
+
"#{nested_name_for(prefix)}::#{node.children[1]}".to_sym
|
217
217
|
else
|
218
218
|
node.children[1]
|
219
219
|
end
|
data/lib/decode/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
37
37
|
HiLJ8VOFx6w=
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2021-
|
39
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: parser
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
|
-
rubygems_version: 3.
|
180
|
+
rubygems_version: 3.2.32
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Code analysis for documentation generation.
|
metadata.gz.sig
CHANGED
Binary file
|