decode 0.23.2 → 0.23.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41e2b61aff62ef79693166e78bd62423da119685e8659094c55414bd2a03d20d
4
- data.tar.gz: 1b3397ebddab6614c3c4758e617dfe023a755e6c0b521e9c4e0b844299e45fa9
3
+ metadata.gz: 624c9e07afc43e3c54cbf3e8bb7108c092082e96a43bbcca0f815bce273070ec
4
+ data.tar.gz: 9c9a1d112155a53d17b570369a2bc9b1005e826e7891998ee6e2957283385f7d
5
5
  SHA512:
6
- metadata.gz: 495739ab3daed57e82bc96273ab2c93456120300e2db3377d378373c3e251ba2417e5a14cc25c943e62675783fb69d0ece41eae149034c1feaea2eecf205c675
7
- data.tar.gz: 0c56ee5638dcd61572c2fd45f52fd5194e6e2bb7c5649552a093f99e8f5179cd9164090518288c97b57509dfc03b7ba188471dba67363f762c1c8ed85b6f132f
6
+ metadata.gz: a9a85bd2c447f56b9ef17a9dae369d044f6807682d30152902005a4a2132141597859036a2e6eecda18fc7582666bf6a389d90230f1b7d41a9c8a529193fbf60
7
+ data.tar.gz: e4775c9c24aa0eaa4c6ec0d6da3bc6866395645703a5e810ee61d87b61db88f159bde44859833eb63aa5fedb9dd947d3c20b5264810f3a95c531d04f837e7440
checksums.yaml.gz.sig CHANGED
Binary file
@@ -54,7 +54,7 @@ module Decode
54
54
  class Singleton < Definition
55
55
  # Generate a nested name for the singleton class.
56
56
  def nested_name
57
- "::class"
57
+ "class"
58
58
  end
59
59
 
60
60
  # A singleton class is a container for other definitions.
@@ -113,7 +113,11 @@ module Decode
113
113
  if name = singleton_name_for(node)
114
114
  definition = Singleton.new(name,
115
115
  comments: comments_for(node),
116
- parent: parent, language: @language, visibility: :public, source: source
116
+ parent: parent,
117
+ node: node,
118
+ language: @language,
119
+ visibility: :public,
120
+ source: source
117
121
  )
118
122
 
119
123
  yield definition
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2020-2024, by Samuel Williams.
5
5
 
6
6
  module Decode
7
- VERSION = "0.23.2"
7
+ VERSION = "0.23.3"
8
8
  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.23.2
4
+ version: 0.23.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file