decode 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/decode/language/ruby/code.rb +2 -2
- data/lib/decode/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d503df4edff393db446c6c310b6eea0ecbfe16cf10192a835b92a1685ca7c9bf
|
4
|
+
data.tar.gz: 57bc7884dd02e59b9564c1acbafc037a0dc73c458b8d986febecb5a81f4b250b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10ddb407f54f4091a3a0b876f6a971e9b5c83e68aab21d1255261306e5e15c4d74e063bb3da26e30cd20dfa24c46721d05966b25c5ed537a3e976f16cb8a9fca
|
7
|
+
data.tar.gz: fa41898224db150d5fd491f91d494878336edce0cceecb98a91e6187df6bd55dca9582149028bbefd58587796bbb3b2b629d710c4ef3408d005bd75e30dbf2d0
|
@@ -42,7 +42,7 @@ module Decode
|
|
42
42
|
|
43
43
|
def extract(into = [])
|
44
44
|
if @index
|
45
|
-
|
45
|
+
traverse(@root, into)
|
46
46
|
end
|
47
47
|
|
48
48
|
return into
|
@@ -62,7 +62,7 @@ module Decode
|
|
62
62
|
end
|
63
63
|
|
64
64
|
# Extract constants from arguments:
|
65
|
-
children = node.children[2
|
65
|
+
children = node.children[2..-1].each do |node|
|
66
66
|
traverse(node, into)
|
67
67
|
end
|
68
68
|
when :const
|
data/lib/decode/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email:
|
113
113
|
- samuel.williams@oriontransfer.co.nz
|
114
114
|
executables: []
|
@@ -161,7 +161,7 @@ homepage: https://github.com/ioquatix/decode
|
|
161
161
|
licenses:
|
162
162
|
- MIT
|
163
163
|
metadata: {}
|
164
|
-
post_install_message:
|
164
|
+
post_install_message:
|
165
165
|
rdoc_options: []
|
166
166
|
require_paths:
|
167
167
|
- lib
|
@@ -176,8 +176,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
180
|
-
signing_key:
|
179
|
+
rubygems_version: 3.0.3
|
180
|
+
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Code analysis for documentation generation.
|
183
183
|
test_files: []
|