leptris 1.9.255.0-arm-linux → 1.9.255.1-arm-linux

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: d10767a0522beef904bc1bbba3306c628f18f068d1c835139973276c0a629418
4
- data.tar.gz: a80cd8b616adebb60c45c0e952f5ba5e6b9aa184b571236d6e4a1e5a8aa88f38
3
+ metadata.gz: 7b4e0a9650a8476f55d7168393310d84a0f0bc5c4bc68afbcb8da52eb4461b88
4
+ data.tar.gz: faeaa46310e9c4034055c61971d3129a0beb92e0aed1dfb3fdb316e40c5a9b83
5
5
  SHA512:
6
- metadata.gz: 5f4f8da6fe9f9b7109f0323be601847f618b4bf62c0a2a6ba1aa1f564eaf4b70af80c4346eff0e49c297b00da1edab83e185399d104eb23652ee417ed7758786
7
- data.tar.gz: fb415b1885e3c1ce6d7a4ea5113132899f8858d36a4042886f358b627f257f88ab15d70456c412ce0f7ccb541dce08dc4490fd5e7a4960c550f666478842cd71
6
+ metadata.gz: 6b96a662e7a06ecb95d7a5545a7c69d91c071738362837a061017ccccf1fd11e56b05594e2a42b15fb1fe6e1c9e10bc5fc34cc3d668dc35c1d580d2694c0bdca
7
+ data.tar.gz: f8ff48b9d740b085b7945cf5a0a9a2a2ccd9582589a8331e86b7f56d9a4226ce014a642bdb4b1141770b51fa00e92036496dd19d19230b7573e84478778265c0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Leptris
4
- VERSION = "1.9.255.0"
4
+ VERSION = "1.9.255.1"
5
5
  end
@@ -31,33 +31,33 @@ class Leptris::XML::PlanValue
31
31
  end
32
32
 
33
33
  def kind
34
- inc_crossing
34
+ @counter[0] += 1
35
35
  VALUE_KINDS.fetch(Leptris::XML::FFI.leptris_plan_value_kind(@ptr))
36
36
  end
37
37
 
38
38
  # wire_name of the plan row that produced this value.
39
39
  def name
40
- inc_crossing
40
+ @counter[0] += 1
41
41
  Leptris::XML::FFI.leptris_plan_value_name(@ptr)
42
42
  end
43
43
 
44
44
  # Host type_tag echoed verbatim (0 when the row had none).
45
45
  def type_tag
46
- inc_crossing
46
+ @counter[0] += 1
47
47
  Leptris::XML::FFI.leptris_plan_value_type_tag(@ptr)
48
48
  end
49
49
 
50
50
  # #1273: LEPTRIS_NODE_TYPE_* of this value's source node (0 for
51
51
  # ELEMENT/COLLECTION wrappers and synthesized text).
52
52
  def node_kind
53
- inc_crossing
53
+ @counter[0] += 1
54
54
  Leptris::XML::FFI.leptris_plan_value_node_kind(@ptr)
55
55
  end
56
56
 
57
57
  # #1273: dense sibling rank inside the producing element (0 if
58
58
  # unranked) — document-order identity without byte offsets.
59
59
  def order_index
60
- inc_crossing
60
+ @counter[0] += 1
61
61
  Leptris::XML::FFI.leptris_plan_value_order_index(@ptr)
62
62
  end
63
63
 
@@ -85,26 +85,26 @@ class Leptris::XML::PlanValue
85
85
 
86
86
  # SCALAR / RAW / CALLBACK string value.
87
87
  def string_value
88
- inc_crossing
88
+ @counter[0] += 1
89
89
  Leptris::XML::FFI.leptris_plan_value_string(@ptr)
90
90
  end
91
91
 
92
92
  # CALLBACK: document byte offset of the source node (0 unknown).
93
93
  def position
94
- inc_crossing
94
+ @counter[0] += 1
95
95
  Leptris::XML::FFI.leptris_plan_value_position(@ptr)
96
96
  end
97
97
 
98
98
  # ELEMENT: child-value count. COLLECTION: item count.
99
99
  def count
100
- inc_crossing
100
+ @counter[0] += 1
101
101
  Leptris::XML::FFI.leptris_plan_value_count(@ptr)
102
102
  end
103
103
 
104
104
  # ELEMENT child value / COLLECTION item at +i+ (nil out of
105
105
  # range). Borrowed: the owning root must stay alive.
106
106
  def at(i)
107
- inc_crossing
107
+ @counter[0] += 1
108
108
  ptr = Leptris::XML::FFI.leptris_plan_value_at(@ptr, i)
109
109
  return nil if ptr.null?
110
110
  child_plan = child_plan_for_position(ptr)
@@ -114,7 +114,7 @@ class Leptris::XML::PlanValue
114
114
 
115
115
  # ELEMENT: attribute value by wire_name (nil when absent).
116
116
  def attribute(wire_name)
117
- inc_crossing
117
+ @counter[0] += 1
118
118
  Leptris::XML::FFI.leptris_plan_value_attribute(@ptr, wire_name.to_s)
119
119
  end
120
120
 
@@ -149,7 +149,7 @@ class Leptris::XML::PlanValue
149
149
  # (0 when absent). Collection rows appear as Arrays; callbacks
150
150
  # are emitted as +{value:, position:, type_tag:}+ like #to_ruby.
151
151
  def as_kwarg_hash
152
- inc_crossing # the kind probe + name + type_tag are one logical fetch
152
+ @counter[0] += 1 # the kind probe + name + type_tag are one logical fetch
153
153
  case kind
154
154
  when :element
155
155
  {
@@ -194,9 +194,6 @@ class Leptris::XML::PlanValue
194
194
 
195
195
  private
196
196
 
197
- def inc_crossing
198
- @counter[0] += 1
199
- end
200
197
 
201
198
  def kwarg_attributes
202
199
  ((@plan && @plan[:attributes]) || []).each_with_object({}) do |row, result|
@@ -290,7 +287,7 @@ class Leptris::XML::PlanValue
290
287
  rows = @plan[:children] || []
291
288
  row = rows.size == 1 ? rows.first : nil
292
289
  unless row
293
- inc_crossing
290
+ @counter[0] += 1
294
291
  child_name = Leptris::XML::FFI.leptris_plan_value_name(ptr)
295
292
  row = rows.find { |r| r[:name] == child_name }
296
293
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.255.0
4
+ version: 1.9.255.1
5
5
  platform: arm-linux
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-26 00:00:00.000000000 Z
11
+ date: 2026-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi