toolbox 0.1.3 → 0.1.4
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/Rakefile +4 -0
- data/lib/toolbox/version.rb +1 -1
- data/view/toolbox/_list_row.html.erb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -39,6 +39,10 @@ task :gem => [:makemo, :gemspec] do
|
|
39
39
|
`gem build #{spec.name}.gemspec`
|
40
40
|
end
|
41
41
|
|
42
|
+
task :publish => [:gem] do
|
43
|
+
`gem push toolbox-#{Toolbox::VERSION}.gem`
|
44
|
+
end
|
45
|
+
|
42
46
|
desc "Generate RDoc"
|
43
47
|
task :doc do
|
44
48
|
system "hanna -x Rakefile -x spec --title 'Toolbox #{Toolbox::VERSION} API Documentation'"
|
data/lib/toolbox/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<% rec = list_row %>
|
3
3
|
<tr id="<%= dom_id(rec) %>">
|
4
4
|
<% field_renderers.each do |field_renderer| %>
|
5
|
-
<td class="record <%= classAttr %>" onclick="window.location.href='<%=
|
5
|
+
<td class="record <%= classAttr %>" onclick="window.location.href='<%= polymorphic_path(rec) %>';">
|
6
6
|
<%= field_renderer.render_value(rec) %>
|
7
7
|
</td>
|
8
8
|
<% end %>
|