splitclient-rb 7.0.4.pre.rc1 → 7.0.4.pre.rc2

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: 38e8623fb1abf96c0ce67780513cff798add0a317782fab2c29f1fab325acc1d
4
- data.tar.gz: 27bba40151f4406846bb72bb2835b6829e364b370c1a5a59c037afcdb91caf9f
3
+ metadata.gz: 49a0c5e8294343ff2b180ac0ec9d65f513fb424a2d0c25c228b8877bee4f16b2
4
+ data.tar.gz: e78e1991d3dc2cae4cff59c4d80aee5cb10eaad5b5e0c4867fa1c73b3c84d944
5
5
  SHA512:
6
- metadata.gz: 1d247b165b2c2f983cf7ce7d5dc9fe2cbc6f7ebbdd1b8c08e1946a992202bcf0f1e66c530ae4b9cf641500c60e901e751671f5c809002543319b834384caa56e
7
- data.tar.gz: 5bebfd1ffd6f86accfa700dbe79345b69116096e108a000e13faccead0aee48fda8dfde241bfc14a70c2f578a9507174ee82c15e387ba11137a23a96576b9a19
6
+ metadata.gz: 0d93c7a0dcad8f36d226113296a9f643c0a3846c07e7bcc69aa64ab45c360255795059f1183e38f0119c743547177c8353d49ee83141fd3ba84879cd483c2732
7
+ data.tar.gz: 21e66ac021c3d90bc15d8f1315ebf677fe50d0103db5e669c5ef82e74c9d8e8af84b747a0f4a1db273eac494887008004752c68a8966b7b570d69e7e278fd8e6
@@ -76,13 +76,15 @@ module SplitIoClient
76
76
  # Starts thread which loops constantly and stores splits in the splits_repository of choice
77
77
  def split_fetch
78
78
  @split_fetcher = SplitFetcher.new(@splits_repository, @api_key, @metrics, @config, @sdk_blocker)
79
- @split_fetcher.fetch_splits
79
+ @split_fetcher.fetch_splits if @config.push_notification_enabled
80
+ @split_fetch.call unless @config.push_notification_enabled
80
81
  end
81
82
 
82
83
  # Starts thread which loops constantly and stores segments in the segments_repository of choice
83
84
  def segment_fetch
84
85
  @segment_fetcher = SegmentFetcher.new(@segments_repository, @api_key, @metrics, @config, @sdk_blocker)
85
- @segment_fetcher.fetch_segments
86
+ @segment_fetcher.fetch_segments if @config.push_notification_enabled
87
+ @segment_fetcher.call unless @config.push_notification_enabled
86
88
  end
87
89
 
88
90
  # Starts thread which loops constantly and sends impressions to the Split API
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.0.4.pre.rc1'
2
+ VERSION = '7.0.4.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: 7.0.4.pre.rc1
4
+ version: 7.0.4.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Split Software