splitclient-rb 7.3.2.pre.rc5-java → 7.3.3.pre.rc4-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c917976eb6355b62f027e7ef26c09500cc178036
4
- data.tar.gz: c46a506b6827f1e82d0b2ba93e1999fb36aefc44
3
+ metadata.gz: 5316d044968e918ca806edc2fccd61860b60e5ef
4
+ data.tar.gz: c55d616c4a05530a0b3b794cfd81a20c8452c747
5
5
  SHA512:
6
- metadata.gz: a3d0cb16db7dcaf8c2988b965532e479f54be59b850bc1a04f1f45c049812740eac4544828eeb382d0748dd00b1d45379bada72e2088c0266b1ef4260eb64a70
7
- data.tar.gz: 90e841e898379408d6a3104e97ed1f065abba0a46a6d01b9ecc6f04e9d42cd38d01164b0b6440747e04fb174621620666808ea17e8e9706647d7aafb9662b811
6
+ metadata.gz: 3a64db407708539d8ed227403c6f0905d6b54dd8f2a278fa218878bdd14321343304b4be386c01e03fab116775ee7342a07e5fead67d7bfc64af7265d16c6095
7
+ data.tar.gz: dd719c62665097b8a8f7690bccd11265cb4aaa65e9cfa1187fcabe50c6c809fc410fd0023942057a519332ab86aed538e63cbab7a4b7f487d9c8c371d6cfd058
data/.rubocop.yml CHANGED
@@ -64,3 +64,4 @@ AllCops:
64
64
  - lib/splitclient-rb/engine/parser/**/*
65
65
  - spec/telemetry/synchronizer_spec.rb
66
66
  - lib/splitclient-rb/engine/synchronizer.rb
67
+ - tmp/**/*
data/CHANGES.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  CHANGES
2
2
 
3
- 7.3.2 (Dec 3, 2021)
3
+ 7.3.2 (Dec 10, 2021)
4
4
  - Updated the readiness flow to be more consistent with the other sdks and improve the readiness time.
5
5
  - Updated the name of telemety key latencies in Redis.
6
6
 
@@ -15,15 +15,10 @@ module SplitIoClient
15
15
  def call
16
16
  if ENV['SPLITCLIENT_ENV'] == 'test'
17
17
  fetch_segments
18
- else
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
- else
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 })
@@ -11,12 +11,6 @@ module SplitIoClient
11
11
 
12
12
  def call
13
13
  events_thread
14
-
15
- if defined?(PhusionPassenger)
16
- PhusionPassenger.on_event(:starting_worker_process) do |forked|
17
- events_thread if forked
18
- end
19
- end
20
14
  end
21
15
 
22
16
  private
@@ -14,12 +14,6 @@ module SplitIoClient
14
14
 
15
15
  def call
16
16
  impressions_count_thread
17
-
18
- if defined?(PhusionPassenger)
19
- PhusionPassenger.on_event(:starting_worker_process) do |forked|
20
- impressions_count_thread if forked
21
- end
22
- end
23
17
  end
24
18
 
25
19
  private
@@ -12,12 +12,6 @@ module SplitIoClient
12
12
 
13
13
  def call
14
14
  impressions_thread
15
-
16
- if defined?(PhusionPassenger)
17
- PhusionPassenger.on_event(:starting_worker_process) do |forked|
18
- impressions_thread if forked
19
- end
20
- end
21
15
  end
22
16
 
23
17
  private
@@ -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
@@ -61,10 +61,6 @@ module SplitIoClient
61
61
  perform
62
62
  end
63
63
  end
64
-
65
- def perform_passenger_forked
66
- PhusionPassenger.on_event(:starting_worker_process) { |forked| perform_thread if forked }
67
- end
68
64
  end
69
65
  end
70
66
  end
@@ -70,10 +70,6 @@ module SplitIoClient
70
70
  perform
71
71
  end
72
72
  end
73
-
74
- def perform_passenger_forked
75
- PhusionPassenger.on_event(:starting_worker_process) { |forked| perform_thread if forked }
76
- end
77
73
  end
78
74
  end
79
75
  end
@@ -10,8 +10,6 @@ module SplitIoClient
10
10
 
11
11
  def call
12
12
  stats_thread
13
-
14
- PhusionPassenger.on_event(:starting_worker_process) { |forked| stats_thread if forked } if defined?(PhusionPassenger)
15
13
  end
16
14
 
17
15
  private
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.3.2.pre.rc5'
2
+ VERSION = '7.3.3.pre.rc4'
3
3
  end
