vanity 1.4.0.beta → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +14 -12
- data/Gemfile +3 -3
- data/Rakefile +10 -3
- data/test/myapp/log/production.log +45 -0
- data/vanity.gemspec +1 -1
- metadata +9 -12
data/CHANGELOG
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
== 1.4.0 (
|
1
|
+
== 1.4.0 (2010-08-06)
|
2
2
|
|
3
3
|
Note: Run this command to upgrade your database to 1.4, or you will not have
|
4
4
|
access to collected metrics and experiment data:
|
@@ -10,23 +10,25 @@ Connection adapters! We have a new way for managing connections which extends
|
|
10
10
|
to multiple adapters (not just Redis). The easiest is to use the configuration
|
11
11
|
file config/vanity.yml. For example:
|
12
12
|
|
13
|
-
|
13
|
+
development:
|
14
14
|
adapter: redis
|
15
|
-
|
15
|
+
production:
|
16
16
|
adapter: mongodb
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
production. You can control it using:
|
18
|
+
We get to keep Redis, add new MongoDB adapter, but lose Mock. It's still there,
|
19
|
+
but there's a new way to use Vanity outside production: you can turn data
|
20
|
+
collection on/off.
|
22
21
|
|
23
|
-
|
22
|
+
Under Rails, data collection is turned off in all environments except
|
23
|
+
production. To turn if on/off:
|
24
24
|
|
25
|
+
Vanity.playground.collecting = true/false.
|
26
|
+
|
27
|
+
|
28
|
+
This release switches to latest Redis gem and uses redis-namespace (what took
|
29
|
+
me so long?) If your own code relies on the Redis gem, watch out: there are
|
30
|
+
some subtle incompatibilities between 1.x and 2.x.
|
25
31
|
|
26
|
-
This release switches from older vendored version of the Redis gem to the new
|
27
|
-
2.0.x gem that is now required as a separate dependency. If your own code
|
28
|
-
relies on the Redis gem, watch out for subtle incompatibilities introduced in
|
29
|
-
2.0.
|
30
32
|
|
31
33
|
Now using RVM, gemsets and Bundler to test Vanity in different configurations.
|
32
34
|
To run the full set of tests in all the supported versions of Ruby:
|
data/Gemfile
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
source "http://rubygems.org/"
|
2
|
-
gem "
|
3
|
-
gem "redis"
|
4
|
-
gem "redis-namespace"
|
2
|
+
gem "redis", "~>2.0"
|
3
|
+
gem "redis-namespace", "~>0.7"
|
5
4
|
|
6
5
|
group :development do
|
7
6
|
gem "jekyll"
|
@@ -12,6 +11,7 @@ end
|
|
12
11
|
|
13
12
|
group :test do
|
14
13
|
gem "bson_ext"
|
14
|
+
gem "garb"
|
15
15
|
gem "mocha"
|
16
16
|
gem "mongo"
|
17
17
|
gem "passenger"
|
data/Rakefile
CHANGED
@@ -111,14 +111,21 @@ end
|
|
111
111
|
|
112
112
|
desc "Jekyll generates the main documentation (sans API)"
|
113
113
|
task(:jekyll) { sh "jekyll", "doc", "html" }
|
114
|
+
file "html/vanity.pdf"=>:jekyll do |t|
|
115
|
+
pages = %w{index metrics ab_testing rails identity configuring contributing}.map{ |p| "html/#{p}.html" }
|
116
|
+
args = %w{--disable-javascript --outline --title Vanity --header-html doc/_layouts/_header.html --print-media-type}
|
117
|
+
args.concat %w{--margin-left 20 --margin-right 20 --margin-top 20 --margin-bottom 20 --header-spacing 5}
|
118
|
+
args.concat pages << t.name
|
119
|
+
sh "wkhtmltopdf", *args
|
120
|
+
end
|
114
121
|
|
115
|
-
file "html/vanity-api
|
122
|
+
file "html/vanity-api.zip"=>:yardoc do |t|
|
116
123
|
Dir.chdir "html" do
|
117
|
-
sh "zip vanity-api
|
124
|
+
sh "zip vanity-api.zip -r api"
|
118
125
|
end
|
119
126
|
end
|
120
127
|
desc "Create documentation in docs directory (including API)"
|
121
|
-
task :docs=>[:jekyll, :yardoc, "html/vanity-api
|
128
|
+
task :docs=>[:jekyll, :yardoc, "html/vanity-api.zip", "html/vanity.pdf"]
|
122
129
|
desc "Remove temporary files and directories"
|
123
130
|
task(:clobber) { rm_rf "html" ; rm_rf ".yardoc" }
|
124
131
|
|
@@ -2679,3 +2679,48 @@ Completed in 5ms (View: 1 | 200 OK [http://:? ]
|
|
2679
2679
|
Processing MainController#index (for at 2010-07-27 13:06:16) [GET]
|
2680
2680
|
Parameters: {" "=>nil}
|
2681
2681
|
Completed in 7ms (View: 1 | 200 OK [http://:? ]
|
2682
|
+
|
2683
|
+
|
2684
|
+
Processing MainController#index (for at 2010-08-06 00:03:45) [GET]
|
2685
|
+
Parameters: {" "=>nil}
|
2686
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
2687
|
+
|
2688
|
+
|
2689
|
+
Processing MainController#index (for at 2010-08-06 00:05:44) [GET]
|
2690
|
+
Parameters: {" "=>nil}
|
2691
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
2692
|
+
|
2693
|
+
|
2694
|
+
Processing MainController#index (for at 2010-08-06 00:08:17) [GET]
|
2695
|
+
Parameters: {" "=>nil}
|
2696
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
2697
|
+
|
2698
|
+
|
2699
|
+
Processing MainController#index (for at 2010-08-06 00:09:43) [GET]
|
2700
|
+
Parameters: {" "=>nil}
|
2701
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
2702
|
+
|
2703
|
+
|
2704
|
+
Processing MainController#index (for at 2010-08-06 00:10:23) [GET]
|
2705
|
+
Parameters: {" "=>nil}
|
2706
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
2707
|
+
|
2708
|
+
|
2709
|
+
Processing MainController#index (for at 2010-08-06 00:11:24) [GET]
|
2710
|
+
Parameters: {" "=>nil}
|
2711
|
+
Completed in 2ms (View: 0 | 200 OK [http://:? ]
|
2712
|
+
|
2713
|
+
|
2714
|
+
Processing MainController#index (for at 2010-08-06 00:12:11) [GET]
|
2715
|
+
Parameters: {" "=>nil}
|
2716
|
+
Completed in 2ms (View: 1 | 200 OK [http://:? ]
|
2717
|
+
|
2718
|
+
|
2719
|
+
Processing MainController#index (for at 2010-08-06 00:13:10) [GET]
|
2720
|
+
Parameters: {" "=>nil}
|
2721
|
+
Completed in 5ms (View: 1 | 200 OK [http://:? ]
|
2722
|
+
|
2723
|
+
|
2724
|
+
Processing MainController#index (for at 2010-08-06 00:13:59) [GET]
|
2725
|
+
Parameters: {" "=>nil}
|
2726
|
+
Completed in 7ms (View: 2 | 200 OK [http://:? ]
|
data/vanity.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 7
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
9
|
- 0
|
10
|
-
|
11
|
-
version: 1.4.0.beta
|
10
|
+
version: 1.4.0
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Assaf Arkin
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2010-
|
18
|
+
date: 2010-08-06 00:00:00 -07:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
@@ -132,7 +131,7 @@ licenses: []
|
|
132
131
|
post_install_message: To get started run vanity --help
|
133
132
|
rdoc_options:
|
134
133
|
- --title
|
135
|
-
- Vanity 1.4.0
|
134
|
+
- Vanity 1.4.0
|
136
135
|
- --main
|
137
136
|
- README.rdoc
|
138
137
|
- --webcvs
|
@@ -153,14 +152,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
153
|
none: false
|
155
154
|
requirements:
|
156
|
-
- - "
|
155
|
+
- - ">="
|
157
156
|
- !ruby/object:Gem::Version
|
158
|
-
hash:
|
157
|
+
hash: 3
|
159
158
|
segments:
|
160
|
-
-
|
161
|
-
|
162
|
-
- 1
|
163
|
-
version: 1.3.1
|
159
|
+
- 0
|
160
|
+
version: "0"
|
164
161
|
requirements: []
|
165
162
|
|
166
163
|
rubyforge_project:
|