active_enum 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ [0.9.12] : 2012-09-11
2
+ - Fixes for generator config template and doc updates. [kuraga]
3
+
1
4
  [0.9.11] : 2012-08-18
2
5
  - Use the name key as default value for the name in I18n storage. [kengos]
3
6
 
@@ -198,7 +198,11 @@ There is support for Formtastic[http://github.com/justinfrench/formtastic] and S
198
198
  to make it easier to use the enum values as select options. The plugins have an almost identical API which is handy.
199
199
  You just need to require the extension for the respective plugin in an initialiser:
200
200
 
201
- Formtastic:
201
+ Formtastic 2.x:
202
+
203
+ require 'active_enum/form_helpers/formtastic2'
204
+
205
+ Formtastic <2:
202
206
 
203
207
  require 'active_enum/form_helpers/formtastic'
204
208
 
@@ -1,3 +1,3 @@
1
1
  module ActiveEnum
2
- VERSION = '0.9.11'
2
+ VERSION = '0.9.12'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  # Form helper integration
2
- # require 'active_enum/form_helpers/simple_form'
3
- # require 'active_enum/form_helpers/formtastic
2
+ # require 'active_enum/form_helpers/formtastic' # for Formtastic <2
3
+ # require 'active_enum/form_helpers/formtastic2' # for Formtastic 2.x
4
4
 
5
5
  ActiveEnum.setup do |config|
6
6
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_enum
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 11
10
- version: 0.9.11
9
+ - 12
10
+ version: 0.9.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Meehan
@@ -15,10 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-18 00:00:00 +10:00
18
+ date: 2012-09-11 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
+ name: activesupport
23
+ prerelease: false
22
24
  requirement: &id001 !ruby/object:Gem::Requirement
23
25
  none: false
24
26
  requirements:
@@ -29,8 +31,6 @@ dependencies:
29
31
  - 3
30
32
  - 0
31
33
  version: "3.0"
32
- name: activesupport
33
- prerelease: false
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description: Define enum classes in Rails and use them to enumerate ActiveRecord attributes