padrino-helpers 0.2.2 → 0.2.5

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.5
@@ -58,8 +58,8 @@ module Padrino
58
58
  unchecked_value = options.delete(:uncheck_value) || '0'
59
59
  options.reverse_merge!(:id => field_id(field), :value => '1')
60
60
  options.merge!(:checked => true) if values_matches_field?(field, options[:value])
61
- html = @template.check_box_tag field_name(field), options
62
- html << hidden_field(field, :value => unchecked_value, :id => nil)
61
+ html = hidden_field(field, :value => unchecked_value, :id => nil)
62
+ html << @template.check_box_tag(field_name(field), options)
63
63
  end
64
64
 
65
65
  # f.radio_button :gender, :value => 'male'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{padrino-helpers}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
12
- s.date = %q{2009-12-01}
12
+ s.date = %q{2009-12-21}
13
13
  s.description = %q{Tag helpers, asset helpers, form helpers, form builders and many more helpers for padrino}
14
14
  s.email = %q{nesquena@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-12-01 00:00:00 -08:00
15
+ date: 2009-12-21 00:00:00 -08:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency