featurehub-sdk 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +5 -5
- data/featurehub-sdk.iml +49 -45
- data/lib/feature_hub/sdk/feature_state.rb +1 -1
- data/lib/feature_hub/sdk/poll_edge_service.rb +1 -1
- data/lib/feature_hub/sdk/streaming_edge_service.rb +1 -1
- data/lib/feature_hub/sdk/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d8c63466d2e3a9d0a83b3e536a7655a26399443eb593f95cad46ee5cf0ac50f
|
4
|
+
data.tar.gz: 8df77aebec08f1be8ee34c3a373043f9af5066aface8419897a7380c9530447f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e19c86bf6ed7ac3401d801d9b982915229472e518d35286d63d6d2ceef7904c8d8c86db765a73d60788a7c269214386d799297497abcac2b54f52fd49042c54f
|
7
|
+
data.tar.gz: 01aebf2525adcbc277555f918eec2757514b4de0cc945ccaec22e21a97ca55af5d5ad7745eac2121b27ede140e44ed1f1889d1bc016876394beee2f4864f8165
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [1.2.2] - 2023-08-07
|
2
|
+
|
3
|
+
- Changed the log levels for API logging to debug
|
4
|
+
- Widened the possible transitive dependencies
|
5
|
+
|
6
|
+
## [1.2.1] - 2022-11-21
|
7
|
+
|
8
|
+
- Minor bug fixes (Chris Spalding)
|
9
|
+
|
1
10
|
## [1.2.0] - 2022-10-14
|
2
11
|
|
3
12
|
- Fixing polling client for server eval
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
featurehub-sdk (1.2.
|
5
|
-
concurrent-ruby (~> 1.1
|
6
|
-
faraday (~> 2
|
4
|
+
featurehub-sdk (1.2.3)
|
5
|
+
concurrent-ruby (~> 1.1)
|
6
|
+
faraday (~> 2)
|
7
7
|
ld-eventsource (~> 2.2.0)
|
8
8
|
murmurhash3 (~> 0.1.6)
|
9
9
|
sem_version (~> 2.0.0)
|
@@ -92,8 +92,8 @@ PLATFORMS
|
|
92
92
|
ruby
|
93
93
|
|
94
94
|
DEPENDENCIES
|
95
|
-
concurrent-ruby (~> 1.1
|
96
|
-
faraday (~> 2
|
95
|
+
concurrent-ruby (~> 1.1)
|
96
|
+
faraday (~> 2)
|
97
97
|
featurehub-sdk!
|
98
98
|
ld-eventsource (~> 2.2.0)
|
99
99
|
murmurhash3 (~> 0.1.6)
|
data/featurehub-sdk.iml
CHANGED
@@ -3,63 +3,67 @@
|
|
3
3
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
4
4
|
<exclude-output />
|
5
5
|
<content url="file://$MODULE_DIR$" />
|
6
|
-
<orderEntry type="jdk" jdkName="rbenv:
|
6
|
+
<orderEntry type="jdk" jdkName="rbenv: 3.0.6" jdkType="RUBY_SDK" />
|
7
7
|
<orderEntry type="sourceFolder" forTests="false" />
|
8
|
-
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, rbenv:
|
9
|
-
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv:
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
11
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
14
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="faraday (v2.3
|
16
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="http (
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="http-
|
21
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
22
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
23
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
25
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
26
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
27
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
28
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
29
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
30
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
32
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.11.0, rbenv:
|
33
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
34
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
35
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
36
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
37
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.
|
38
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
39
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
40
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
41
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
42
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.
|
43
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
44
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
45
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
46
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
47
|
-
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, rbenv: 2.7.6) [gem]" level="application" />
|
8
|
+
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, rbenv: 3.0.6) [gem]" level="application" />
|
9
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv: 3.0.6) [gem]" level="application" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.10, rbenv: 3.0.6) [gem]" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, rbenv: 3.0.6) [gem]" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="docile (v1.4.0, rbenv: 3.0.6) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20190701, rbenv: 3.0.6) [gem]" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday (v2.3.0, rbenv: 3.0.6) [gem]" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday-net_http (v2.0.3, rbenv: 3.0.6) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.15.5, rbenv: 3.0.6) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi-compiler (v1.0.1, rbenv: 3.0.6) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="http (v5.0.4, rbenv: 3.0.6) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.5, rbenv: 3.0.6) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="http-form_data (v2.3.0, rbenv: 3.0.6) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="ld-eventsource (v2.2.0, rbenv: 3.0.6) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="llhttp-ffi (v0.4.0, rbenv: 3.0.6) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="murmurhash3 (v0.1.6, rbenv: 3.0.6) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, rbenv: 3.0.6) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, rbenv: 3.0.6) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.7, rbenv: 3.0.6) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, rbenv: 3.0.6) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, rbenv: 3.0.6) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.5.0, rbenv: 3.0.6) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, rbenv: 3.0.6) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.11.0, rbenv: 3.0.6) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.11.0, rbenv: 3.0.6) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.11.0, rbenv: 3.0.6) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.11.1, rbenv: 3.0.6) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.11.0, rbenv: 3.0.6) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.30.1, rbenv: 3.0.6) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.18.0, rbenv: 3.0.6) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, rbenv: 3.0.6) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby2_keywords (v0.0.5, rbenv: 3.0.6) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="sem_version (v2.0.1, rbenv: 3.0.6) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.21.2, rbenv: 3.0.6) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.12.3, rbenv: 3.0.6) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov_json_formatter (v0.1.4, rbenv: 3.0.6) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, rbenv: 3.0.6) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.8.2, rbenv: 3.0.6) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, rbenv: 3.0.6) [gem]" level="application" />
|
48
47
|
</component>
|
49
48
|
<component name="RakeTasksCache">
|
50
49
|
<option name="myRootTask">
|
51
50
|
<RakeTaskImpl id="rake">
|
52
51
|
<subtasks>
|
53
|
-
<RakeTaskImpl description="Build featurehub-sdk-
|
52
|
+
<RakeTaskImpl description="Build featurehub-sdk-1.2.3.gem into the pkg directory" fullCommand="build" id="build" />
|
53
|
+
<RakeTaskImpl id="build">
|
54
|
+
<subtasks>
|
55
|
+
<RakeTaskImpl description="Generate SHA512 checksum if featurehub-sdk-1.2.3.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
|
56
|
+
</subtasks>
|
57
|
+
</RakeTaskImpl>
|
54
58
|
<RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
|
55
59
|
<RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
|
56
|
-
<RakeTaskImpl description="Build and install featurehub-sdk-
|
60
|
+
<RakeTaskImpl description="Build and install featurehub-sdk-1.2.3.gem into system gems" fullCommand="install" id="install" />
|
57
61
|
<RakeTaskImpl id="install">
|
58
62
|
<subtasks>
|
59
|
-
<RakeTaskImpl description="Build and install featurehub-sdk-
|
63
|
+
<RakeTaskImpl description="Build and install featurehub-sdk-1.2.3.gem into system gems without network access" fullCommand="install:local" id="local" />
|
60
64
|
</subtasks>
|
61
65
|
</RakeTaskImpl>
|
62
|
-
<RakeTaskImpl description="Create tag
|
66
|
+
<RakeTaskImpl description="Create tag v1.2.3 and build and push featurehub-sdk-1.2.3.gem to https://rubygems.org" fullCommand="release[remote]" id="release[remote]" />
|
63
67
|
<RakeTaskImpl description="Run RuboCop" fullCommand="rubocop" id="rubocop" />
|
64
68
|
<RakeTaskImpl id="rubocop">
|
65
69
|
<subtasks>
|
@@ -73,7 +73,7 @@ module FeatureHub
|
|
73
73
|
def poll_with_interval
|
74
74
|
return if @cancel || !@task.nil? || @stopped
|
75
75
|
|
76
|
-
@logger.
|
76
|
+
@logger.debug("starting polling for #{determine_request_url}")
|
77
77
|
@task = Concurrent::TimerTask.new(execution_interval: @interval, run_now: false) do
|
78
78
|
get_updates
|
79
79
|
end
|
@@ -58,7 +58,7 @@ module FeatureHub
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def start_streaming
|
61
|
-
@logger.
|
61
|
+
@logger.debug("streaming from #{@url}")
|
62
62
|
# we can get an error before returning the new() function and get a race condition on the close
|
63
63
|
must_close = false
|
64
64
|
@sse_client = SSE::Client.new(@url) do |client|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: featurehub-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Vowles
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: concurrent-ruby
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.1
|
20
|
+
version: '1.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.1
|
27
|
+
version: '1.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: faraday
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '2
|
34
|
+
version: '2'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '2
|
41
|
+
version: '2'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: ld-eventsource
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,14 +132,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version: 2.6
|
135
|
+
version: 2.7.6
|
136
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.2.33
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: FeatureHub Ruby SDK
|