splut 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/splut/models/experiment.rb +0 -1
- data/lib/splut/models/impression.rb +2 -7
- data/lib/splut/models/segment_participant.rb +1 -6
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84217c2fbd8e785797576ba6a3779ef6f8e158e2fc2fb07b6e0810a92a82ecd4
|
4
|
+
data.tar.gz: 99c99f86a54694c46530deeb1a8026d7c3d58f83b0ee2ed0650f8e4f993e7065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8022bad57b8e730f004925f6a177949f13cd3fada9a7e0b74892bb1a4c561dc0fad8c4df993e5441947e366575d770d146075741c0128398a23ee3f1c853cbb1
|
7
|
+
data.tar.gz: 62c4cc21202f07a8425c7db2cfd57ef2a2689e2dfe95e5d95565531a13692fb6a700b831849c1a78e9cf7ba9ce7405f3e8955fe9b9bb135cc2576e4bc65021d1
|
@@ -10,13 +10,8 @@ module Splut
|
|
10
10
|
belongs_to :splutable, polymorphic: true
|
11
11
|
belongs_to :segment_participant
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
counter_culture :variation, column_name: proc {|model| model.success ? '_impression_success' : nil },
|
16
|
-
column_names: {
|
17
|
-
["impressions.id IS NOT NULL"] => '_impression_total',
|
18
|
-
["impressions.success IS TRUE"] => '_impression_success'
|
19
|
-
}
|
13
|
+
counter_culture :variation, column_name: '_impression_total'
|
14
|
+
counter_culture :variation, column_name: proc {|model| model.success ? '_impression_success' : nil }
|
20
15
|
|
21
16
|
|
22
17
|
def success!
|
@@ -10,12 +10,7 @@ module Splut
|
|
10
10
|
has_many :impressions
|
11
11
|
|
12
12
|
counter_culture :variation, column_name: :_segment_total
|
13
|
-
counter_culture :variation, column_name: proc {|model| model.success ? '_segment_success' : nil }
|
14
|
-
column_names: {
|
15
|
-
["segment_participants.id IS NOT NULL"] => '_segment_total',
|
16
|
-
["segment_participants.success IS TRUE"] => '_segment_success'
|
17
|
-
}
|
18
|
-
|
13
|
+
counter_culture :variation, column_name: proc {|model| model.success ? '_segment_success' : nil }
|
19
14
|
|
20
15
|
def success!
|
21
16
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Fleetwood-Boldt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: counter_culture
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
91
|
+
rubygems_version: 3.2.33
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: A/B split testing Rails engine
|