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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49a0c5e8294343ff2b180ac0ec9d65f513fb424a2d0c25c228b8877bee4f16b2
|
4
|
+
data.tar.gz: e78e1991d3dc2cae4cff59c4d80aee5cb10eaad5b5e0c4867fa1c73b3c84d944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|