semantic_form_for 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,10 +10,12 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
10
10
  FIELDSETS = [ :inputs, :buttons ]
11
11
 
12
12
  INPUTS = [
13
+ :select,
14
+ *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_area$}),
13
15
  *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_box$}),
16
+ *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_button$}),
14
17
  *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_field$}),
15
18
  *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_select$}),
16
- :select
17
19
  ]
18
20
 
19
21
  BUTTONS = [ :submit ]
@@ -1,3 +1,3 @@
1
1
  module SemanticFormFor
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_form_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-08-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
- requirement: &70101601750640 !ruby/object:Gem::Requirement
16
+ requirement: &70116906765240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70101601750640
24
+ version_requirements: *70116906765240
25
25
  description: A custom Rails FormBuilder that assumes HTML5. Because HTML4 is for chumps.
26
26
  email:
27
27
  - stephen@touset.org