splitclient-rb 6.2.0.pre.rc1-java → 6.2.0.pre.rc2-java

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
  SHA1:
3
- metadata.gz: 31ff6a9e0cec418774bc8e62ed49d8d84e8b1c09
4
- data.tar.gz: 26f495f1c238d203138822e6743f1da40077e0d6
3
+ metadata.gz: af0eb5122b4d22925739cf2ee3ca0e5b83019061
4
+ data.tar.gz: 663e004ecf8db44c74da803d35046e7bac73095f
5
5
  SHA512:
6
- metadata.gz: 4e150fc52a3edeef42cf04f80c192fbc3833b5c90a9d130f5ef6ac2678ed075a08056a8ba254cfbafef2302bc66004d0cfb0146d8ce56fabd23038bfdf011420
7
- data.tar.gz: 75d4ab0e012725159413b6341683e2c9d20fe5c04177686a357b4ea9953c333936c5114121c480bebe7a58776dc09f13ec8a6a8982e7ab1315db7d594a28013f
6
+ metadata.gz: caf860d494159424910eb1a1998ba3c9359f62e41bcf9a6b2bc2487dafce3e4dbce1f387932009d6208bc98523a784dbca1247ce58016471dbdd9314147b6187
7
+ data.tar.gz: 88fba2e0c02207a1d89288566ae1627bb385e5253fc692c2e6329b7995ba525d7a4e193c6683029f47a19cf431d37fe28a70f8eeb8649cd845233e93129d3702
@@ -6,7 +6,6 @@ module SplitIoClient
6
6
  module Stores
7
7
  class SDKBlocker
8
8
  attr_reader :splits_repository
9
- attr_writer :splits_thread, :segments_thread
10
9
 
11
10
  def initialize(splits_repository, segments_repository)
12
11
  @splits_repository = splits_repository
@@ -34,8 +33,8 @@ module SplitIoClient
34
33
  end
35
34
 
36
35
  SplitIoClient.configuration.logger.info('SplitIO SDK is ready')
37
- @splits_thread.run
38
- @segments_thread.run
36
+ SplitIoClient.configuration.threads[:split_store].run
37
+ SplitIoClient.configuration.threads[:segment_store].run
39
38
  end
40
39
 
41
40
  def ready?
@@ -28,7 +28,7 @@ module SplitIoClient
28
28
  private
29
29
 
30
30
  def segments_thread
31
- SplitIoClient.configuration.threads[:segment_store] = @sdk_blocker.segments_thread = Thread.new do
31
+ SplitIoClient.configuration.threads[:segment_store] = Thread.new do
32
32
  SplitIoClient.configuration.logger.info('Starting segments fetcher service')
33
33
  SplitIoClient.configuration.block_until_ready > 0 ? blocked_store : unblocked_store
34
34
  end
@@ -28,7 +28,7 @@ module SplitIoClient
28
28
  private
29
29
 
30
30
  def splits_thread
31
- SplitIoClient.configuration.threads[:split_store] = @sdk_blocker.splits_thread = Thread.new do
31
+ SplitIoClient.configuration.threads[:split_store] = Thread.new do
32
32
  SplitIoClient.configuration.logger.info('Starting splits fetcher service')
33
33
  loop do
34
34
  store_splits
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '6.2.0.pre.rc1'
2
+ VERSION = '6.2.0.pre.rc2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0.pre.rc1
4
+ version: 6.2.0.pre.rc2
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software