splitclient-rb 8.3.0 → 8.3.1.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49fd82c5e3e0f88394d5e47cbb07d992e831138b7a5a7ec122b375955cfd3752
4
- data.tar.gz: 97304bc70bbbd9c35fbc6b2adfe45b17d5a709c020a19756177ad2232cd3d25d
3
+ metadata.gz: b8ba8827db5ea34a7316f03b35dd4aacd063e674dd8ae76644f050d5f43aa6da
4
+ data.tar.gz: e268b61a09262882923953d9e48d3b1bfed9a7c8e7ffb55e07bcfa44a42ad751
5
5
  SHA512:
6
- metadata.gz: 8426a6349bf580217cdea624cef51c6bf582b03dff5519f460dd0dc8d23aa93f04d3b09698f8cbc712b2907c23e05a26c1664bdf71e30191f9ab6a0454474795
7
- data.tar.gz: d5b62db1f8b1e11ec18bebff605dfa7025f8cb99e61630ee6d1613b1bba19d2eb99b47a0abd8dde8a961e7389ed41a3321faa1b95983f73b9611473a65b0abeb
6
+ metadata.gz: f0a65e67b1147da8cbbf4b38361dcb7361a2f9d3b65b16b0c29af7b0aa81f7c6b9d11787d9ac329d070fed36d9fa9c7891d666a60336b96e1974a3b9cd757a9c
7
+ data.tar.gz: beb3a9d7fb6f8f91f2a5312de4f487e4ad2500b1f8f6accef9f20ae65c73ccf5145ec019583f041ca0bed71ea66de1c6606c081fe16345abf78ef81823054e20
data/CHANGES.txt CHANGED
@@ -1,4 +1,8 @@
1
1
  CHANGES
2
+
3
+ Next release (TBD)
4
+ - Fixed ruby process hanging due to failed thread.join command, when calling destroy and a http request still active.
5
+
2
6
  8.3.0 (Dec 11, 2023)
3
7
  - 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
8
  - 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.pre.rc1'
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.pre.rc1
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: allocation_stats
@@ -583,11 +583,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
583
583
  version: 2.5.0
584
584
  required_rubygems_version: !ruby/object:Gem::Requirement
585
585
  requirements:
586
- - - ">="
586
+ - - ">"
587
587
  - !ruby/object:Gem::Version
588
- version: '0'
588
+ version: 1.3.1
589
589
  requirements: []
590
- rubygems_version: 3.2.3
590
+ rubygems_version: 3.0.9
591
591
  signing_key:
592
592
  specification_version: 4
593
593
  summary: Ruby client for split SDK.