vanity 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -4
- data/CHANGELOG +4 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/gemfiles/rails32.gemfile +1 -1
- data/gemfiles/rails32.gemfile.lock +3 -3
- data/gemfiles/rails41.gemfile +1 -1
- data/gemfiles/rails41.gemfile.lock +3 -3
- data/gemfiles/rails42.gemfile +1 -1
- data/gemfiles/rails42.gemfile.lock +3 -3
- data/gemfiles/rails42_protected_attributes.gemfile +1 -1
- data/gemfiles/rails42_protected_attributes.gemfile.lock +3 -3
- data/lib/vanity/templates/_ab_test.erb +1 -1
- data/lib/vanity/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 843eb11cbc6e68d0c354f22405f3e3184ed8c4e6
|
4
|
+
data.tar.gz: a419f3516e37ec3c8a4028cdee22286a7b0251c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 258d933e1eabd33b645083f25f70a1075fbfcf6086f3f388da1519ed11015ad1af7cd960e88276687b103f8776f607095505137f73bb48015362c2b1651b85ce
|
7
|
+
data.tar.gz: d85493029ebc5e913accb04a2dbafb505f6809bf72103303d4f4948656a308052f2e56716962c2cdc44a0fa785721ff31cacc0937dd0a06fa0fcf1d3d22eb6c5
|
data/.travis.yml
CHANGED
@@ -4,15 +4,15 @@ language: ruby
|
|
4
4
|
before_script:
|
5
5
|
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc' # skip installing docs for gems
|
6
6
|
before_install:
|
7
|
-
- gem install bundler -v "
|
8
|
-
bundler_args: --without development
|
7
|
+
- gem install bundler -v "~> 1.8.0" # Minimum version of bundler required
|
8
|
+
bundler_args: --without development --jobs=3
|
9
9
|
script: 'bundle exec rake test'
|
10
10
|
services:
|
11
11
|
- mongodb
|
12
12
|
- redis-server
|
13
13
|
rvm:
|
14
|
-
- 2.1
|
15
|
-
- 2.2.
|
14
|
+
- 2.1
|
15
|
+
- 2.2.2
|
16
16
|
- 2.3.0
|
17
17
|
- jruby-19mode
|
18
18
|
env:
|
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vanity (2.2.
|
4
|
+
vanity (2.2.4)
|
5
5
|
i18n
|
6
6
|
|
7
7
|
GEM
|
@@ -97,7 +97,7 @@ GEM
|
|
97
97
|
redis (3.0.6)
|
98
98
|
redis-namespace (1.3.2)
|
99
99
|
redis (~> 3.0.4)
|
100
|
-
rubystats (0.2.
|
100
|
+
rubystats (0.2.5)
|
101
101
|
safe_yaml (1.0.4)
|
102
102
|
sass (3.4.13)
|
103
103
|
slop (3.6.0)
|
@@ -135,7 +135,7 @@ DEPENDENCIES
|
|
135
135
|
rake
|
136
136
|
redis (>= 2.1)
|
137
137
|
redis-namespace (>= 1.1.0)
|
138
|
-
rubystats (>= 0.2.
|
138
|
+
rubystats (>= 0.2.5)
|
139
139
|
sqlite3 (~> 1.3.10)
|
140
140
|
timecop
|
141
141
|
vanity!
|
data/gemfiles/rails32.gemfile
CHANGED
@@ -7,7 +7,7 @@ gem "redis", ">= 2.1"
|
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
8
|
gem "mongo", "~> 2.1"
|
9
9
|
gem "integration", "<= 0.1.0"
|
10
|
-
gem "rubystats", ">= 0.2.
|
10
|
+
gem "rubystats", ">= 0.2.5"
|
11
11
|
gem "garb", "< 0.9.2", :require => false
|
12
12
|
gem "mocha", "~> 1.0", :require => false
|
13
13
|
gem "minitest", "~>4.2.0"
|
@@ -7,7 +7,7 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: ..
|
9
9
|
specs:
|
10
|
-
vanity (2.2.
|
10
|
+
vanity (2.2.4)
|
11
11
|
i18n
|
12
12
|
|
13
13
|
GEM
|
@@ -174,7 +174,7 @@ GEM
|
|
174
174
|
redis (3.0.6)
|
175
175
|
redis-namespace (1.3.2)
|
176
176
|
redis (~> 3.0.4)
|
177
|
-
rubystats (0.2.
|
177
|
+
rubystats (0.2.5)
|
178
178
|
safe_yaml (1.0.4)
|
179
179
|
sass (3.4.13)
|
180
180
|
slop (3.6.0)
|
@@ -229,7 +229,7 @@ DEPENDENCIES
|
|
229
229
|
rake
|
230
230
|
redis (>= 2.1)
|
231
231
|
redis-namespace (>= 1.1.0)
|
232
|
-
rubystats (>= 0.2.
|
232
|
+
rubystats (>= 0.2.5)
|
233
233
|
sqlite3 (~> 1.3.10)
|
234
234
|
test-unit (~> 3.0)
|
235
235
|
timecop
|
data/gemfiles/rails41.gemfile
CHANGED
@@ -7,7 +7,7 @@ gem "redis", ">= 2.1"
|
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
8
|
gem "mongo", "~> 2.1"
|
9
9
|
gem "integration", "<= 0.1.0"
|
10
|
-
gem "rubystats", ">= 0.2.
|
10
|
+
gem "rubystats", ">= 0.2.5"
|
11
11
|
gem "garb", "< 0.9.2", :require => false
|
12
12
|
gem "mocha", "~> 1.0", :require => false
|
13
13
|
gem "rails", "4.1.9"
|
@@ -7,7 +7,7 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: .././
|
9
9
|
specs:
|
10
|
-
vanity (2.2.
|
10
|
+
vanity (2.2.4)
|
11
11
|
i18n
|
12
12
|
|
13
13
|
GEM
|
@@ -162,7 +162,7 @@ GEM
|
|
162
162
|
redis (3.0.7)
|
163
163
|
redis-namespace (1.4.1)
|
164
164
|
redis (~> 3.0.4)
|
165
|
-
rubystats (0.2.
|
165
|
+
rubystats (0.2.5)
|
166
166
|
safe_yaml (1.0.4)
|
167
167
|
sass (3.4.13)
|
168
168
|
slop (3.6.0)
|
@@ -218,7 +218,7 @@ DEPENDENCIES
|
|
218
218
|
rake
|
219
219
|
redis (>= 2.1)
|
220
220
|
redis-namespace (>= 1.1.0)
|
221
|
-
rubystats (>= 0.2.
|
221
|
+
rubystats (>= 0.2.5)
|
222
222
|
sqlite3 (~> 1.3.10)
|
223
223
|
timecop
|
224
224
|
vanity!
|
data/gemfiles/rails42.gemfile
CHANGED
@@ -7,7 +7,7 @@ gem "redis", ">= 2.1"
|
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
8
|
gem "mongo", "~> 2.1"
|
9
9
|
gem "integration", "<= 0.1.0"
|
10
|
-
gem "rubystats", ">= 0.2.
|
10
|
+
gem "rubystats", ">= 0.2.5"
|
11
11
|
gem "garb", "< 0.9.2", :require => false
|
12
12
|
gem "mocha", "~> 1.0", :require => false
|
13
13
|
gem "rails", "4.2.0"
|
@@ -7,7 +7,7 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: ..
|
9
9
|
specs:
|
10
|
-
vanity (2.2.
|
10
|
+
vanity (2.2.4)
|
11
11
|
i18n
|
12
12
|
|
13
13
|
GEM
|
@@ -188,7 +188,7 @@ GEM
|
|
188
188
|
redis (3.2.0)
|
189
189
|
redis-namespace (1.5.1)
|
190
190
|
redis (~> 3.0, >= 3.0.4)
|
191
|
-
rubystats (0.2.
|
191
|
+
rubystats (0.2.5)
|
192
192
|
safe_yaml (1.0.4)
|
193
193
|
sass (3.4.13)
|
194
194
|
slop (3.6.0)
|
@@ -244,7 +244,7 @@ DEPENDENCIES
|
|
244
244
|
rake
|
245
245
|
redis (>= 2.1)
|
246
246
|
redis-namespace (>= 1.1.0)
|
247
|
-
rubystats (>= 0.2.
|
247
|
+
rubystats (>= 0.2.5)
|
248
248
|
sqlite3 (~> 1.3.10)
|
249
249
|
timecop
|
250
250
|
vanity!
|
@@ -7,7 +7,7 @@ gem "redis", ">= 2.1"
|
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
8
|
gem "mongo", "~> 2.1"
|
9
9
|
gem "integration", "<= 0.1.0"
|
10
|
-
gem "rubystats", ">= 0.2.
|
10
|
+
gem "rubystats", ">= 0.2.5"
|
11
11
|
gem "garb", "< 0.9.2", :require => false
|
12
12
|
gem "protected_attributes", "1.1.0"
|
13
13
|
gem "mocha", "~> 1.0", :require => false
|
@@ -7,7 +7,7 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: ../
|
9
9
|
specs:
|
10
|
-
vanity (2.2.
|
10
|
+
vanity (2.2.4)
|
11
11
|
i18n
|
12
12
|
|
13
13
|
GEM
|
@@ -180,7 +180,7 @@ GEM
|
|
180
180
|
redis (3.2.2)
|
181
181
|
redis-namespace (1.5.2)
|
182
182
|
redis (~> 3.0, >= 3.0.4)
|
183
|
-
rubystats (0.2.
|
183
|
+
rubystats (0.2.5)
|
184
184
|
safe_yaml (1.0.4)
|
185
185
|
sass (3.4.20)
|
186
186
|
slop (3.6.0)
|
@@ -231,7 +231,7 @@ DEPENDENCIES
|
|
231
231
|
rake
|
232
232
|
redis (>= 2.1)
|
233
233
|
redis-namespace (>= 1.1.0)
|
234
|
-
rubystats (>= 0.2.
|
234
|
+
rubystats (>= 0.2.5)
|
235
235
|
sqlite3 (~> 1.3.10)
|
236
236
|
timecop
|
237
237
|
vanity!
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<td class="value"><%= I18n.t 'vanity.converted', :count=>alt.converted %></td>
|
19
19
|
<td>
|
20
20
|
<%= "%.1f%%" % [alt.conversion_rate * 100] %>
|
21
|
-
<%= I18n.t('vanity.best_alternative', :
|
21
|
+
<%= I18n.t('vanity.best_alternative', :probability=>alt.probability.to_i) if score.method == :bayes_bandit_score %>
|
22
22
|
<%= I18n.t('vanity.better_alternative_than', :probability=>alt.difference.to_i, :alternative=>score.least.name) if alt.difference && alt.difference >= 1 %>
|
23
23
|
</td>
|
24
24
|
<% if experiment.enabled? && experiment.active? && respond_to?(:url_for) %>
|
data/lib/vanity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Assaf Arkin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -284,7 +284,7 @@ metadata: {}
|
|
284
284
|
post_install_message: To get started run vanity --help
|
285
285
|
rdoc_options:
|
286
286
|
- "--title"
|
287
|
-
- Vanity 2.2.
|
287
|
+
- Vanity 2.2.4
|
288
288
|
- "--main"
|
289
289
|
- README.md
|
290
290
|
- "--webcvs"
|