parsanol 1.3.19-x86_64-linux → 1.3.20-x86_64-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: b649b24d64861b33ccc1b961d73f86a9b759570ff09aa1410abbcb03b521c1df
4
- data.tar.gz: 6977e0ee8e0645e5d401339e7f724c44fda79f21ee644aac99860cf3a44b7de6
3
+ metadata.gz: 5e76fd6e5b9572d3b2779d1ea8633fd0a74fdf5825815f5d74743f33ba51cd6a
4
+ data.tar.gz: e9414cef4e2b1ede8375ad8976845941f0825643e36f4d577473092ea39116b3
5
5
  SHA512:
6
- metadata.gz: ca5a58034cf86eecc8f7aef3add0c5716cf4091f713d7f4807ca5b1a7b93f2622d746fbc584bb3b53491a775e992b44839da6395ed7c39e9da7595924a4025d8
7
- data.tar.gz: a92cf5ef6f78b1080bc5034175163a8dfcc092a198375f6da2c6dfd0aab692bbe20bbfffe608a0a5337f764b98d157a9f2dd5b1b289078701c54c6c6fc56ec4f
6
+ metadata.gz: b9ba76fcd55ed8aac3ac41f671e912ef1badd478d462c040900374aa0ad253d840a2910758c4c1a71c675339aafa8ed51859c6efacba89644b7327c418ccb4f0
7
+ data.tar.gz: 765113138ac328f35d9cb82acfca65447b6ea4067f1cf7adc48897ea591faa6d4271549c43defd532b35d9b133ad5c89a401fdd1ce9556da7b8f57079c20b58d
Binary file
Binary file
Binary file
Binary file
@@ -51,6 +51,7 @@ module Parsanol
51
51
  # Register with Rust FFI
52
52
  ffi_id = Native.register_callback(@next_id,
53
53
  description || "Ruby callback ##{@next_id}")
54
+ @next_id += 1
54
55
 
55
56
  # Also keep a Ruby-side reference for GC safety
56
57
  @mutex.synchronize do
@@ -12,6 +12,9 @@ module Parsanol
12
12
  module Native
13
13
  # ffi-gem cdylib tier: lazy — only loaded when the MRI extension is absent.
14
14
  autoload :Ffi, "parsanol/native/ffi"
15
+ # Dynamic-atom callbacks: autoloaded so the serializer's reference
16
+ # never raises NameError into the silent :ruby fallback (issue #38).
17
+ autoload :Dynamic, "parsanol/native/dynamic"
15
18
  class << self
16
19
  # Check if native extension is available
17
20
  def available?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.19"
4
+ VERSION = "1.3.20"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsanol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.19
4
+ version: 1.3.20
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Ribose Inc.