moxml 0.6.9 → 0.6.10

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: cc0dda0f9bbdf4fb0a15c838dfc7473b449e748b89a06297251b8eca26fc1b00
4
- data.tar.gz: 7ed72ebaab1c2314a15bde5fcc28c1faa972505d18ad2377aaddaf6d6ba3e7a4
3
+ metadata.gz: 7d6229888c0abf6f82607e066cf95ff310ba7903d4bfe9c2ca01662d22ae46e7
4
+ data.tar.gz: 53e145e8b0e5d53394ea49c010bb03cbb1e1a67a62833e4d5d9ca30ca98e4d08
5
5
  SHA512:
6
- metadata.gz: 60fb29b4a82b964bc1021ab7eeb1f632ab36535ad59f1b546bc6562d46b41fd6e1ef1a92906ff1010bc0f3520fd2aa871a503f7b327e64d8c2852c9611504a48
7
- data.tar.gz: c388f5f4f58a8e357c736d4cb23afe08b241c007207e70e13f3589baa10341eed4d2da77e6d46e54ccd81da2ded30aa3fd5d935f0d8464b6f6d3b4c334fff3ca
6
+ metadata.gz: c78bc43513a63cdcf9950a92c395b73388217d764e9d392dea3a5d2eae496b7610aa61ac735c6241422a112ef06789dab99daaa821e0e127333f87fcf1917f60
7
+ data.tar.gz: c30e7d9a45af977fa95239fd382d20499d0fe0f19c8034d87cd6f6084b34c656cc96bf6a42059935332891134a65bd65fc3e5a1169666f402c9e584226848b9d
@@ -107,6 +107,21 @@ module Moxml
107
107
  end
108
108
  end
109
109
 
110
+ # The consumer-contract lane's attribute object
111
+ # (leptris-ruby#635): the shape the bound C factory constructs -
112
+ # (name, value, owner). Covers the walk+read contract
113
+ # (.name/.value); full attribute-node faces stay on the contract
114
+ # classes.
115
+ class LaneAttribute
116
+ attr_reader :name, :value, :owner
117
+
118
+ def initialize(name, value, owner = nil)
119
+ @name = name
120
+ @value = value
121
+ @owner = owner
122
+ end
123
+ end
124
+
110
125
  if Gem::Version.new(::Leptris::VERSION.to_s) <
111
126
  Gem::Version.new(MINIMUM_BINDING_VERSION)
112
127
  raise Moxml::AdapterError.new(
@@ -2136,6 +2151,18 @@ module Moxml
2136
2151
  ::Leptris::XML::Native.define_hot_readers(hot_tx)
2137
2152
  hot_tx.remove_method(:attribute)
2138
2153
  hot_tx.remove_method(:name)
2154
+ # The consumer-contract binding (leptris-ruby#635): the
2155
+ # descent's shapes constructed in C - children serving
2156
+ # the #530 memo'd list wrapped by the NodeSet factory,
2157
+ # attribute serving the decode getter wrapped by the
2158
+ # attribute factory. Bound on the hot element class
2159
+ # only (the contract kinds keep the Ruby-mediated set).
2160
+ if ::Leptris::XML::Native.respond_to?(:bind_consumer_contract)
2161
+ ::Leptris::XML::Native.bind_consumer_contract(
2162
+ hot_el, Moxml::NodeSet,
2163
+ Moxml::Adapter::Leptris::LaneAttribute
2164
+ )
2165
+ end
2139
2166
  hot_set = [hot_el, hot_tx, Identity::COMMENT,
2140
2167
  Identity::CDATA,
2141
2168
  Identity::PROCESSING_INSTRUCTION].freeze
data/lib/moxml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Moxml
4
- VERSION = "0.6.9"
4
+ VERSION = "0.6.10"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-13 00:00:00.000000000 Z
11
+ date: 2026-11-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Moxml is a unified XML manipulation library that provides a common API