absmartly-sdk 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/absmartly/version.rb +1 -1
- data/lib/json/attribute.rb +3 -3
- data/lib/json/experiment.rb +15 -15
- data/lib/json/experiment_variant.rb +2 -2
- data/lib/json/exposure.rb +11 -11
- data/lib/json/goal_achievement.rb +3 -3
- data/lib/json/publish_event.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 501e8c25499e39a409d85cd289c1c43b174393ba0b5818a661eaed8e4f0b2dcb
|
4
|
+
data.tar.gz: 427a41600e58f77116f5e06f4b551520438f7d7d099416eb2d2762b1f1ddc4c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86b51d1fab78caf285e489cb2b4175ea4314cc6ae50fb5bba6ce6cbaf5aeb1da9f7abf2a0fbc3a853ec1c052dbcd176811986826d4634c8e59b08c34ca9b0bc3
|
7
|
+
data.tar.gz: aa3673e076dcc922e7ec049e97afe6810bf1cd347ce96179c639dd2bb4be5d5ef14588d9c908637290911d12b35d5cb5c44f4bef0c7c37f474c7539ee05ea384
|
data/Gemfile.lock
CHANGED
data/lib/absmartly/version.rb
CHANGED
data/lib/json/attribute.rb
CHANGED
data/lib/json/experiment.rb
CHANGED
@@ -63,21 +63,21 @@ class Experiment
|
|
63
63
|
|
64
64
|
def to_s
|
65
65
|
"ContextExperiment{" +
|
66
|
-
"id=
|
67
|
-
", name='
|
68
|
-
", unitType='
|
69
|
-
", iteration
|
70
|
-
", seedHi
|
71
|
-
", seedLo
|
72
|
-
", split
|
73
|
-
", trafficSeedHi
|
74
|
-
", trafficSeedLo
|
75
|
-
", trafficSplit
|
76
|
-
", fullOnVariant
|
77
|
-
", applications
|
78
|
-
", variants
|
79
|
-
", audienceStrict
|
80
|
-
", audience='
|
66
|
+
"id= #{@id}"+
|
67
|
+
", name='#{@name}'" +
|
68
|
+
", unitType='#{@unit_type}'" +
|
69
|
+
", iteration=#{@iteration}" +
|
70
|
+
", seedHi=#{@seed_hi}" +
|
71
|
+
", seedLo=#{@seed_lo}" +
|
72
|
+
", split=#{@split.join}" +
|
73
|
+
", trafficSeedHi=#{@traffic_seed_hi}" +
|
74
|
+
", trafficSeedLo=#{@traffic_seed_lo}" +
|
75
|
+
", trafficSplit=#{@traffic_split.join}" +
|
76
|
+
", fullOnVariant=#{@full_on_variant}" +
|
77
|
+
", applications=#{@applications.join}" +
|
78
|
+
", variants=#{@variants.join}" +
|
79
|
+
", audienceStrict=#{@audience_strict}" +
|
80
|
+
", audience='#{@audience}'" +
|
81
81
|
"}"
|
82
82
|
end
|
83
83
|
end
|
data/lib/json/exposure.rb
CHANGED
@@ -44,17 +44,17 @@ class Exposure
|
|
44
44
|
|
45
45
|
def to_s
|
46
46
|
"Exposure{" +
|
47
|
-
"id
|
48
|
-
"name='
|
49
|
-
", unit
|
50
|
-
", variant
|
51
|
-
", exposed_at
|
52
|
-
", assigned
|
53
|
-
", eligible
|
54
|
-
", overridden
|
55
|
-
", full_on
|
56
|
-
", custom
|
57
|
-
", audience_mismatch
|
47
|
+
"id=#{@id}" +
|
48
|
+
"name='#{@name}'" +
|
49
|
+
", unit=#{@unit}" +
|
50
|
+
", variant=#{@variant}" +
|
51
|
+
", exposed_at=#{@exposed_at}" +
|
52
|
+
", assigned=#{@assigned}" +
|
53
|
+
", eligible=#{@eligible}" +
|
54
|
+
", overridden=#{@overridden}" +
|
55
|
+
", full_on=#{@full_on}" +
|
56
|
+
", custom=#{@custom}" +
|
57
|
+
", audience_mismatch=#{@audience_mismatch}" +
|
58
58
|
"}"
|
59
59
|
end
|
60
60
|
end
|
@@ -24,9 +24,9 @@ class GoalAchievement
|
|
24
24
|
|
25
25
|
def to_s
|
26
26
|
"GoalAchievement{" +
|
27
|
-
"name='
|
28
|
-
", achieved_at='
|
29
|
-
", properties='
|
27
|
+
"name='#{@name}'" +
|
28
|
+
", achieved_at='#{@achieved_at}'" +
|
29
|
+
", properties='#{@properties.inspect}'" +
|
30
30
|
"}"
|
31
31
|
end
|
32
32
|
end
|
data/lib/json/publish_event.rb
CHANGED
@@ -31,12 +31,12 @@ class PublishEvent
|
|
31
31
|
|
32
32
|
def to_s
|
33
33
|
"PublishEvent{" +
|
34
|
-
"hashedUnits
|
35
|
-
", units
|
36
|
-
", publishedAt
|
37
|
-
", exposures
|
38
|
-
", goals
|
39
|
-
", attributes
|
34
|
+
"hashedUnits=#{@hashed}" +
|
35
|
+
", units=#{@units.inspect}" +
|
36
|
+
", publishedAt=#{@published_at}" +
|
37
|
+
", exposures=#{@exposures.inspect}" +
|
38
|
+
", goals=#{@goals.inspect}" +
|
39
|
+
", attributes=#{@attributes!=nil ? @attributes.join : ""}" +
|
40
40
|
"}"
|
41
41
|
end
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: absmartly-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- absmartly
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|