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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e93383d44bf331fbbe47bf804d1f59331de0437d9adbe725ba9a9182510842ef
4
- data.tar.gz: 48e8dc949ea4ea603da59bfde63e42040b6fe3df448064fd0107fa2d8fd2d99a
3
+ metadata.gz: c7d6009f4ff23fb9cceecfe8d661848867bfd1528f31fa99a45aa52f7fb5d4f8
4
+ data.tar.gz: d9ddb59b516d3b8306ff6dc6dddbc1263c9761e1ae4a2cf187040442f6865299
5
5
  SHA512:
6
- metadata.gz: 9b74c5d5c31cc1f8b0bc0dbc3a9e00ab2d8862763d009acfbb7734ae330138d264ddd06cb6ae2efa23ce907d1f7af330ef5e43475e828bdfaca32c9cc87c87a7
7
- data.tar.gz: 3d1c155aa5cb886fe536d6e15ab04e3a955b59be026b223a8ae064ae175e635293f3dc12dd292eb0a15622f371d0c4687e3ef62534bba34fa8e092f616ae4b35
6
+ metadata.gz: 592f7031ec864569dad6001f919e65990cea614278ad12f3479491df39a422b4c0a3f9f7dcc197b6c03d113fee8438e6606b1a624343ac0ae4ea76f36a43a792
7
+ data.tar.gz: 561e6b926e5b3ab9ef258b0fe915d4758f64514f1512a6f5f2b155327e601bf10022a819d7b307ffa4e31a8884d7635fdc5fd40606deb6f5c775835cd0b6f423
checksums.yaml.gz.sig CHANGED
Binary file
@@ -51,4 +51,4 @@ module Decode
51
51
  end
52
52
  end
53
53
  end
54
- end
54
+ end
@@ -85,7 +85,7 @@ module Decode
85
85
  end
86
86
  when :module
87
87
  definition = Module.new(
88
- node, node.children[0].children[1],
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, class_name_for(node.children[0]),
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 class_name_for(node)
214
+ def nested_name_for(node)
215
215
  if prefix = node.children[0]
216
- "#{class_name_for(prefix)}::#{node.children[1]}"
216
+ "#{nested_name_for(prefix)}::#{node.children[1]}".to_sym
217
217
  else
218
218
  node.children[1]
219
219
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Decode
22
- VERSION = "0.17.1"
22
+ VERSION = "0.17.2"
23
23
  end
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.1
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-10-08 00:00:00.000000000 Z
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.1.6
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