homura-runtime 0.3.32 → 0.3.35

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: 77b30f48a7593c86bccd5146477670e76990c56068aa30f9328d0d6f37bd2247
4
- data.tar.gz: 8a55733ce8e296da51ec29d6d4ab132e437b958c96dbc3a48832f7651aa67df3
3
+ metadata.gz: 251d01f076d813370106ba1d656b3c8868e42f5f2d7f57c73eba14189f306b2d
4
+ data.tar.gz: c4fd12de375975cf4982c4555519822ef8d50d338ab749048578c8a80dc21d20
5
5
  SHA512:
6
- metadata.gz: e863281ccea5089d53fdd96d24721401388a84b67100fd11902f6cca6b641823623dab0f53e1739bbc0a46c179140d5eb4b2e4c899fc30f35d979cf45427ee27
7
- data.tar.gz: adbd995205e4a8ba0ad8c6210eb035e13865857ce94e37a327367e860afc1e79e7433172b732683dc7f01fa718cc929a209a787f6dadc1cb42872f085f6bf588
6
+ metadata.gz: eb23b4d7585f2f6333ec4073a933e5983129bc82466cb6b5622c5d3c12bb890832b4d034558d17af3b8804500204c974c0c30f8eb29fe281b980f3e2c40257de
7
+ data.tar.gz: 5962636b1fea4ee05160d9400c05f7e2d93f47e3a5cff260a3eab1de896c3fca3e50ccd733450c2b7e2b56f775a5ee6fb14c910bcf987cf9adc42d156aa2ac66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.35 (2026-06-25)
4
+
5
+ - Bootstrap the `Literal::Properties` namespace before loading
6
+ `literal/properties/schema` under Opal.
7
+
8
+ ## 0.3.34 (2026-06-25)
9
+
10
+ - Explicitly load Literal property support before reopening
11
+ `Literal::Properties`, so Opal builds keep the upstream `prop`,
12
+ `literal_properties`, and `__literal_extension__` methods.
13
+
14
+ ## 0.3.33 (2026-06-25)
15
+
16
+ - Re-include `Literal::Types` into `Literal::Properties` after the Opal
17
+ compatibility layer has loaded type helpers, without overriding Literal's
18
+ own `extended` hook.
19
+
3
20
  ## 0.3.32 (2026-06-25)
4
21
 
5
22
  - Only include `Literal::Properties::DocString` when it is already loaded,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HomuraRuntime
4
- VERSION = "0.3.32"
4
+ VERSION = "0.3.35"
5
5
  end
@@ -131,6 +131,13 @@ class Literal::Types::JSONDataType
131
131
  end
132
132
 
133
133
  require "literal/types"
134
+ require "literal/property"
135
+
136
+ module Literal::Properties
137
+ end
138
+
139
+ require "literal/properties/schema"
140
+ require "literal/properties"
134
141
 
135
142
  module Literal
136
143
  class OpalBuffer
@@ -172,12 +179,7 @@ module Literal
172
179
  end
173
180
 
174
181
  module Literal::Properties
175
- def self.extended(base)
176
- super
177
- base.extend(Literal::Types)
178
- base.include(DocString) if const_defined?(:DocString, false)
179
- base.include(base.__send__(:__literal_extension__))
180
- end
182
+ include Literal::Types
181
183
 
182
184
  private def __define_literal_methods__(new_property)
183
185
  extension = __literal_extension__
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homura-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.32
4
+ version: 0.3.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhiro Homma