has_enum 0.8.1.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  Formtastic::SemanticFormBuilder.class_eval do
2
2
 
3
3
  def enum_input(method, options = {})
4
- options.merge! :collection => object.class.values_for_select_tag(method)
4
+ options[:collection] ||= object.class.values_for_select_tag(method)
5
5
  if object.class.has_multiple_enum? method
6
6
  check_boxes_input method, options
7
7
  else
@@ -1,3 +1,3 @@
1
1
  module HasEnum
2
- VERSION = "0.8.1.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 1
9
- - 1
10
- version: 0.8.1.1
8
+ - 2
9
+ version: 0.8.2
11
10
  platform: ruby
12
11
  authors:
13
12
  - Andreas Korth
@@ -17,7 +16,7 @@ autorequire:
17
16
  bindir: bin
18
17
  cert_chain: []
19
18
 
20
- date: 2011-04-12 00:00:00 +07:00
19
+ date: 2011-04-18 00:00:00 +07:00
21
20
  default_executable:
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency