yeptris 0.6.28.5 → 0.6.28.6

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: c1da202c73aa559617b338f1f825583e9682860dda8cefb6733b833fd1780dfe
4
- data.tar.gz: 90299ab625b032926427fc0b526f5a83a5f9b864a2183e8fef37e0c491ac6035
3
+ metadata.gz: 89f169b4286f1630dfd386ebdd39c710292231de7dca13d35c5ae11b63eec0bf
4
+ data.tar.gz: 209ec594ca38d57ca34155de171688a24bcd28e73226bb5d3e94f68b33773e54
5
5
  SHA512:
6
- metadata.gz: 3081ff733d9335354f94aaf997919c4e6888c8ea03825899ef88b9716afd2ffc9b12b1221672b397cb66ac6c8a3c381524494446ef183539bbe9ff0bf1d9ea75
7
- data.tar.gz: 3ccea6b6b21e3bd5680e5d351ec44c6d5db3c68e84bbe82180b7fa08dfcd4f811cc640b7721523314ea2f6c5220290e2d22ead009f0bb7ab0f4f2c31419a0ca9
6
+ metadata.gz: 7a317d28c22b3cedc053d29d6c1b03f30c73067d37223cbe2e195a3b7d837fcd33b3a42f14f4e81e313dc3aa422a7c2905d6ace7aac4d4e357a2d6db0c8fb2ed
7
+ data.tar.gz: 5c15dae41a30d026feeb121e1734d0e1a40e73432fbdfe7d63b0b46382c1f116dc1767817a0ca2bda6f9fcb533bf04a98a5d3a5aac314660a99bed8fa3cfb40e
@@ -183,7 +183,12 @@ VALUE yep_rb_cbor_load(const char* p, size_t len, int strict) {
183
183
  yep_cbor_sink sink = RV_SINK;
184
184
  sink.ctx = &ctx;
185
185
  st = yep_cbor_decode_gen((const unsigned char*)p, len, strict, NULL, &sink);
186
- if (RTEST(gc_on)) {
186
+ /* rb_gc_disable returns Qfalse when GC was ON — enable exactly
187
+ * then (the old RTEST(gc_on) tested the inverted sense, so every
188
+ * CBOR load left GC permanently off; the Init self-check rides
189
+ * this path too, so one require disabled GC for the process —
190
+ * #259's linear RSS growth and never-running finalizers) */
191
+ if (gc_on == Qfalse) {
187
192
  rb_gc_enable();
188
193
  }
189
194
  if (st != YEPTRIS_OK) {
data/lib/yeptris.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Yeptris
4
4
  # The gem's version lives in the parent namespace's file — the last
5
5
  # internal require (yeptris/version) retired with it.
6
- VERSION = "0.6.28.5".freeze
6
+ VERSION = "0.6.28.6".freeze
7
7
 
8
8
  # Informational notices are OPT-IN (yeptris-ruby#217): consumers
9
9
  # embed yeptris inside CLIs that assert clean stderr, and a
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.28.5
4
+ version: 0.6.28.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-03 00:00:00.000000000 Z
11
+ date: 2026-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi