vanity 2.0.0.beta7 → 2.0.0.beta8
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +8 -14
- data/Appraisals +4 -3
- data/Gemfile +12 -4
- data/Gemfile.lock +76 -24
- data/README.rdoc +20 -2
- data/Rakefile +8 -8
- data/gemfiles/rails32.gemfile +19 -10
- data/gemfiles/rails32.gemfile.lock +136 -81
- data/gemfiles/rails4.gemfile +17 -9
- data/gemfiles/rails4.gemfile.lock +18 -11
- data/gemfiles/rails41.gemfile +17 -9
- data/gemfiles/rails41.gemfile.lock +62 -31
- data/gemfiles/rails42.gemfile +17 -9
- data/gemfiles/rails42.gemfile.lock +32 -19
- data/lib/vanity/experiment/ab_test.rb +12 -20
- data/lib/vanity/version.rb +1 -1
- data/test/cli_test.rb +15 -13
- data/test/experiment/ab_test.rb +37 -2
- data/test/helper_test.rb +13 -3
- data/test/test_helper.rb +1 -6
- metadata +3 -3
data/gemfiles/rails4.gemfile
CHANGED
@@ -5,26 +5,34 @@ source "https://rubygems.org"
|
|
5
5
|
gem "rack"
|
6
6
|
gem "redis", ">= 2.1"
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
|
-
gem "bson_ext"
|
9
8
|
gem "mongo"
|
10
|
-
gem "sqlite3"
|
11
9
|
gem "integration", "<= 0.1.0"
|
12
10
|
gem "rubystats"
|
13
11
|
gem "garb", "< 0.9.2"
|
14
|
-
gem "timecop", :require=>false
|
15
|
-
gem "webmock", :require=>false
|
16
|
-
gem "mocha", "~> 1.0", :require=>false
|
12
|
+
gem "timecop", :require => false
|
13
|
+
gem "webmock", :require => false
|
14
|
+
gem "mocha", "~> 1.0", :require => false
|
17
15
|
gem "rails", "4.0.13"
|
18
|
-
gem "fastthread", :git=>"git://github.com/zoltankiss/fastthread.git", :platforms
|
16
|
+
gem "fastthread", :git => "git://github.com/zoltankiss/fastthread.git", :platforms => :mri_20
|
19
17
|
gem "passenger", "~>3.0"
|
20
18
|
gem "test-unit"
|
21
19
|
|
22
20
|
group :development do
|
23
|
-
gem "appraisal", "
|
24
|
-
gem "jekyll"
|
21
|
+
gem "appraisal", "~> 1.0.2"
|
22
|
+
gem "jekyll", :platform => :ruby
|
25
23
|
gem "rake"
|
26
24
|
gem "RedCloth"
|
27
25
|
gem "yard"
|
28
26
|
end
|
29
27
|
|
30
|
-
|
28
|
+
platforms :ruby do
|
29
|
+
gem "bson_ext"
|
30
|
+
gem "sqlite3", "~> 1.3.10"
|
31
|
+
end
|
32
|
+
|
33
|
+
platforms :jruby do
|
34
|
+
gem "activerecord-jdbc-adapter"
|
35
|
+
gem "jdbc-sqlite3"
|
36
|
+
end
|
37
|
+
|
38
|
+
gemspec :path => "../"
|
@@ -7,13 +7,14 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: ..
|
9
9
|
specs:
|
10
|
-
vanity (2.0.0.
|
10
|
+
vanity (2.0.0.beta8)
|
11
11
|
i18n
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
16
|
RedCloth (4.2.9)
|
17
|
+
RedCloth (4.2.9-java)
|
17
18
|
actionmailer (4.0.13)
|
18
19
|
actionpack (= 4.0.13)
|
19
20
|
mail (~> 2.5, >= 2.5.4)
|
@@ -32,6 +33,8 @@ GEM
|
|
32
33
|
activesupport (= 4.0.13)
|
33
34
|
arel (~> 4.0.0)
|
34
35
|
activerecord-deprecated_finders (1.0.3)
|
36
|
+
activerecord-jdbc-adapter (1.3.15)
|
37
|
+
activerecord (>= 2.2)
|
35
38
|
activesupport (4.0.13)
|
36
39
|
i18n (~> 0.6, >= 0.6.9)
|
37
40
|
minitest (~> 4.2)
|
@@ -41,29 +44,31 @@ GEM
|
|
41
44
|
addressable (2.3.5)
|
42
45
|
albino (1.3.3)
|
43
46
|
posix-spawn (>= 0.3.6)
|
44
|
-
appraisal (1.0.
|
47
|
+
appraisal (1.0.3)
|
45
48
|
bundler
|
46
49
|
rake
|
47
50
|
thor (>= 0.14.0)
|
48
51
|
arel (4.0.2)
|
49
52
|
bson (1.9.2)
|
53
|
+
bson (1.9.2-java)
|
50
54
|
bson_ext (1.9.2)
|
51
55
|
bson (~> 1.9.2)
|
52
56
|
builder (3.1.4)
|
53
|
-
classifier (1.3.
|
57
|
+
classifier (1.3.4)
|
54
58
|
fast-stemmer (>= 1.0.0)
|
55
59
|
crack (0.4.1)
|
56
60
|
safe_yaml (~> 0.9.0)
|
57
61
|
daemon_controller (1.1.7)
|
58
62
|
directory_watcher (1.4.1)
|
59
63
|
erubis (2.7.0)
|
60
|
-
fast-stemmer (1.0.
|
64
|
+
fast-stemmer (1.0.2)
|
61
65
|
garb (0.9.1)
|
62
66
|
activesupport (>= 2.2.0)
|
63
67
|
crack (>= 0.1.6)
|
64
68
|
hike (1.2.3)
|
65
69
|
i18n (0.7.0)
|
66
70
|
integration (0.1.0)
|
71
|
+
jdbc-sqlite3 (3.8.7)
|
67
72
|
jekyll (0.11.2)
|
68
73
|
albino (~> 1.3)
|
69
74
|
classifier (~> 1.3)
|
@@ -72,11 +77,10 @@ GEM
|
|
72
77
|
liquid (~> 2.3)
|
73
78
|
maruku (~> 0.5)
|
74
79
|
kramdown (0.13.5)
|
75
|
-
liquid (2.
|
80
|
+
liquid (2.6.2)
|
76
81
|
mail (2.6.3)
|
77
82
|
mime-types (>= 1.16, < 3)
|
78
|
-
maruku (0.
|
79
|
-
syntax (>= 1.0.0)
|
83
|
+
maruku (0.7.0)
|
80
84
|
metaclass (0.0.4)
|
81
85
|
mime-types (2.4.3)
|
82
86
|
minitest (4.7.5)
|
@@ -90,7 +94,7 @@ GEM
|
|
90
94
|
fastthread (>= 1.0.1)
|
91
95
|
rack
|
92
96
|
rake (>= 0.8.1)
|
93
|
-
posix-spawn (0.3.
|
97
|
+
posix-spawn (0.3.11)
|
94
98
|
power_assert (0.2.2)
|
95
99
|
rack (1.5.2)
|
96
100
|
rack-test (0.6.3)
|
@@ -124,11 +128,11 @@ GEM
|
|
124
128
|
activesupport (>= 3.0)
|
125
129
|
sprockets (>= 2.8, < 4.0)
|
126
130
|
sqlite3 (1.3.10)
|
127
|
-
syntax (1.0.0)
|
128
131
|
test-unit (3.0.9)
|
129
132
|
power_assert
|
130
133
|
thor (0.19.1)
|
131
134
|
thread_safe (0.3.4)
|
135
|
+
thread_safe (0.3.4-java)
|
132
136
|
tilt (1.4.1)
|
133
137
|
timecop (0.6.3)
|
134
138
|
tzinfo (0.3.43)
|
@@ -138,16 +142,19 @@ GEM
|
|
138
142
|
yard (0.7.5)
|
139
143
|
|
140
144
|
PLATFORMS
|
145
|
+
java
|
141
146
|
ruby
|
142
147
|
|
143
148
|
DEPENDENCIES
|
144
149
|
RedCloth
|
145
|
-
|
150
|
+
activerecord-jdbc-adapter
|
151
|
+
appraisal (~> 1.0.2)
|
146
152
|
bson_ext
|
147
153
|
bundler (>= 1.0.0)
|
148
154
|
fastthread!
|
149
155
|
garb (< 0.9.2)
|
150
156
|
integration (<= 0.1.0)
|
157
|
+
jdbc-sqlite3
|
151
158
|
jekyll
|
152
159
|
minitest (>= 4.2)
|
153
160
|
mocha (~> 1.0)
|
@@ -159,7 +166,7 @@ DEPENDENCIES
|
|
159
166
|
redis (>= 2.1)
|
160
167
|
redis-namespace (>= 1.1.0)
|
161
168
|
rubystats
|
162
|
-
sqlite3
|
169
|
+
sqlite3 (~> 1.3.10)
|
163
170
|
test-unit
|
164
171
|
timecop
|
165
172
|
vanity!
|
data/gemfiles/rails41.gemfile
CHANGED
@@ -5,25 +5,33 @@ source "https://rubygems.org"
|
|
5
5
|
gem "rack"
|
6
6
|
gem "redis", ">= 2.1"
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
|
-
gem "bson_ext"
|
9
8
|
gem "mongo"
|
10
|
-
gem "sqlite3"
|
11
9
|
gem "integration", "<= 0.1.0"
|
12
10
|
gem "rubystats"
|
13
11
|
gem "garb", "< 0.9.2"
|
14
|
-
gem "timecop", :require=>false
|
15
|
-
gem "webmock", :require=>false
|
16
|
-
gem "mocha", "~> 1.0", :require=>false
|
12
|
+
gem "timecop", :require => false
|
13
|
+
gem "webmock", :require => false
|
14
|
+
gem "mocha", "~> 1.0", :require => false
|
17
15
|
gem "rails", "4.1.9"
|
18
|
-
gem "fastthread", :git=>"git://github.com/zoltankiss/fastthread.git", :platforms
|
16
|
+
gem "fastthread", :git => "git://github.com/zoltankiss/fastthread.git", :platforms => :mri_20
|
19
17
|
gem "passenger", "~>3.0"
|
20
18
|
|
21
19
|
group :development do
|
22
|
-
gem "appraisal", "
|
23
|
-
gem "jekyll"
|
20
|
+
gem "appraisal", "~> 1.0.2"
|
21
|
+
gem "jekyll", :platform => :ruby
|
24
22
|
gem "rake"
|
25
23
|
gem "RedCloth"
|
26
24
|
gem "yard"
|
27
25
|
end
|
28
26
|
|
29
|
-
|
27
|
+
platforms :ruby do
|
28
|
+
gem "bson_ext"
|
29
|
+
gem "sqlite3", "~> 1.3.10"
|
30
|
+
end
|
31
|
+
|
32
|
+
platforms :jruby do
|
33
|
+
gem "activerecord-jdbc-adapter"
|
34
|
+
gem "jdbc-sqlite3"
|
35
|
+
end
|
36
|
+
|
37
|
+
gemspec :path => "../"
|
@@ -7,13 +7,14 @@ GIT
|
|
7
7
|
PATH
|
8
8
|
remote: .././
|
9
9
|
specs:
|
10
|
-
vanity (2.0.0.
|
10
|
+
vanity (2.0.0.beta8)
|
11
11
|
i18n
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
16
|
RedCloth (4.2.9)
|
17
|
+
RedCloth (4.2.9-java)
|
17
18
|
actionmailer (4.1.9)
|
18
19
|
actionpack (= 4.1.9)
|
19
20
|
actionview (= 4.1.9)
|
@@ -34,6 +35,8 @@ GEM
|
|
34
35
|
activemodel (= 4.1.9)
|
35
36
|
activesupport (= 4.1.9)
|
36
37
|
arel (~> 5.0.0)
|
38
|
+
activerecord-jdbc-adapter (1.3.15)
|
39
|
+
activerecord (>= 2.2)
|
37
40
|
activesupport (4.1.9)
|
38
41
|
i18n (~> 0.6, >= 0.6.9)
|
39
42
|
json (~> 1.7, >= 1.7.7)
|
@@ -41,54 +44,75 @@ GEM
|
|
41
44
|
thread_safe (~> 0.1)
|
42
45
|
tzinfo (~> 1.1)
|
43
46
|
addressable (2.3.6)
|
44
|
-
appraisal (1.0.
|
47
|
+
appraisal (1.0.3)
|
45
48
|
bundler
|
46
49
|
rake
|
47
50
|
thor (>= 0.14.0)
|
48
51
|
arel (5.0.1.20140414130214)
|
49
52
|
blankslate (2.1.2.4)
|
50
53
|
bson (1.10.0)
|
54
|
+
bson (1.10.0-java)
|
51
55
|
bson_ext (1.10.0)
|
52
56
|
bson (~> 1.10.0)
|
53
57
|
builder (3.2.2)
|
54
|
-
|
55
|
-
|
58
|
+
celluloid (0.16.0)
|
59
|
+
timers (~> 4.0.0)
|
60
|
+
classifier-reborn (2.0.3)
|
61
|
+
fast-stemmer (~> 1.0)
|
62
|
+
coffee-script (2.4.1)
|
63
|
+
coffee-script-source
|
64
|
+
execjs
|
65
|
+
coffee-script-source (1.9.1)
|
56
66
|
colorator (0.1)
|
57
|
-
commander (4.1.6)
|
58
|
-
highline (~> 1.6.11)
|
59
67
|
crack (0.4.2)
|
60
68
|
safe_yaml (~> 1.0.0)
|
61
69
|
daemon_controller (1.2.0)
|
62
70
|
erubis (2.7.0)
|
71
|
+
execjs (2.5.2)
|
63
72
|
fast-stemmer (1.0.2)
|
64
|
-
ffi (1.9.
|
73
|
+
ffi (1.9.8)
|
65
74
|
garb (0.9.1)
|
66
75
|
activesupport (>= 2.2.0)
|
67
76
|
crack (>= 0.1.6)
|
68
|
-
highline (1.6.21)
|
69
77
|
hike (1.2.3)
|
78
|
+
hitimes (1.2.2)
|
70
79
|
i18n (0.7.0)
|
71
80
|
integration (0.1.0)
|
72
|
-
|
73
|
-
|
81
|
+
jdbc-sqlite3 (3.8.7)
|
82
|
+
jekyll (2.5.3)
|
83
|
+
classifier-reborn (~> 2.0)
|
74
84
|
colorator (~> 0.1)
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
85
|
+
jekyll-coffeescript (~> 1.0)
|
86
|
+
jekyll-gist (~> 1.0)
|
87
|
+
jekyll-paginate (~> 1.0)
|
88
|
+
jekyll-sass-converter (~> 1.0)
|
89
|
+
jekyll-watch (~> 1.1)
|
90
|
+
kramdown (~> 1.3)
|
91
|
+
liquid (~> 2.6.1)
|
92
|
+
mercenary (~> 0.3.3)
|
93
|
+
pygments.rb (~> 0.6.0)
|
94
|
+
redcarpet (~> 3.1)
|
81
95
|
safe_yaml (~> 1.0)
|
82
96
|
toml (~> 0.1.0)
|
97
|
+
jekyll-coffeescript (1.0.1)
|
98
|
+
coffee-script (~> 2.2)
|
99
|
+
jekyll-gist (1.2.1)
|
100
|
+
jekyll-paginate (1.1.0)
|
101
|
+
jekyll-sass-converter (1.3.0)
|
102
|
+
sass (~> 3.2)
|
103
|
+
jekyll-watch (1.2.1)
|
104
|
+
listen (~> 2.7)
|
83
105
|
json (1.8.2)
|
84
|
-
|
85
|
-
|
106
|
+
json (1.8.2-java)
|
107
|
+
kramdown (1.6.0)
|
108
|
+
liquid (2.6.2)
|
109
|
+
listen (2.10.0)
|
110
|
+
celluloid (~> 0.16.0)
|
86
111
|
rb-fsevent (>= 0.9.3)
|
87
112
|
rb-inotify (>= 0.9)
|
88
|
-
rb-kqueue (>= 0.2)
|
89
113
|
mail (2.6.3)
|
90
114
|
mime-types (>= 1.16, < 3)
|
91
|
-
|
115
|
+
mercenary (0.3.5)
|
92
116
|
metaclass (0.0.4)
|
93
117
|
mime-types (2.4.3)
|
94
118
|
minitest (5.5.1)
|
@@ -96,6 +120,8 @@ GEM
|
|
96
120
|
metaclass (~> 0.0.1)
|
97
121
|
mongo (1.10.0)
|
98
122
|
bson (~> 1.10.0)
|
123
|
+
mongo (1.10.0-java)
|
124
|
+
bson (~> 1.10.0)
|
99
125
|
multi_json (1.10.1)
|
100
126
|
parslet (1.5.0)
|
101
127
|
blankslate (~> 2.0)
|
@@ -104,10 +130,10 @@ GEM
|
|
104
130
|
fastthread (>= 1.0.1)
|
105
131
|
rack
|
106
132
|
rake (>= 0.8.1)
|
107
|
-
posix-spawn (0.3.
|
108
|
-
pygments.rb (0.
|
133
|
+
posix-spawn (0.3.11)
|
134
|
+
pygments.rb (0.6.3)
|
109
135
|
posix-spawn (~> 0.3.6)
|
110
|
-
yajl-ruby (~> 1.
|
136
|
+
yajl-ruby (~> 1.2.0)
|
111
137
|
rack (1.5.2)
|
112
138
|
rack-test (0.6.3)
|
113
139
|
rack (>= 1.0)
|
@@ -128,16 +154,15 @@ GEM
|
|
128
154
|
thor (>= 0.18.1, < 2.0)
|
129
155
|
rake (10.4.2)
|
130
156
|
rb-fsevent (0.9.4)
|
131
|
-
rb-inotify (0.9.
|
132
|
-
ffi (>= 0.5.0)
|
133
|
-
rb-kqueue (0.2.2)
|
157
|
+
rb-inotify (0.9.5)
|
134
158
|
ffi (>= 0.5.0)
|
135
|
-
redcarpet (2.3
|
159
|
+
redcarpet (3.2.3)
|
136
160
|
redis (3.0.7)
|
137
161
|
redis-namespace (1.4.1)
|
138
162
|
redis (~> 3.0.4)
|
139
163
|
rubystats (0.2.3)
|
140
164
|
safe_yaml (1.0.4)
|
165
|
+
sass (3.4.13)
|
141
166
|
sprockets (2.12.3)
|
142
167
|
hike (~> 1.2)
|
143
168
|
multi_json (~> 1.0)
|
@@ -150,29 +175,35 @@ GEM
|
|
150
175
|
sqlite3 (1.3.10)
|
151
176
|
thor (0.19.1)
|
152
177
|
thread_safe (0.3.4)
|
178
|
+
thread_safe (0.3.4-java)
|
153
179
|
tilt (1.4.1)
|
154
180
|
timecop (0.7.1)
|
155
|
-
|
181
|
+
timers (4.0.1)
|
182
|
+
hitimes
|
183
|
+
toml (0.1.2)
|
156
184
|
parslet (~> 1.5.0)
|
157
185
|
tzinfo (1.2.2)
|
158
186
|
thread_safe (~> 0.1)
|
159
187
|
webmock (1.17.4)
|
160
188
|
addressable (>= 2.2.7)
|
161
189
|
crack (>= 0.3.2)
|
162
|
-
yajl-ruby (1.1
|
190
|
+
yajl-ruby (1.2.1)
|
163
191
|
yard (0.8.7.4)
|
164
192
|
|
165
193
|
PLATFORMS
|
194
|
+
java
|
166
195
|
ruby
|
167
196
|
|
168
197
|
DEPENDENCIES
|
169
198
|
RedCloth
|
170
|
-
|
199
|
+
activerecord-jdbc-adapter
|
200
|
+
appraisal (~> 1.0.2)
|
171
201
|
bson_ext
|
172
202
|
bundler (>= 1.0.0)
|
173
203
|
fastthread!
|
174
204
|
garb (< 0.9.2)
|
175
205
|
integration (<= 0.1.0)
|
206
|
+
jdbc-sqlite3
|
176
207
|
jekyll
|
177
208
|
minitest (>= 4.2)
|
178
209
|
mocha (~> 1.0)
|
@@ -184,7 +215,7 @@ DEPENDENCIES
|
|
184
215
|
redis (>= 2.1)
|
185
216
|
redis-namespace (>= 1.1.0)
|
186
217
|
rubystats
|
187
|
-
sqlite3
|
218
|
+
sqlite3 (~> 1.3.10)
|
188
219
|
timecop
|
189
220
|
vanity!
|
190
221
|
webmock
|
data/gemfiles/rails42.gemfile
CHANGED
@@ -5,25 +5,33 @@ source "https://rubygems.org"
|
|
5
5
|
gem "rack"
|
6
6
|
gem "redis", ">= 2.1"
|
7
7
|
gem "redis-namespace", ">= 1.1.0"
|
8
|
-
gem "bson_ext"
|
9
8
|
gem "mongo"
|
10
|
-
gem "sqlite3"
|
11
9
|
gem "integration", "<= 0.1.0"
|
12
10
|
gem "rubystats"
|
13
11
|
gem "garb", "< 0.9.2"
|
14
|
-
gem "timecop", :require=>false
|
15
|
-
gem "webmock", :require=>false
|
16
|
-
gem "mocha", "~> 1.0", :require=>false
|
12
|
+
gem "timecop", :require => false
|
13
|
+
gem "webmock", :require => false
|
14
|
+
gem "mocha", "~> 1.0", :require => false
|
17
15
|
gem "rails", "4.2.0"
|
18
|
-
gem "fastthread", :git=>"git://github.com/zoltankiss/fastthread.git", :platforms
|
16
|
+
gem "fastthread", :git => "git://github.com/zoltankiss/fastthread.git", :platforms => :mri_20
|
19
17
|
gem "passenger", "~>3.0"
|
20
18
|
|
21
19
|
group :development do
|
22
|
-
gem "appraisal", "
|
23
|
-
gem "jekyll"
|
20
|
+
gem "appraisal", "~> 1.0.2"
|
21
|
+
gem "jekyll", :platform => :ruby
|
24
22
|
gem "rake"
|
25
23
|
gem "RedCloth"
|
26
24
|
gem "yard"
|
27
25
|
end
|
28
26
|
|
29
|
-
|
27
|
+
platforms :ruby do
|
28
|
+
gem "bson_ext"
|
29
|
+
gem "sqlite3", "~> 1.3.10"
|
30
|
+
end
|
31
|
+
|
32
|
+
platforms :jruby do
|
33
|
+
gem "activerecord-jdbc-adapter"
|
34
|
+
gem "jdbc-sqlite3"
|
35
|
+
end
|
36
|
+
|
37
|
+
gemspec :path => "../"
|