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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4aa0e1b77dc2d6d1a15c8f7ae3d855380a215cb85cfcac13692fe8bebf40dcba
4
- data.tar.gz: 19dd87cf3ab214334ca8aac5005f9ffe27da098e019760cdbb3b31e07499b967
3
+ metadata.gz: 501e8c25499e39a409d85cd289c1c43b174393ba0b5818a661eaed8e4f0b2dcb
4
+ data.tar.gz: 427a41600e58f77116f5e06f4b551520438f7d7d099416eb2d2762b1f1ddc4c7
5
5
  SHA512:
6
- metadata.gz: c40b7b03dcb8510b465cb3fbcee25a7589fe8602c2812bd2f0285ad7e870b19dca8c3c1fa993dc7cb338897d96a5b4585504668cd7ce6ed4041046ec3de15590
7
- data.tar.gz: ff09b18d83757e59dc9e90c8b123f787aa040f4e242163170f28f9711913e371dfbbe2f79fc69aee381cd55a50283a70b53b55ba7684d9cdcff7bacb8e8aba8f
6
+ metadata.gz: 86b51d1fab78caf285e489cb2b4175ea4314cc6ae50fb5bba6ce6cbaf5aeb1da9f7abf2a0fbc3a853ec1c052dbcd176811986826d4634c8e59b08c34ca9b0bc3
7
+ data.tar.gz: aa3673e076dcc922e7ec049e97afe6810bf1cd347ce96179c639dd2bb4be5d5ef14588d9c908637290911d12b35d5cb5c44f4bef0c7c37f474c7539ee05ea384
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- absmartly-sdk (1.0.6)
4
+ absmartly-sdk (1.0.7)
5
5
  arraybuffer (~> 0.0.6)
6
6
  faraday (~> 1.10.3)
7
7
  murmurhash3 (~> 0.1.7)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Absmartly
4
- VERSION = "1.0.6"
4
+ VERSION = "1.0.7"
5
5
  end
@@ -22,9 +22,9 @@ class Attribute
22
22
 
23
23
  def to_s
24
24
  "Attribute{" +
25
- "name='" + @name + "'" +
26
- ", value=" + @value +
27
- ", setAt=" + @set_at +
25
+ "name='#{@name}'" +
26
+ ", value=#{@value}" +
27
+ ", setAt=#{@set_at}" +
28
28
  "}"
29
29
  end
30
30
  end
@@ -63,21 +63,21 @@ class Experiment
63
63
 
64
64
  def to_s
65
65
  "ContextExperiment{" +
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 + "'" +
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
@@ -22,8 +22,8 @@ class ExperimentVariant
22
22
 
23
23
  def to_s
24
24
  "ExperimentVariant{" +
25
- "name='" + @name + "'" +
26
- ", config='" + @config + "'" +
25
+ "name='#{@name}'" +
26
+ ", config='#{@config}'" +
27
27
  "}"
28
28
  end
29
29
  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=" + @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 +
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='" + @name + "'" +
28
- ", achieved_at='" + @achieved_at + "'" +
29
- ", properties='" + @properties.inspect + "'" +
27
+ "name='#{@name}'" +
28
+ ", achieved_at='#{@achieved_at}'" +
29
+ ", properties='#{@properties.inspect}'" +
30
30
  "}"
31
31
  end
32
32
  end
@@ -31,12 +31,12 @@ class PublishEvent
31
31
 
32
32
  def to_s
33
33
  "PublishEvent{" +
34
- "hashedUnits=" + @hashed +
35
- ", units=" + @units.inspect +
36
- ", publishedAt=" + @published_at +
37
- ", exposures=" + @exposures.inspect +
38
- ", goals=" + @goals.inspect +
39
- ", attributes=" + @attributes.join +
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.6
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-06 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday