splitclient-rb 7.3.2.pre.rc3-java → 7.3.2.pre.rc4-java

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
  SHA1:
3
- metadata.gz: 0d9e987fe5c061e6749065499eabcabd0e36ec6b
4
- data.tar.gz: f96a6d27be59a43c8b521f2d2a445eb52fe0bded
3
+ metadata.gz: b34d8922cda5b9c044086cb712fad521bfa4d07a
4
+ data.tar.gz: 41303bbf93181d1b234f49ffafa4e23493afde97
5
5
  SHA512:
6
- metadata.gz: ed71af181dee57c99c1378bc1c57db5d2bcde966a2362bb9d8af37e6c9595b4ae0e0f917e138aff211ca8309a4252d99a9d563f393ce649a3793932a19a1afd6
7
- data.tar.gz: 90dced8f772a4a4e5a3afe77e3a3886a395700137fa01d1ecd35b01511167867d158d3725ca79ff1a57e67cc29f58d94e6cbeab79f2d818d64d7a72755b0ef4a
6
+ metadata.gz: df2d6c00758d77c566070db80c73628b0aaaacad749c626cc695c9787d7c5be45ce17c708e8a4a41353493392463fad8c5a8c161266c5e48f3f847b919b0e62e
7
+ data.tar.gz: 434b227c0d090209143923166ad7be6ae40ab760f5ba26b5e2ac32e4c9b056d3c9b7cd73830a5872ccd7eb0c9b46402d1d6cbeaab0154fbdf528ed5cd8119415
@@ -28,6 +28,10 @@ module SplitIoClient
28
28
 
29
29
  raise 'Invalid SDK mode' unless valid_mode
30
30
 
31
+ validate_api_key
32
+
33
+ register_factory
34
+
31
35
  build_telemetry_components
32
36
 
33
37
  @splits_repository = SplitsRepository.new(@config)
@@ -44,14 +48,16 @@ module SplitIoClient
44
48
 
45
49
  @client = SplitClient.new(@api_key, repositories, @status_manager, @config, @impressions_manager, @evaluation_producer)
46
50
  @manager = SplitManager.new(@splits_repository, @status_manager, @config)
47
-
48
- validate_api_key
49
-
50
- register_factory
51
51
  end
52
52
 
53
53
  def start!
54
54
  return start_localhost_components if @config.localhost_mode
55
+
56
+ if @config.consumer?
57
+ @status_manager.ready!
58
+ @telemetry_synchronizer.synchronize_config
59
+ return
60
+ end
55
61
 
56
62
  split_fetcher = SplitFetcher.new(@splits_repository, @api_key, config, @runtime_producer)
57
63
  segment_fetcher = SegmentFetcher.new(@segments_repository, @api_key, config, @runtime_producer)
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.3.2.pre.rc3'
2
+ VERSION = '7.3.2.pre.rc4'
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: 7.3.2.pre.rc3
4
+ version: 7.3.2.pre.rc4
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software