vwo-fme-ruby-sdk 1.60.0 → 1.60.1

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: 734b280edc8de1dad1ea2256570267ecdbf0b87a840820f5d8d1c09e7627af33
4
- data.tar.gz: e5b779d4263129a46e2c862e6317b555482fc1695f6d721e6682ba310ad4881e
3
+ metadata.gz: 9d3982ed3fa2f2bb2003d52b7d76b05ab80b32a7c789c38a7b18bde264337e2a
4
+ data.tar.gz: 4abeb06a81e8dc891b5ee0d7e4baca18271e2f4f2b6f005c4ebdfc9b48afb649
5
5
  SHA512:
6
- metadata.gz: cf8f0bb234458b3055b957522a66b17688a6c8eabc323b41492a52973c48659496dbdb0ecebda043318188880c323c4676e1b103726d4229ff25ddda63a92237
7
- data.tar.gz: 0f6a49ca2d7f3cdd98586a920ab37f4287b95976ac7d8b292f2070f2768b9338c54855c5eff158c0a24fbe0537b08a82323c3e2d0edc17b76b5f576f8a113df1
6
+ metadata.gz: 21f74424f58b6181aaab43d3b1d3b502482704a343df08970c4162846c6aae2b569227a633a793cd4752f48ed3c75cc89762c17447ea1b8e9cb68318703329ff
7
+ data.tar.gz: 32ead2d152041c5d269ab30d40d09823fa06d67b0c00d57772a15ac7c62a70f9844c854c06b65d1c8f37ee835a624a5d818e7edf34f78e2721702918c4fe730d
@@ -17,7 +17,7 @@
17
17
  # Define the Constants module
18
18
  module Constants
19
19
  SDK_NAME = 'vwo-fme-ruby-sdk'.freeze
20
- SDK_VERSION = '1.60.0'.freeze
20
+ SDK_VERSION = '1.60.1'.freeze
21
21
 
22
22
  # --- Brand-specific constants ---
23
23
 
@@ -172,8 +172,14 @@ class BatchEventsQueue
172
172
  @timer = nil
173
173
  end
174
174
 
175
+ # Fix: was killing @old_thread (never assigned, always nil). Now correctly
176
+ # kills @thread, which holds the outgoing timer at this call-site.
177
+ # Guard: skip kill when the timer thread is calling flush itself — it will
178
+ # exit naturally once flush returns, and create_new_batch_timer must still run.
175
179
  def kill_old_thread
176
- @old_thread&.kill
180
+ return if @thread == Thread.current
181
+ @thread&.kill
182
+ @thread = nil
177
183
  end
178
184
  end
179
185
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vwo-fme-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.60.0
4
+ version: 1.60.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - VWO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-30 00:00:00.000000000 Z
11
+ date: 2026-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuidtools