toolbox 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
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'"
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Toolbox
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
@@ -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='<%= polymorphic_url(rec) %>';">
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 %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Nyffenegger