twitter_bootstrap_form_for 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,18 @@
1
1
  Twitter Bootstrap Form For Changes
2
2
  ==================================
3
3
 
4
+ ## 1.0.1 (2011-10-06) ##
5
+ - hidden_field tags are no accidentally marked-up (issue #5)
6
+
7
+ ## 1.0.0 (2011-10-04) ##
8
+ - added a changelog
9
+ - documentation tweaks
10
+
4
11
  ## 1.0.0.rc2 (2011-10-04) ##
5
- - Removed dependency on Haml
6
- - Checkbox text is now part of the label
7
- - Prevent `field_with_errors` divs from wrapping inputs and labels (issue
8
- #1)
12
+ - removed dependency on Haml
13
+ - checkbox text is now part of the label
14
+ - prevent `field_with_errors` divs from wrapping inputs and labels (issue
15
+ #1)
9
16
 
10
17
  ## 1.0.0.rc1 (2011-09-30) ##
11
-
12
- - Initial public release
18
+ - initial public release
@@ -51,7 +51,7 @@ tie this plugin to specific releases of Twitter Bootstrap.
51
51
  / wraps buttons in a distinctive style
52
52
  = user.actions do
53
53
  = user.submit 'Sign up'
54
- = button_tag 'Cancel', :type => 'reset', :class => 'btn'
54
+ = button_tag 'Cancel', :type => 'reset', :class => 'btn'
55
55
  ```
56
56
 
57
57
  That code produces the following output, with no custom stylesheets.
@@ -12,11 +12,12 @@ class TwitterBootstrapFormFor::FormBuilder < ActionView::Helpers::FormBuilder
12
12
  INPUTS = [
13
13
  :select,
14
14
  *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_area$}),
15
- *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_button$}),
16
15
  *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_field$}),
17
16
  *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_select$}),
18
17
  ]
19
18
 
19
+ INPUTS.delete(:hidden_field)
20
+
20
21
  TOGGLES = [
21
22
  :check_box,
22
23
  :radio_button,
@@ -1,3 +1,3 @@
1
1
  module TwitterBootstrapFormFor
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_bootstrap_form_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-04 00:00:00.000000000Z
12
+ date: 2011-10-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70199990648140 !ruby/object:Gem::Requirement
16
+ requirement: &70145897266080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70199990648140
24
+ version_requirements: *70145897266080
25
25
  description: A custom Rails FormBuilder that assumes the use of Twitter Bootstrap
26
26
  email:
27
27
  - stephen@touset.org