splitclient-rb 7.3.3.pre.rc2-java → 7.3.3.pre.rc6-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 +19 -19
- metadata +94 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8ba1a11380dc38af60da00ee466a6ce575d0ace
|
4
|
+
data.tar.gz: 5889dc8c12da97f449e834d61be3057780cd76d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa8d6081a7858a5606b3511d3663e3f147626a0a739930ab6e29042015d04c99d613e6dd5d84c048491adec7def8968efb029cd504e0ea637d6231d3e3fa1e65
|
7
|
+
data.tar.gz: f8541935fa03c02e33244315f4a78f3bd178d9e8d8b8556854d19e2909b906480ec7c4bd70a0c6d31f3dc8e26ff37161e92f6cc0959c08ec031dbcd61ca475cc
|
@@ -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
@@ -36,27 +36,27 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.extensions = ['ext/murmurhash/extconf.rb']
|
37
37
|
end
|
38
38
|
|
39
|
-
spec.add_development_dependency 'allocation_stats'
|
40
|
-
spec.add_development_dependency 'appraisal'
|
39
|
+
spec.add_development_dependency 'allocation_stats', '~> 0.1'
|
40
|
+
spec.add_development_dependency 'appraisal', '~> 2.4'
|
41
41
|
spec.add_development_dependency 'bundler', '~> 2.2'
|
42
|
-
spec.add_development_dependency 'pry'
|
43
|
-
spec.add_development_dependency 'pry-nav'
|
44
|
-
spec.add_development_dependency 'rake', '12.3
|
45
|
-
spec.add_development_dependency 'rake-compiler'
|
46
|
-
spec.add_development_dependency 'rspec'
|
42
|
+
spec.add_development_dependency 'pry', '~> 0.14'
|
43
|
+
spec.add_development_dependency 'pry-nav', '~> 1.0'
|
44
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
45
|
+
spec.add_development_dependency 'rake-compiler', '~> 1.1'
|
46
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
47
47
|
spec.add_development_dependency 'rubocop', '0.59.0'
|
48
|
-
spec.add_development_dependency 'simplecov', '0.20
|
49
|
-
spec.add_development_dependency 'simplecov-json'
|
50
|
-
spec.add_development_dependency 'timecop'
|
51
|
-
spec.add_development_dependency 'webmock'
|
48
|
+
spec.add_development_dependency 'simplecov', '~> 0.20'
|
49
|
+
spec.add_development_dependency 'simplecov-json', '~> 0.2'
|
50
|
+
spec.add_development_dependency 'timecop', '~> 0.9'
|
51
|
+
spec.add_development_dependency 'webmock', '~> 3.14'
|
52
52
|
|
53
53
|
spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
|
54
|
-
spec.add_runtime_dependency 'faraday', '>= 0.8'
|
55
|
-
spec.add_runtime_dependency 'json', '>= 1.8'
|
56
|
-
spec.add_runtime_dependency 'jwt', '>=
|
57
|
-
spec.add_runtime_dependency 'lru_redux'
|
58
|
-
spec.add_runtime_dependency 'net-http-persistent', '>= 2.9'
|
59
|
-
spec.add_runtime_dependency 'redis', '>= 4.
|
60
|
-
spec.add_runtime_dependency 'socketry', '
|
61
|
-
spec.add_runtime_dependency 'thread_safe', '
|
54
|
+
spec.add_runtime_dependency 'faraday', '>= 0.8', '< 2.0.0'
|
55
|
+
spec.add_runtime_dependency 'json', '>= 1.8', '<= 2.6.1'
|
56
|
+
spec.add_runtime_dependency 'jwt', '>= 1.0.0', '<= 2.3.0'
|
57
|
+
spec.add_runtime_dependency 'lru_redux', '~> 1.1'
|
58
|
+
spec.add_runtime_dependency 'net-http-persistent', '>= 2.9', '<= 4.0.1'
|
59
|
+
spec.add_runtime_dependency 'redis', '>= 4.0.0', '<= 4.5.1'
|
60
|
+
spec.add_runtime_dependency 'socketry', '>= 0.4', '<= 0.5.1'
|
61
|
+
spec.add_runtime_dependency 'thread_safe', '~> 0.3'
|
62
62
|
end
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
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.rc6
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
16
|
+
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '0'
|
18
|
+
version: '0.1'
|
19
19
|
name: allocation_stats
|
20
20
|
prerelease: false
|
21
21
|
type: :development
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '0.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - "
|
30
|
+
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '2.4'
|
33
33
|
name: appraisal
|
34
34
|
prerelease: false
|
35
35
|
type: :development
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
@@ -55,73 +55,73 @@ dependencies:
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0'
|
60
|
+
version: '0.14'
|
61
61
|
name: pry
|
62
62
|
prerelease: false
|
63
63
|
type: :development
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
68
|
+
version: '0.14'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
74
|
+
version: '1.0'
|
75
75
|
name: pry-nav
|
76
76
|
prerelease: false
|
77
77
|
type: :development
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '1.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 12.3
|
88
|
+
version: '12.3'
|
89
89
|
name: rake
|
90
90
|
prerelease: false
|
91
91
|
type: :development
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 12.3
|
96
|
+
version: '12.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
102
|
+
version: '1.1'
|
103
103
|
name: rake-compiler
|
104
104
|
prerelease: false
|
105
105
|
type: :development
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '1.1'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- - "
|
114
|
+
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '3.10'
|
117
117
|
name: rspec
|
118
118
|
prerelease: false
|
119
119
|
type: :development
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '3.10'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
@@ -139,59 +139,59 @@ dependencies:
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.20
|
144
|
+
version: '0.20'
|
145
145
|
name: simplecov
|
146
146
|
prerelease: false
|
147
147
|
type: :development
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.20
|
152
|
+
version: '0.20'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
requirement: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - "
|
156
|
+
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0'
|
158
|
+
version: '0.2'
|
159
159
|
name: simplecov-json
|
160
160
|
prerelease: false
|
161
161
|
type: :development
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
166
|
+
version: '0.2'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
requirement: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
|
-
- - "
|
170
|
+
- - "~>"
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '0'
|
172
|
+
version: '0.9'
|
173
173
|
name: timecop
|
174
174
|
prerelease: false
|
175
175
|
type: :development
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
180
|
+
version: '0.9'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
requirement: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
|
-
- - "
|
184
|
+
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
186
|
+
version: '3.14'
|
187
187
|
name: webmock
|
188
188
|
prerelease: false
|
189
189
|
type: :development
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - "
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
194
|
+
version: '3.14'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
requirement: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
@@ -212,6 +212,9 @@ dependencies:
|
|
212
212
|
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0.8'
|
215
|
+
- - "<"
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: 2.0.0
|
215
218
|
name: faraday
|
216
219
|
prerelease: false
|
217
220
|
type: :runtime
|
@@ -220,12 +223,18 @@ dependencies:
|
|
220
223
|
- - ">="
|
221
224
|
- !ruby/object:Gem::Version
|
222
225
|
version: '0.8'
|
226
|
+
- - "<"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 2.0.0
|
223
229
|
- !ruby/object:Gem::Dependency
|
224
230
|
requirement: !ruby/object:Gem::Requirement
|
225
231
|
requirements:
|
226
232
|
- - ">="
|
227
233
|
- !ruby/object:Gem::Version
|
228
234
|
version: '1.8'
|
235
|
+
- - "<="
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: 2.6.1
|
229
238
|
name: json
|
230
239
|
prerelease: false
|
231
240
|
type: :runtime
|
@@ -234,12 +243,18 @@ dependencies:
|
|
234
243
|
- - ">="
|
235
244
|
- !ruby/object:Gem::Version
|
236
245
|
version: '1.8'
|
246
|
+
- - "<="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: 2.6.1
|
237
249
|
- !ruby/object:Gem::Dependency
|
238
250
|
requirement: !ruby/object:Gem::Requirement
|
239
251
|
requirements:
|
240
252
|
- - ">="
|
241
253
|
- !ruby/object:Gem::Version
|
242
|
-
version:
|
254
|
+
version: 1.0.0
|
255
|
+
- - "<="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: 2.3.0
|
243
258
|
name: jwt
|
244
259
|
prerelease: false
|
245
260
|
type: :runtime
|
@@ -247,27 +262,33 @@ dependencies:
|
|
247
262
|
requirements:
|
248
263
|
- - ">="
|
249
264
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
265
|
+
version: 1.0.0
|
266
|
+
- - "<="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: 2.3.0
|
251
269
|
- !ruby/object:Gem::Dependency
|
252
270
|
requirement: !ruby/object:Gem::Requirement
|
253
271
|
requirements:
|
254
|
-
- - "
|
272
|
+
- - "~>"
|
255
273
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
274
|
+
version: '1.1'
|
257
275
|
name: lru_redux
|
258
276
|
prerelease: false
|
259
277
|
type: :runtime
|
260
278
|
version_requirements: !ruby/object:Gem::Requirement
|
261
279
|
requirements:
|
262
|
-
- - "
|
280
|
+
- - "~>"
|
263
281
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
282
|
+
version: '1.1'
|
265
283
|
- !ruby/object:Gem::Dependency
|
266
284
|
requirement: !ruby/object:Gem::Requirement
|
267
285
|
requirements:
|
268
286
|
- - ">="
|
269
287
|
- !ruby/object:Gem::Version
|
270
288
|
version: '2.9'
|
289
|
+
- - "<="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: 4.0.1
|
271
292
|
name: net-http-persistent
|
272
293
|
prerelease: false
|
273
294
|
type: :runtime
|
@@ -276,12 +297,18 @@ dependencies:
|
|
276
297
|
- - ">="
|
277
298
|
- !ruby/object:Gem::Version
|
278
299
|
version: '2.9'
|
300
|
+
- - "<="
|
301
|
+
- !ruby/object:Gem::Version
|
302
|
+
version: 4.0.1
|
279
303
|
- !ruby/object:Gem::Dependency
|
280
304
|
requirement: !ruby/object:Gem::Requirement
|
281
305
|
requirements:
|
282
306
|
- - ">="
|
283
307
|
- !ruby/object:Gem::Version
|
284
|
-
version: 4.
|
308
|
+
version: 4.0.0
|
309
|
+
- - "<="
|
310
|
+
- !ruby/object:Gem::Version
|
311
|
+
version: 4.5.1
|
285
312
|
name: redis
|
286
313
|
prerelease: false
|
287
314
|
type: :runtime
|
@@ -289,11 +316,17 @@ dependencies:
|
|
289
316
|
requirements:
|
290
317
|
- - ">="
|
291
318
|
- !ruby/object:Gem::Version
|
292
|
-
version: 4.
|
319
|
+
version: 4.0.0
|
320
|
+
- - "<="
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: 4.5.1
|
293
323
|
- !ruby/object:Gem::Dependency
|
294
324
|
requirement: !ruby/object:Gem::Requirement
|
295
325
|
requirements:
|
296
|
-
- - "
|
326
|
+
- - ">="
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: '0.4'
|
329
|
+
- - "<="
|
297
330
|
- !ruby/object:Gem::Version
|
298
331
|
version: 0.5.1
|
299
332
|
name: socketry
|
@@ -301,13 +334,16 @@ dependencies:
|
|
301
334
|
type: :runtime
|
302
335
|
version_requirements: !ruby/object:Gem::Requirement
|
303
336
|
requirements:
|
304
|
-
- - "
|
337
|
+
- - ">="
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
version: '0.4'
|
340
|
+
- - "<="
|
305
341
|
- !ruby/object:Gem::Version
|
306
342
|
version: 0.5.1
|
307
343
|
- !ruby/object:Gem::Dependency
|
308
344
|
requirement: !ruby/object:Gem::Requirement
|
309
345
|
requirements:
|
310
|
-
- - "
|
346
|
+
- - "~>"
|
311
347
|
- !ruby/object:Gem::Version
|
312
348
|
version: '0.3'
|
313
349
|
name: thread_safe
|
@@ -315,7 +351,7 @@ dependencies:
|
|
315
351
|
type: :runtime
|
316
352
|
version_requirements: !ruby/object:Gem::Requirement
|
317
353
|
requirements:
|
318
|
-
- - "
|
354
|
+
- - "~>"
|
319
355
|
- !ruby/object:Gem::Version
|
320
356
|
version: '0.3'
|
321
357
|
description: Ruby client for using split SDK.
|