tabletastic 0.2.0 → 0.2.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.
@@ -1,3 +1,7 @@
1
+ v0.2.1 (Nov 23, 2010)
2
+
3
+ * [BUGFIX] No longer inappropriately escapes rows for Rails 3.0.3
4
+
1
5
  v0.2.0 (Oct 24, 2010)
2
6
 
3
7
  * This gem is now Rails 3 only
@@ -69,7 +69,7 @@ module Tabletastic
69
69
  content_tag(:tr) do
70
70
  @table_fields.inject("") do |result,field|
71
71
  result + content_tag(:th, field.heading, field.heading_html)
72
- end
72
+ end.html_safe
73
73
  end
74
74
  end
75
75
  end
@@ -81,14 +81,14 @@ module Tabletastic
81
81
  rows += @template.content_tag_for(:tr, record, :class => rowclass) do
82
82
  cells_for_row(record)
83
83
  end + "\n"
84
- end
84
+ end.html_safe
85
85
  end
86
86
  end
87
87
 
88
88
  def cells_for_row(record)
89
89
  @table_fields.inject("") do |cells, field|
90
90
  cells + content_tag(:td, field.cell_data(record), field.cell_html)
91
- end
91
+ end.html_safe
92
92
  end
93
93
 
94
94
  # Used internally to build up cells for common CRUD actions
@@ -1,3 +1,3 @@
1
1
  module Tabletastic
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joshua Davey
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-11 00:00:00 -05:00
17
+ date: 2010-11-23 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency