formatted_form 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.3
1
+ 2.0.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "formatted_form"
8
- s.version = "2.0.3"
8
+ s.version = "2.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jack Neto", "Oleg Khabarov", "The Working Group Inc."]
12
- s.date = "2012-12-13"
12
+ s.date = "2013-01-15"
13
13
  s.description = ""
14
14
  s.email = "jack@twg.ca"
15
15
  s.extra_rdoc_files = [
@@ -56,7 +56,7 @@ class FormattedForm::FormBuilder < ActionView::Helpers::FormBuilder
56
56
  return super(method, tag_value, options) if options.delete(:builder) == false
57
57
  tag_values = tag_value.is_a?(Array) ? tag_value : [tag_value]
58
58
  choices = tag_values.collect do |label, choice|
59
- label, choice = label, label if !choice
59
+ label, choice = label, label if choice.nil?
60
60
  [super(method, choice, options), label, options[:class].to_s =~ /inline/]
61
61
  end
62
62
  default_field(:radio_button, method, options.merge(:choices => choices))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatted_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-12-13 00:00:00.000000000 Z
14
+ date: 2013-01-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -134,7 +134,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  segments:
136
136
  - 0
137
- hash: 578154842120635120
137
+ hash: 1628412368511617234
138
138
  required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements: