splitclient-rb 7.3.3.pre.rc2-java → 7.3.3.pre.rc3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/splitclient-rb/cache/fetchers/segment_fetcher.rb +3 -8
- data/lib/splitclient-rb/cache/fetchers/split_fetcher.rb +3 -8
- data/lib/splitclient-rb/cache/senders/events_sender.rb +0 -6
- data/lib/splitclient-rb/cache/senders/impressions_count_sender.rb +0 -6
- data/lib/splitclient-rb/cache/senders/impressions_sender.rb +0 -6
- data/lib/splitclient-rb/engine/sync_manager.rb +0 -9
- data/lib/splitclient-rb/sse/workers/segments_worker.rb +0 -4
- data/lib/splitclient-rb/sse/workers/splits_worker.rb +0 -4
- data/lib/splitclient-rb/telemetry/sync_task.rb +0 -2
- data/lib/splitclient-rb/version.rb +1 -1
- data/splitclient-rb.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d08862ffebfedc05e02aba49ea849359991607f6
|
4
|
+
data.tar.gz: 67fea95943ddc1e3ae45153e4a2e5ee43467d014
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a281d4d24e2a0ef7a636dc704d1db5fea2e3f80870903a194ff367a7c4f0bffcebdfc82d76b643bb045206d75693030022238cd02dd366a5087fd07514c80aaa
|
7
|
+
data.tar.gz: 0fb9342093405f4808ac27490dccb8560fca2b45bd6e22fdce8718fb657e06febeef9dce4a8f11724e1935cd5004027a7633b5a292ff52dc8a2b8099bc0ab809
|
@@ -15,15 +15,10 @@ module SplitIoClient
|
|
15
15
|
def call
|
16
16
|
if ENV['SPLITCLIENT_ENV'] == 'test'
|
17
17
|
fetch_segments
|
18
|
-
|
19
|
-
segments_thread
|
20
|
-
|
21
|
-
if defined?(PhusionPassenger)
|
22
|
-
PhusionPassenger.on_event(:starting_worker_process) do |forked|
|
23
|
-
segments_thread if forked
|
24
|
-
end
|
25
|
-
end
|
18
|
+
return
|
26
19
|
end
|
20
|
+
|
21
|
+
segments_thread
|
27
22
|
end
|
28
23
|
|
29
24
|
def fetch_segments_if_not_exists(names, cache_control_headers = false)
|
@@ -15,15 +15,10 @@ module SplitIoClient
|
|
15
15
|
def call
|
16
16
|
if ENV['SPLITCLIENT_ENV'] == 'test'
|
17
17
|
fetch_splits
|
18
|
-
|
19
|
-
splits_thread
|
20
|
-
|
21
|
-
if defined?(PhusionPassenger)
|
22
|
-
PhusionPassenger.on_event(:starting_worker_process) do |forked|
|
23
|
-
splits_thread if forked
|
24
|
-
end
|
25
|
-
end
|
18
|
+
return
|
26
19
|
end
|
20
|
+
|
21
|
+
splits_thread
|
27
22
|
end
|
28
23
|
|
29
24
|
def fetch_splits(fetch_options = { cache_control_headers: false, till: nil })
|
@@ -56,10 +56,6 @@ module SplitIoClient
|
|
56
56
|
if @config.streaming_enabled
|
57
57
|
@config.logger.debug('Starting Straming mode ...')
|
58
58
|
connected = @push_manager.start_sse
|
59
|
-
|
60
|
-
if defined?(PhusionPassenger)
|
61
|
-
PhusionPassenger.on_event(:starting_worker_process) { |forked| sse_thread_forked if forked }
|
62
|
-
end
|
63
59
|
end
|
64
60
|
|
65
61
|
unless connected
|
@@ -150,11 +146,6 @@ module SplitIoClient
|
|
150
146
|
def record_telemetry(type, data)
|
151
147
|
@telemetry_runtime_producer.record_streaming_event(type, data)
|
152
148
|
end
|
153
|
-
|
154
|
-
def sse_thread_forked
|
155
|
-
connected = @push_manager.start_sse
|
156
|
-
@synchronizer.start_periodic_fetch unless connected
|
157
|
-
end
|
158
149
|
end
|
159
150
|
end
|
160
151
|
end
|
data/splitclient-rb.gemspec
CHANGED
@@ -51,11 +51,11 @@ Gem::Specification.new do |spec|
|
|
51
51
|
spec.add_development_dependency 'webmock'
|
52
52
|
|
53
53
|
spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
|
54
|
-
spec.add_runtime_dependency 'faraday', '
|
54
|
+
spec.add_runtime_dependency 'faraday', '~> 1.9.3'
|
55
55
|
spec.add_runtime_dependency 'json', '>= 1.8'
|
56
56
|
spec.add_runtime_dependency 'jwt', '>= 2.2.1'
|
57
57
|
spec.add_runtime_dependency 'lru_redux'
|
58
|
-
spec.add_runtime_dependency 'net-http-persistent', '
|
58
|
+
spec.add_runtime_dependency 'net-http-persistent', '~> 4.0.1'
|
59
59
|
spec.add_runtime_dependency 'redis', '>= 4.2.2'
|
60
60
|
spec.add_runtime_dependency 'socketry', '~> 0.5.1'
|
61
61
|
spec.add_runtime_dependency 'thread_safe', '>= 0.3'
|
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.3.3.pre.
|
4
|
+
version: 7.3.3.pre.rc3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,17 +209,17 @@ dependencies:
|
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
requirement: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
|
-
- - "
|
212
|
+
- - "~>"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
214
|
+
version: 1.9.3
|
215
215
|
name: faraday
|
216
216
|
prerelease: false
|
217
217
|
type: :runtime
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- - "
|
220
|
+
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
222
|
+
version: 1.9.3
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
requirement: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
@@ -265,17 +265,17 @@ dependencies:
|
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
requirement: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
|
-
- - "
|
268
|
+
- - "~>"
|
269
269
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
270
|
+
version: 4.0.1
|
271
271
|
name: net-http-persistent
|
272
272
|
prerelease: false
|
273
273
|
type: :runtime
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
|
-
- - "
|
276
|
+
- - "~>"
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
278
|
+
version: 4.0.1
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
requirement: !ruby/object:Gem::Requirement
|
281
281
|
requirements:
|