splitclient-rb 7.1.0 → 7.1.1.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.txt +3 -0
- data/lib/splitclient-rb/engine/auth_api_client.rb +5 -3
- data/lib/splitclient-rb/split_config.rb +1 -1
- data/lib/splitclient-rb/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de2ccef7c8453d25a2387205c67d9e0133824c44f8b4b8a7f17c8e8d5546caa0
|
4
|
+
data.tar.gz: e2c535d5b8b3b29cb78fad6fe78408700b12c4a23d2a00da4e6641384f0c67fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 011551a26705e2215111a2a1e71804f58a16016387c35cd5a8c84ed38c7899efb27165cdb5b28f0018cef04fed6d86658092a3c7acb85410dbcb12b630e157a0
|
7
|
+
data.tar.gz: 7c49a20179377108f6f2c6796447483cd17099ca19cf4f43286138f20e94f898162d7d796a4df3023cdb912b67a7da2c306c7160b4a9d2883f1dad72c0c3860b
|
data/CHANGES.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
7.1.1 (May 18, 2020)
|
2
|
+
- Updated streaming domain.
|
3
|
+
|
1
4
|
7.1.0 (Apr 30, 2020)
|
2
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.
|
3
6
|
|
@@ -24,16 +24,18 @@ module SplitIoClient
|
|
24
24
|
|
25
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)
|
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.pre.rc1
|
5
5
|
platform: ruby
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: allocation_stats
|
@@ -448,9 +448,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
448
448
|
version: '0'
|
449
449
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
450
450
|
requirements:
|
451
|
-
- - "
|
451
|
+
- - ">"
|
452
452
|
- !ruby/object:Gem::Version
|
453
|
-
version:
|
453
|
+
version: 1.3.1
|
454
454
|
requirements: []
|
455
455
|
rubygems_version: 3.0.6
|
456
456
|
signing_key:
|