splitclient-rb 8.3.0 → 8.3.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: 49fd82c5e3e0f88394d5e47cbb07d992e831138b7a5a7ec122b375955cfd3752
4
- data.tar.gz: 97304bc70bbbd9c35fbc6b2adfe45b17d5a709c020a19756177ad2232cd3d25d
3
+ metadata.gz: 28b17d201426172454ca4aafc72ffa49363c20386fb5e6515e1e734d6e915f18
4
+ data.tar.gz: 473d7bf15d91b38d18a05006c0ebee6c013319add4153ac40245f674398ba5d0
5
5
  SHA512:
6
- metadata.gz: 8426a6349bf580217cdea624cef51c6bf582b03dff5519f460dd0dc8d23aa93f04d3b09698f8cbc712b2907c23e05a26c1664bdf71e30191f9ab6a0454474795
7
- data.tar.gz: d5b62db1f8b1e11ec18bebff605dfa7025f8cb99e61630ee6d1613b1bba19d2eb99b47a0abd8dde8a961e7389ed41a3321faa1b95983f73b9611473a65b0abeb
6
+ metadata.gz: e9c0aa0c613fb3abb35bda295ad1a9726e9ecc994b64d909b8ea12fa9b63f950785c2c46afb1592a8405871370e1dadc3ffed9e874781752a572209238b032de
7
+ data.tar.gz: 412dc67a3514a67def649c74db278cb3c006b8bcfbebc9cc1b231f9c9d7e565754e2b1dcc2729e1eabce33818fb2d1311d9bbcff96f715bab55b0a5413ee2358
data/CHANGES.txt CHANGED
@@ -1,4 +1,9 @@
1
1
  CHANGES
2
+
3
+ 8.3.1 (Mar 22, 2024)
4
+ - Fixed ruby process hanging due to failed thread.join command, when calling destroy and a http request still active.
5
+ - Fixed streaming notification parser. Issue ref: https://github.com/splitio/ruby-client/issues/511
6
+
2
7
  8.3.0 (Dec 11, 2023)
3
8
  - Added support for Flag Sets on the SDK, which enables grouping feature flags and interacting with the group rather than individually (more details in our documentation):
4
9
  - Added new variations of the get treatment methods to support evaluating flags in given flag set/s.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright © 2023 Split Software, Inc.
1
+ Copyright © 2024 Split Software, Inc.
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  module SplitIoClient
2
2
  class SplitIoError < StandardError; end
3
3
 
4
- class SDKShutdownException < SplitIoError; end
4
+ class SDKShutdownException < Exception; end
5
5
 
6
6
  class SDKBlockerTimeoutExpiredException < SplitIoError; end
7
7
 
@@ -43,7 +43,8 @@ module SplitIoClient
43
43
  private
44
44
 
45
45
  def parse_event_data(data, type)
46
- event_data = JSON.parse(data.sub('data: ', ''))
46
+ data_value = data.sub('data:', '')
47
+ event_data = JSON.parse(data_value.strip)
47
48
  client_id = event_data['clientId']&.strip
48
49
  channel = event_data['channel']&.strip
49
50
  parsed_data = JSON.parse(event_data['data']) unless type == 'error'
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '8.3.0'
2
+ VERSION = '8.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.0
4
+ version: 8.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Split Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: allocation_stats