unleash 3.2.2 → 3.2.3
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 +4 -4
- data/.gitignore +1 -0
- data/README.md +1 -1
- data/examples/simple.rb +2 -2
- data/lib/unleash/toggle_fetcher.rb +1 -1
- data/lib/unleash/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70d64956aa703576336ee95064ef909655a664159b571be5417ebf073f0de224
|
|
4
|
+
data.tar.gz: 36cff93bb8203971721e3eeace2d24d9db4075926d2c2609e5c6acd01179c2fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b8c366cc799582a672646c796858381189e9286149929bb5e37afc2404cce9ac140b0c004ba8a3a7f774b0d83c705c2c714932656121054ab920f58afa55b34
|
|
7
|
+
data.tar.gz: 6a4f8aa92aa80e17eb2477cc77a534dcbe44b2b63b3ff7c05867392252e808ec76750094adaf476c739c2641db1ef0f8a7c3729001fd7efe8ab209a255ebe968
|
data/.gitignore
CHANGED
data/README.md
CHANGED
data/examples/simple.rb
CHANGED
|
@@ -17,13 +17,13 @@ puts ">> START simple.rb"
|
|
|
17
17
|
# or:
|
|
18
18
|
|
|
19
19
|
@unleash = Unleash::Client.new(
|
|
20
|
-
url: '
|
|
20
|
+
url: 'https://app.unleash-hosted.com/demo/api',
|
|
21
21
|
app_name: 'simple-test',
|
|
22
22
|
instance_id: 'local-test-cli',
|
|
23
23
|
refresh_interval: 2,
|
|
24
24
|
metrics_interval: 2,
|
|
25
25
|
retry_limit: 2,
|
|
26
|
-
|
|
26
|
+
custom_http_headers: {'Authorization': '943ca9171e2c884c545c5d82417a655fb77cec970cc3b78a8ff87f4406b495d0'},
|
|
27
27
|
)
|
|
28
28
|
|
|
29
29
|
# feature_name = "AwesomeFeature"
|
|
@@ -48,7 +48,7 @@ module Unleash
|
|
|
48
48
|
self.etag = response['ETag']
|
|
49
49
|
response_hash = JSON.parse(response.body)
|
|
50
50
|
|
|
51
|
-
if response_hash['version']
|
|
51
|
+
if response_hash['version'] >= 1
|
|
52
52
|
features = response_hash['features']
|
|
53
53
|
else
|
|
54
54
|
raise NotImplemented, "Version of features provided by unleash server" \
|
data/lib/unleash/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unleash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Renato Arruda
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: murmurhash3
|
|
@@ -175,7 +175,7 @@ homepage: https://github.com/unleash/unleash-client-ruby
|
|
|
175
175
|
licenses:
|
|
176
176
|
- Apache-2.0
|
|
177
177
|
metadata: {}
|
|
178
|
-
post_install_message:
|
|
178
|
+
post_install_message:
|
|
179
179
|
rdoc_options: []
|
|
180
180
|
require_paths:
|
|
181
181
|
- lib
|
|
@@ -190,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
191
|
version: '0'
|
|
192
192
|
requirements: []
|
|
193
|
-
rubygems_version: 3.2.
|
|
194
|
-
signing_key:
|
|
193
|
+
rubygems_version: 3.2.5
|
|
194
|
+
signing_key:
|
|
195
195
|
specification_version: 4
|
|
196
196
|
summary: Unleash feature toggle client.
|
|
197
197
|
test_files: []
|