splitclient-rb 7.0.3.pre.rc5-java → 7.0.3.pre.rc6-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: eded74ffe6a52f032c6380cecfa64c668465d418
4
- data.tar.gz: 84cf0f26c17fffac125c62012f2d35a6110cd26a
3
+ metadata.gz: fdd2c89f5ded7d31b8f923c1a4f425c16c4f1868
4
+ data.tar.gz: 584a0ac3f6146d6ebc714e4f7d9522c755ee1ad7
5
5
  SHA512:
6
- metadata.gz: a01c30934294a9625c622e22c3af9c6d7a014804f12aa24dac2204e1a3ef4d4e61067bf60911f226432773afb2941ee2742080c0df003d18d3aa5e595915f949
7
- data.tar.gz: c0d00fafab0d9ac25573ccab0b9490829176dcdee1d43db66611bdde1bd2c4fc9c35b1db96f3b57806ba36d83e426e187eb543d1a2a358111bfd8ec59bdaaf31
6
+ metadata.gz: 484c3b699e78bd9317d6c495df29767c1b68bad4966d7e801febc49c99d3a4a0ae88c47339f109dada8a4de27557f472c949360f923c31f3346b4e3ebea78e79
7
+ data.tar.gz: 3d983ce1750d405445e49efb47c4fedc4234f719d5deae7f9e175c7f765a9397785614c55507340236930b5a5c722034741ffe15df651b041654544eccf5696c
@@ -28,6 +28,7 @@ module SplitIoClient
28
28
  split_name: split_name.to_s,
29
29
  matching_key: impressions[:matching_key],
30
30
  bucketing_key: impressions[:bucketing_key],
31
+ time: impressions[:time],
31
32
  treatment: {
32
33
  label: impressions[:treatments_labels_change_numbers][split_name.to_sym][:label],
33
34
  treatment: impressions[:treatments_labels_change_numbers][split_name.to_sym][:treatment],
@@ -9,16 +9,12 @@ module SplitIoClient
9
9
  @config = config
10
10
  end
11
11
 
12
- def call
13
- if ENV['SPLITCLIENT_ENV'] == 'test'
14
- post_events
15
- else
16
- events_thread
17
-
18
- if defined?(PhusionPassenger)
19
- PhusionPassenger.on_event(:starting_worker_process) do |forked|
20
- events_thread if forked
21
- end
12
+ def call
13
+ events_thread
14
+
15
+ if defined?(PhusionPassenger)
16
+ PhusionPassenger.on_event(:starting_worker_process) do |forked|
17
+ events_thread if forked
22
18
  end
23
19
  end
24
20
  end
@@ -11,15 +11,11 @@ module SplitIoClient
11
11
  end
12
12
 
13
13
  def call
14
- if ENV['SPLITCLIENT_ENV'] == 'test'
15
- post_impressions
16
- else
17
- impressions_thread
18
-
19
- if defined?(PhusionPassenger)
20
- PhusionPassenger.on_event(:starting_worker_process) do |forked|
21
- impressions_thread if forked
22
- end
14
+ impressions_thread
15
+
16
+ if defined?(PhusionPassenger)
17
+ PhusionPassenger.on_event(:starting_worker_process) do |forked|
18
+ impressions_thread if forked
23
19
  end
24
20
  end
25
21
  end
@@ -11,8 +11,6 @@ module SplitIoClient
11
11
  end
12
12
 
13
13
  def call
14
- return if ENV['SPLITCLIENT_ENV'] == 'test'
15
-
16
14
  metrics_thread
17
15
 
18
16
  if defined?(PhusionPassenger)
@@ -97,7 +97,11 @@ module SplitIoClient
97
97
  matching_key: matching_key,
98
98
  bucketing_key: bucketing_key,
99
99
  time: time,
100
- treatment: treatment,
100
+ treatment: {
101
+ label: treatment[:label],
102
+ treatment: treatment[:treatment],
103
+ change_number: treatment[:change_number]
104
+ },
101
105
  attributes: attributes
102
106
  )
103
107
  end
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.0.3.pre.rc5'
2
+ VERSION = '7.0.3.pre.rc6'
3
3
  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.0.3.pre.rc5
4
+ version: 7.0.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: 2019-12-13 00:00:00.000000000 Z
11
+ date: 2020-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement