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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de35f88e57257a454a261177f1df44ea8567f5aa
|
4
|
+
data.tar.gz: 510ad9630b55906a38313fd5b502d194f35a5a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|