formula 0.0.9 → 0.1.0

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.
Files changed (2) hide show
  1. data/lib/formula.rb +2 -2
  2. metadata +3 -3
data/lib/formula.rb CHANGED
@@ -74,7 +74,7 @@ module Formula
74
74
  def block(method, options = {}, &block)
75
75
  options[:error] ||= error(method)
76
76
 
77
- components = []
77
+ components = "".html_safe
78
78
 
79
79
  components << self.label(method, options[:label])
80
80
 
@@ -84,7 +84,7 @@ module Formula
84
84
  components << @template.content_tag(::Formula.error_tag, options[:error], :class => ::Formula.error_class) if options[:error]
85
85
 
86
86
  @template.content_tag(::Formula.block_tag, options[:container]) do
87
- components.join
87
+ components.first + components.last
88
88
  end
89
89
  end
90
90
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
+ - 1
7
8
  - 0
8
- - 9
9
- version: 0.0.9
9
+ version: 0.1.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kevin Sylvestre
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-14 00:00:00 -05:00
17
+ date: 2010-11-15 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20