@@ -51,12 +51,12 @@ 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', '>= 0.8'
55
- spec.add_runtime_dependency 'json', '>= 1.8'
56
- spec.add_runtime_dependency 'jwt', '>= 2.2.1'
57
- spec.add_runtime_dependency 'lru_redux'
58
- spec.add_runtime_dependency 'net-http-persistent', '>= 2.9'
59
- spec.add_runtime_dependency 'redis', '>= 4.2.2'
60
- spec.add_runtime_dependency 'socketry', '~> 0.5.1'
61
- spec.add_runtime_dependency 'thread_safe', '>= 0.3'
54
+ spec.add_runtime_dependency 'faraday', '>= 0.8', '< 2.0.0'
55
+ spec.add_runtime_dependency 'json', '~> 2.6'
56
+ spec.add_runtime_dependency 'jwt', '~> 2.3'
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.2'
60
+ spec.add_runtime_dependency 'socketry', '~> 0.5'
61
+ spec.add_runtime_dependency 'thread_safe', '~> 0.3'
62
62
  end
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.2.pre.rc5
4
+ version: 7.3.3.pre.rc4
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-02 00:00:00.000000000 Z
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
@@ -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,54 +223,60 @@ 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
- version: '1.8'
234
+ version: '2.6'
229
235
  name: json
230
236
  prerelease: false
231
237
  type: :runtime
232
238
  version_requirements: !ruby/object:Gem::Requirement
233
239
  requirements:
234
- - - ">="
240
+ - - "~>"
235
241
  - !ruby/object:Gem::Version
236
- version: '1.8'
242
+ version: '2.6'
237
243
  - !ruby/object:Gem::Dependency
238
244
  requirement: !ruby/object:Gem::Requirement
239
245
  requirements:
240
- - - ">="
246
+ - - "~>"
241
247
  - !ruby/object:Gem::Version
242
- version: 2.2.1
248
+ version: '2.3'
243
249
  name: jwt
244
250
  prerelease: false
245
251
  type: :runtime
246
252
  version_requirements: !ruby/object:Gem::Requirement
247
253
  requirements:
248
- - - ">="
254
+ - - "~>"
249
255
  - !ruby/object:Gem::Version
250
- version: 2.2.1
256
+ version: '2.3'
251
257
  - !ruby/object:Gem::Dependency
252
258
  requirement: !ruby/object:Gem::Requirement
253
259
  requirements:
254
- - - ">="
260
+ - - "~>"
255
261
  - !ruby/object:Gem::Version
256
- version: '0'
262
+ version: '1.1'
257
263
  name: lru_redux
258
264
  prerelease: false
259
265
  type: :runtime
260
266
  version_requirements: !ruby/object:Gem::Requirement
261
267
  requirements:
262
- - - ">="
268
+ - - "~>"
263
269
  - !ruby/object:Gem::Version
264
- version: '0'
270
+ version: '1.1'
265
271
  - !ruby/object:Gem::Dependency
266
272
  requirement: !ruby/object:Gem::Requirement
267
273
  requirements:
268
274
  - - ">="
269
275
  - !ruby/object:Gem::Version
270
276
  version: '2.9'
277
+ - - "<="
278
+ - !ruby/object:Gem::Version
279
+ version: 4.0.1
271
280
  name: net-http-persistent
272
281
  prerelease: false
273
282
  type: :runtime
@@ -276,26 +285,29 @@ dependencies:
276
285
  - - ">="
277
286
  - !ruby/object:Gem::Version
278
287
  version: '2.9'
288
+ - - "<="
289
+ - !ruby/object:Gem::Version
290
+ version: 4.0.1
279
291
  - !ruby/object:Gem::Dependency
280
292
  requirement: !ruby/object:Gem::Requirement
281
293
  requirements:
282
- - - ">="
294
+ - - "~>"
283
295
  - !ruby/object:Gem::Version
284
- version: 4.2.2
296
+ version: '4.2'
285
297
  name: redis
286
298
  prerelease: false
287
299
  type: :runtime
288
300
  version_requirements: !ruby/object:Gem::Requirement
289
301
  requirements:
290
- - - ">="
302
+ - - "~>"
291
303
  - !ruby/object:Gem::Version
292
- version: 4.2.2
304
+ version: '4.2'
293
305
  - !ruby/object:Gem::Dependency
294
306
  requirement: !ruby/object:Gem::Requirement
295
307
  requirements:
296
308
  - - "~>"
297
309
  - !ruby/object:Gem::Version
298
- version: 0.5.1
310
+ version: '0.5'
299
311
  name: socketry
300
312
  prerelease: false
301
313
  type: :runtime
@@ -303,11 +315,11 @@ dependencies:
303
315
  requirements:
304
316
  - - "~>"
305
317
  - !ruby/object:Gem::Version
306
- version: 0.5.1
318
+ version: '0.5'
307
319
  - !ruby/object:Gem::Dependency
308
320
  requirement: !ruby/object:Gem::Requirement
309
321
  requirements:
310
- - - ">="
322
+ - - "~>"
311
323
  - !ruby/object:Gem::Version
312
324
  version: '0.3'
313
325
  name: thread_safe
@@ -315,7 +327,7 @@ dependencies:
315
327
  type: :runtime
316
328
  version_requirements: !ruby/object:Gem::Requirement
317
329
  requirements:
318
- - - ">="
330
+ - - "~>"
319
331
  - !ruby/object:Gem::Version
320
332
  version: '0.3'
321
333
  description: Ruby client for using split SDK.