active_enum 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ [0.9.9] : 2012-07-08
2
+ - Really fix Railtie issue this time.
3
+
4
+ [0.9.8] : 2012-07-02
5
+ - Add I18n storage backend
6
+ - Fix load order issue when relying on Railtie to load ActiveRecord support.
7
+ - Add support for simple_form v2.
8
+
1
9
  [0.9.7] : 2011-12-11
2
10
  - Add Formtastic 2 form helper. [fbuenemann]
3
11
 
data/README.rdoc CHANGED
@@ -3,7 +3,7 @@
3
3
  Define enum classes in Rails and use them to enumerate ActiveRecord attributes. Brings together some ideas
4
4
  of similar plugins that I liked and does it they way I prefer.
5
5
 
6
- Enum values are stored in memory at the moment but I plan to add database and possibly others.
6
+ Enum values are stored in memory at the moment but I plan to add database and possibly others. See Storage Backends.
7
7
 
8
8
  == Install
9
9
 
@@ -4,7 +4,8 @@ module ActiveEnum
4
4
  ActiveSupport.on_load(:active_record) do
5
5
  require 'active_enum/acts_as_enum'
6
6
 
7
- ActiveEnum.extend_classes = [ ActiveRecord::Base ]
7
+ ActiveEnum.extend_classes << ActiveRecord::Base
8
+ ActiveEnum.extend_classes!
8
9
  end
9
10
  end
10
11
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveEnum
2
- VERSION = '0.9.8'
2
+ VERSION = '0.9.9'
3
3
  end
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: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 8
10
- version: 0.9.8
9
+ - 9
10
+ version: 0.9.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Meehan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-02 00:00:00 +10:00
18
+ date: 2012-07-08 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency