semantic_form_for 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/lib/semantic_form_for/form_builder.rb +6 -5
- data/lib/semantic_form_for/version.rb +1 -1
- metadata +5 -17
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use 1.9.2@semantic_form_for
|
@@ -9,12 +9,13 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
|
|
9
9
|
|
10
10
|
FIELDSETS = [ :inputs, :buttons ]
|
11
11
|
|
12
|
-
INPUTS
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
INPUTS = [
|
13
|
+
*ActionView::Helpers::FormBuilder.instance_methods.grep %r{_box$},
|
14
|
+
*ActionView::Helpers::FormBuilder.instance_methods.grep %r{_field$},
|
15
|
+
*ActionView::Helpers::FormBuilder.instance_methods.grep %r{_select$},
|
16
|
+
]
|
16
17
|
|
17
|
-
BUTTONS
|
18
|
+
BUTTONS = [ :submit ]
|
18
19
|
|
19
20
|
FIELDSETS.each do |set|
|
20
21
|
define_method set do |text = nil, &block|
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic_form_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 3
|
8
|
-
- 4
|
9
|
-
version: 0.3.4
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.0
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Stephen Touset
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-05-26 00:00:00 -04:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,9 +21,6 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ~>
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 3
|
30
|
-
- 0
|
31
24
|
version: "3.0"
|
32
25
|
type: :runtime
|
33
26
|
version_requirements: *id001
|
@@ -42,6 +35,7 @@ extra_rdoc_files: []
|
|
42
35
|
|
43
36
|
files:
|
44
37
|
- .gitignore
|
38
|
+
- .rvmrc
|
45
39
|
- Gemfile
|
46
40
|
- README.markdown
|
47
41
|
- lib/semantic_form_for.rb
|
@@ -64,23 +58,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
58
|
requirements:
|
65
59
|
- - ">="
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
segments:
|
68
|
-
- 0
|
69
61
|
version: "0"
|
70
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
63
|
none: false
|
72
64
|
requirements:
|
73
65
|
- - ">="
|
74
66
|
- !ruby/object:Gem::Version
|
75
|
-
segments:
|
76
|
-
- 1
|
77
|
-
- 3
|
78
|
-
- 6
|
79
67
|
version: 1.3.6
|
80
68
|
requirements: []
|
81
69
|
|
82
70
|
rubyforge_project: semantic_form_for
|
83
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.6.2
|
84
72
|
signing_key:
|
85
73
|
specification_version: 3
|
86
74
|
summary: Simple HTML5-enabled form builder
|