vanity 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +47 -5
- data/Appraisals +3 -1
- data/CHANGELOG +7 -1
- data/Gemfile +21 -10
- data/Gemfile.lock +1 -1
- data/README.rdoc +9 -6
- data/gemfiles/rails3.gemfile +9 -8
- data/gemfiles/rails3.gemfile.lock +8 -2
- data/gemfiles/rails31.gemfile +9 -8
- data/gemfiles/rails31.gemfile.lock +8 -2
- data/gemfiles/rails32.gemfile +9 -8
- data/gemfiles/rails32.gemfile.lock +8 -2
- data/lib/vanity.rb +1 -0
- data/lib/vanity/adapters/abstract_adapter.rb +5 -0
- data/lib/vanity/adapters/active_record_adapter.rb +12 -5
- data/lib/vanity/adapters/mongodb_adapter.rb +6 -0
- data/lib/vanity/adapters/redis_adapter.rb +8 -0
- data/lib/vanity/autoconnect.rb +61 -0
- data/lib/vanity/experiment/ab_test.rb +29 -23
- data/lib/vanity/experiment/base.rb +14 -0
- data/lib/vanity/frameworks/rails.rb +11 -4
- data/lib/vanity/playground.rb +24 -15
- data/lib/vanity/version.rb +1 -1
- data/test/autoconnect_test.rb +25 -0
- data/test/dummy/config/boot.rb +4 -6
- data/test/dummy/config/environments/development.rb +1 -1
- data/test/experiment/ab_test.rb +40 -4
- data/test/experiment/base_test.rb +3 -1
- data/test/metric/base_test.rb +10 -10
- data/test/passenger_test.rb +7 -1
- data/test/playground_test.rb +11 -0
- data/test/rails_test.rb +149 -68
- data/test/test_helper.rb +1 -0
- metadata +58 -43
- checksums.yaml +0 -7
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,57 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanity
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.8.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- Assaf Arkin
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-10-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
19
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version:
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.0'
|
22
22
|
type: :runtime
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: redis-namespace
|
26
23
|
prerelease: false
|
27
|
-
|
28
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: redis-namespace
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
29
35
|
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
36
|
+
- !ruby/object:Gem::Version
|
31
37
|
version: 1.0.0
|
32
38
|
type: :runtime
|
33
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.0.0
|
34
46
|
description: Mirror, mirror on the wall ...
|
35
47
|
email: assaf@labnotes.org
|
36
|
-
executables:
|
48
|
+
executables:
|
37
49
|
- vanity
|
38
50
|
extensions: []
|
39
|
-
|
40
|
-
extra_rdoc_files:
|
51
|
+
extra_rdoc_files:
|
41
52
|
- README.rdoc
|
42
53
|
- CHANGELOG
|
43
|
-
files:
|
54
|
+
files:
|
44
55
|
- .autotest
|
45
56
|
- .gitignore
|
46
57
|
- .rvmrc
|
@@ -94,6 +105,7 @@ files:
|
|
94
105
|
- lib/vanity/adapters/mock_adapter.rb
|
95
106
|
- lib/vanity/adapters/mongodb_adapter.rb
|
96
107
|
- lib/vanity/adapters/redis_adapter.rb
|
108
|
+
- lib/vanity/autoconnect.rb
|
97
109
|
- lib/vanity/backport.rb
|
98
110
|
- lib/vanity/commands/list.rb
|
99
111
|
- lib/vanity/commands/report.rb
|
@@ -122,6 +134,7 @@ files:
|
|
122
134
|
- lib/vanity/templates/vanity.js
|
123
135
|
- lib/vanity/version.rb
|
124
136
|
- test/adapters/redis_adapter_test.rb
|
137
|
+
- test/autoconnect_test.rb
|
125
138
|
- test/cli_test.rb
|
126
139
|
- test/dummy/Rakefile
|
127
140
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -174,38 +187,40 @@ files:
|
|
174
187
|
- vanity.gemspec
|
175
188
|
homepage: http://vanity.labnotes.org
|
176
189
|
licenses: []
|
177
|
-
|
178
|
-
metadata: {}
|
179
|
-
|
180
190
|
post_install_message: To get started run vanity --help
|
181
|
-
rdoc_options:
|
191
|
+
rdoc_options:
|
182
192
|
- --title
|
183
|
-
- Vanity 1.8.
|
193
|
+
- Vanity 1.8.2
|
184
194
|
- --main
|
185
195
|
- README.rdoc
|
186
196
|
- --webcvs
|
187
197
|
- http://github.com/assaf/vanity
|
188
|
-
require_paths:
|
198
|
+
require_paths:
|
189
199
|
- lib
|
190
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
191
|
-
|
192
|
-
|
193
|
-
|
200
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
194
205
|
version: 1.8.7
|
195
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
206
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
208
|
+
requirements:
|
209
|
+
- - ! '>='
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
segments:
|
213
|
+
- 0
|
214
|
+
hash: 3663910220837793406
|
200
215
|
requirements: []
|
201
|
-
|
202
216
|
rubyforge_project:
|
203
|
-
rubygems_version:
|
217
|
+
rubygems_version: 1.8.23
|
204
218
|
signing_key:
|
205
|
-
specification_version:
|
219
|
+
specification_version: 3
|
206
220
|
summary: Experience Driven Development framework for Ruby
|
207
|
-
test_files:
|
221
|
+
test_files:
|
208
222
|
- test/adapters/redis_adapter_test.rb
|
223
|
+
- test/autoconnect_test.rb
|
209
224
|
- test/cli_test.rb
|
210
225
|
- test/dummy/Rakefile
|
211
226
|
- test/dummy/app/controllers/application_controller.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA512:
|
3
|
-
data.tar.gz: cf97c9c3b23e4edf20b47b84fda3f7f31eed9f770ca16c3fd4850bc38b542a2c335fa91c3b68ec912ffa21ccfa14eb14f4b3fc370016bcf797852d6089f99075
|
4
|
-
metadata.gz: 2377c5146a59528271b9bfc244236e8d7a3b142676bafbee8d527a0037a7a1cab0bf065e086922f3b354ef4f798a17d0e0f9aaa5e0fd7f04367970a660fd691e
|
5
|
-
SHA1:
|
6
|
-
data.tar.gz: e713ef94697abdc32fb3dc46e960b83d703f0451
|
7
|
-
metadata.gz: ece1cada68e0f549be1ad0cf0fea02f7ce387c75
|