tubular 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tubular/builder.rb +2 -2
- data/lib/tubular/version.rb +1 -1
- metadata +2 -2
data/lib/tubular/builder.rb
CHANGED
@@ -41,7 +41,7 @@ module Tubular
|
|
41
41
|
content_tag(:tr) do
|
42
42
|
columns.map do |column|
|
43
43
|
content_tag(:th, column.header_html) do
|
44
|
-
column.render_header_content
|
44
|
+
column.render_header_content.to_s
|
45
45
|
end
|
46
46
|
end.join.html_safe
|
47
47
|
end
|
@@ -54,7 +54,7 @@ module Tubular
|
|
54
54
|
content_tag(:tr) do
|
55
55
|
columns.map do |column|
|
56
56
|
content_tag(:td, column.cell_html) do
|
57
|
-
column.render_body_content(record)
|
57
|
+
column.render_body_content(record).to_s
|
58
58
|
end
|
59
59
|
end.join.html_safe
|
60
60
|
end
|
data/lib/tubular/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tubular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Helper to quickly and easily generate HTML tables
|
15
15
|
email:
|