localized_scaffold 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@
33
33
  <%%- end -%>
34
34
 
35
35
  <div id="flashMessages">
36
- <%%= ActiveSupport::SafeBuffer.new([:notice, :warning, :error].collect do |type|
36
+ <%%= raw([:notice, :warning, :error].collect do |type|
37
37
  content_tag(:div, flash[type], :id => type, :class => type) if flash[type]
38
38
  end.to_s) %>
39
39
  </div>
@@ -118,12 +118,11 @@ module <%= class_name %>Helper
118
118
  end
119
119
 
120
120
  if format == :ul
121
- return content_tag(:ul, ActiveSupport::SafeBuffer.new(cols.join),
122
- :class => 'searchbar')
121
+ return content_tag(:ul, raw(cols.join), :class => 'searchbar')
123
122
  end
124
123
 
125
- return content_tag(:table, content_tag(:tr,
126
- ActiveSupport::SafeBuffer.new(cols.join)), :class => 'searchbar')
124
+ return content_tag(:table, content_tag(:tr, raw(cols.join)),
125
+ :class => 'searchbar')
127
126
  end
128
127
  <%- end -%>
129
128
  end
@@ -27,8 +27,7 @@ module ScaffoldHelper
27
27
  end
28
28
  end
29
29
 
30
- content_tag(:ul, ActiveSupport::SafeBuffer.new(cols.join),
31
- :id => 'breadcrumbs')
30
+ content_tag(:ul, raw(cols.join), :id => 'breadcrumbs')
32
31
  }
33
32
  end
34
33
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 4
9
- version: 0.9.4
8
+ - 5
9
+ version: 0.9.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jan Ulbrich
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-25 00:00:00 +02:00
17
+ date: 2010-07-01 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -117,5 +117,6 @@ rubygems_version: 1.3.6
117
117
  signing_key:
118
118
  specification_version: 3
119
119
  summary: Localized Rails scaffolding with style...
120
- test_files: []
121
-
120
+ test_files:
121
+ - test/localized_scaffold_test.rb
122
+ - test/test_helper.rb