bootstrap_builder 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bootstrap_builder"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
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", "The Working Group Inc."]
12
- s.date = "2012-02-07"
12
+ s.date = "2012-02-10"
13
13
  s.description = ""
14
14
  s.email = "jack@twg.ca"
15
15
  s.extra_rdoc_files = [
@@ -3,7 +3,8 @@ module BootstrapBuilder::Helper
3
3
  def bootstrap_form_for(record_or_name_or_array, *args, &proc)
4
4
  options = args.extract_options!
5
5
  options.merge!(:builder => BootstrapBuilder::Builder)
6
- options[:html] ||= {:class => ''}
6
+ options[:html] ||= { }
7
+ options[:html][:class] ||= ''
7
8
  if !(options[:html][:class] =~ /form-/)
8
9
  options[:html][:class] += ' ' + BootstrapBuilder.config.default_form_class
9
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-07 00:00:00.000000000 Z
13
+ date: 2012-02-10 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: ''
16
16
  email: jack@twg.ca