vanity 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +5 -0
- data/Gemfile +1 -1
- data/lib/vanity/frameworks/rails.rb +2 -2
- data/lib/vanity/templates/_experiment.erb +1 -1
- data/lib/vanity/templates/_experiments.erb +1 -1
- data/lib/vanity/templates/_metrics.erb +0 -1
- data/lib/vanity/version.rb +1 -1
- data/test/myapp/log/production.log +25 -0
- metadata +5 -5
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<h3><%=vanity_h experiment.name %> <span class="type">(<%= experiment.class.friendly_name %>)</span></h3>
|
2
2
|
<%= experiment.description.to_s.split(/\n\s*\n/).map { |para| vanity_html_safe(%{<p class="description">#{vanity_h para}</p>}) }.join %>
|
3
|
-
<%= render Vanity.template(experiment.type), :experiment=>experiment %>
|
3
|
+
<%= render :file => Vanity.template("_" + experiment.type), :locals => {:experiment => experiment} %>
|
4
4
|
<p class="meta">Started <%= experiment.created_at.strftime("%a, %b %d") %>
|
5
5
|
<%= " | Completed #{experiment.completed_at.strftime("%a, %b %d")}" unless experiment.active? %></p>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<ul class="experiments">
|
2
2
|
<% experiments.sort_by { |id, experiment| experiment.created_at }.reverse.each do |id, experiment| %>
|
3
3
|
<li class="experiment <%= experiment.type %>" id="experiment_<%=vanity_h id.to_s %>">
|
4
|
-
<%= render Vanity.template("
|
4
|
+
<%= render :file => Vanity.template("_experiment"), :locals => { :id => id, :experiment => experiment } %>
|
5
5
|
</li>
|
6
6
|
<% end %>
|
7
7
|
</ul>
|
@@ -2,7 +2,6 @@
|
|
2
2
|
<% metrics.sort_by { |id, metric| metric.name }.each do |id, metric| %>
|
3
3
|
<li class="metric" id="metric_<%= id %>">
|
4
4
|
<%= render :file=>Vanity.template("_metric"), :locals=>{:id=>id, :metric=>metric} %>
|
5
|
-
<%= render :file=>Vanity.template("_metric"), :locals=>{:id=>id, :metric=>metric} %>
|
6
5
|
</li>
|
7
6
|
<% end %>
|
8
7
|
</ul>
|
data/lib/vanity/version.rb
CHANGED
@@ -3029,3 +3029,28 @@ Completed in 7ms (View: 1 | 200 OK [http://:? ]
|
|
3029
3029
|
Processing MainController#index (for at 2010-10-23 17:57:55) [GET]
|
3030
3030
|
Parameters: {" "=>nil}
|
3031
3031
|
Completed in 5ms (View: 1 | 200 OK [http://:? ]
|
3032
|
+
|
3033
|
+
|
3034
|
+
Processing MainController#index (for at 2010-12-20 16:44:54) [GET]
|
3035
|
+
Parameters: {" "=>nil}
|
3036
|
+
Completed in 180ms (View: 0 | 200 OK [http://:? ]
|
3037
|
+
|
3038
|
+
|
3039
|
+
Processing MainController#index (for at 2010-12-20 16:48:42) [GET]
|
3040
|
+
Parameters: {" "=>nil}
|
3041
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
3042
|
+
|
3043
|
+
|
3044
|
+
Processing MainController#index (for at 2010-12-20 16:49:26) [GET]
|
3045
|
+
Parameters: {" "=>nil}
|
3046
|
+
Completed in 3ms (View: 1 | 200 OK [http://:? ]
|
3047
|
+
|
3048
|
+
|
3049
|
+
Processing MainController#index (for at 2010-12-20 16:51:06) [GET]
|
3050
|
+
Parameters: {" "=>nil}
|
3051
|
+
Completed in 5ms (View: 1 | 200 OK [http://:? ]
|
3052
|
+
|
3053
|
+
|
3054
|
+
Processing MainController#index (for at 2010-12-20 16:51:45) [GET]
|
3055
|
+
Parameters: {" "=>nil}
|
3056
|
+
Completed in 6ms (View: 1 | 200 OK [http://:? ]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 1
|
10
|
+
version: 1.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Assaf Arkin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-20 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -133,7 +133,7 @@ licenses: []
|
|
133
133
|
post_install_message: To get started run vanity --help
|
134
134
|
rdoc_options:
|
135
135
|
- --title
|
136
|
-
- Vanity 1.5.
|
136
|
+
- Vanity 1.5.1
|
137
137
|
- --main
|
138
138
|
- README.rdoc
|
139
139
|
- --webcvs
|