splitclient-rb 7.0.4.pre.rc1-java → 7.0.4.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: 011bc30b94b1b3d235bf7c2d549fbe0f3e9d4399
4
- data.tar.gz: 7673857e19e18b0967a29f7594b60b101139d818
3
+ metadata.gz: de35f88e57257a454a261177f1df44ea8567f5aa
4
+ data.tar.gz: 510ad9630b55906a38313fd5b502d194f35a5a31
5
5
  SHA512:
6
- metadata.gz: 91ebecabb11b4555f8e469ecacfb5959e19cf9811a1504f8f2bd60c482531346064abf022b91919c374bb612da824d125a50c585201e774f48141b8575236778
7
- data.tar.gz: ddfcdf53cc0d4ff4965578a01a600a444d514598c07afaad3d67001b5da88dc36564653229d88e2a356277c51211ab2fdb5d182e653e754c68589c790b976194
6
+ metadata.gz: b1e8c8b5917ffead75f98e3af42861d4c11b9bb79de452ad22afc84621c158a9667b23f602c2813ff533749c8f9dbccf800d27eebbdecb50b30d7fe8abd4b029
7
+ data.tar.gz: 24627a3d174d53e06e174fe98e3a25d3c33aa0ae418db12a0ea24a282e885b08b9352308667ee8e85cfe0d1294ad3144e3dc82d25403430f23a8af4e8a8cfdfc
@@ -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: java
6
6
  authors:
7
7
  - Split Software