splitclient-rb 7.1.0.pre.rc19-java → 7.1.1-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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d8553028acfb68b2e5f87baf3fc7adbadf85dab
|
4
|
+
data.tar.gz: 47e9babb201c1f0b50d6dc06dc05a568a58e43b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 901d00b2f39516b9a6fa5571b11189d54ccf89e4f9e2575502c6aa5186c491c007fbf82b3a3f694456c57fe7fb7cf3787ea5dada8f8e659c3d32b72588c4f3eb
|
7
|
+
data.tar.gz: 423ed4f0f45b9e298883fe9dba1682115dde15275a8e7a19e68556a071f6c5c1ed3710e845d2f7dd4e5a6487667c2f64d6ff4351dd30a2e581ab21edb5ee3d30
|
data/.rubocop.yml
CHANGED
data/CHANGES.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
7.1.1 (May 19, 2020)
|
2
|
+
- Updated streaming domain.
|
3
|
+
|
4
|
+
7.1.0 (Apr 30, 2020)
|
5
|
+
- Added support for the new Split streaming architecture. When enabled, the SDK will not poll for updates but instead receive notifications every time there's a change in your environments, allowing to process those much quicker. If disabled (default) or in the event of an issue, the SDK will fallback to the known polling mechanism to provide a seamless experience.
|
6
|
+
|
1
7
|
7.0.3 (Jan 20, 2020)
|
2
8
|
- Added integration tests.
|
3
9
|
- Fixed impressions labels.
|
@@ -17,23 +17,25 @@ module SplitIoClient
|
|
17
17
|
return process_success(response) if response.success?
|
18
18
|
|
19
19
|
if response.status >= 400 && response.status < 500
|
20
|
-
@config.logger.debug("
|
20
|
+
@config.logger.debug("Error connecting to: #{@config.auth_service_url}. Response status: #{response.status}")
|
21
21
|
|
22
22
|
return { push_enabled: false, retry: false }
|
23
23
|
end
|
24
24
|
|
25
|
-
@config.logger.debug("
|
25
|
+
@config.logger.debug("Error connecting to: #{@config.auth_service_url}. Response status: #{response.status}")
|
26
26
|
{ push_enabled: false, retry: true }
|
27
|
+
rescue StandardError => e
|
28
|
+
@config.logger.debug("AuthApiClient error: #{e.inspect}.")
|
29
|
+
{ push_enabled: false, retry: false }
|
27
30
|
end
|
28
31
|
|
29
32
|
private
|
30
33
|
|
31
34
|
def expiration(token_decoded)
|
32
35
|
exp = token_decoded[0]['exp']
|
36
|
+
issued_at = token_decoded[0]['iat']
|
33
37
|
|
34
|
-
|
35
|
-
rescue StandardError => e
|
36
|
-
@config.logger.error("Error getting token expiration: #{e.inspect}")
|
38
|
+
exp - issued_at - SplitIoClient::Constants::EXPIRATION_RATE
|
37
39
|
end
|
38
40
|
|
39
41
|
def channels(token_decoded)
|
@@ -32,9 +32,9 @@ module SplitIoClient
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def start_periodic_data_recording
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
impressions_sender
|
36
|
+
metrics_sender
|
37
|
+
events_sender
|
38
38
|
end
|
39
39
|
|
40
40
|
def start_periodic_fetch
|
@@ -271,15 +271,15 @@ module SplitIoClient
|
|
271
271
|
attr_accessor :streaming_enabled
|
272
272
|
|
273
273
|
def self.default_streaming_enabled
|
274
|
-
|
274
|
+
false
|
275
275
|
end
|
276
276
|
|
277
277
|
def self.default_streaming_service_url
|
278
|
-
'https://
|
278
|
+
'https://streaming.split.io/event-stream'
|
279
279
|
end
|
280
280
|
|
281
281
|
def self.default_auth_service_url
|
282
|
-
'https://auth.split
|
282
|
+
'https://auth.split.io/api/auth'
|
283
283
|
end
|
284
284
|
|
285
285
|
def self.default_auth_retry_back_off_base
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splitclient-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.1.
|
4
|
+
version: 7.1.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -444,9 +444,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
444
444
|
version: '0'
|
445
445
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
446
446
|
requirements:
|
447
|
-
- - "
|
447
|
+
- - ">="
|
448
448
|
- !ruby/object:Gem::Version
|
449
|
-
version:
|
449
|
+
version: '0'
|
450
450
|
requirements: []
|
451
451
|
rubyforge_project:
|
452
452
|
rubygems_version: 2.6.14
|