mschuerig-easy_enums 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/lib/easy_enums.rb +1 -1
  3. data/rails/init.rb +6 -0
  4. metadata +2 -2
data/History.txt CHANGED
@@ -6,3 +6,7 @@
6
6
  == 0.0.2 2009-04-02
7
7
 
8
8
  * Changed naming .value instead of .create.
9
+
10
+ == 0.0.3 2009-04-02
11
+
12
+ * Added missing rails/init.rb
data/lib/easy_enums.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module EasyEnumerations
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
 
5
5
  def self.included(base)
6
6
  base.extend(ClassMethods)
data/rails/init.rb ADDED
@@ -0,0 +1,6 @@
1
+
2
+ require 'easy_enums'
3
+
4
+ ActiveRecord::Base.class_eval do
5
+ include EasyEnumerations
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mschuerig-easy_enums
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schuerig
@@ -48,7 +48,7 @@ files:
48
48
  - Manifest.txt
49
49
  - README.rdoc
50
50
  - Rakefile
51
- - init.rb
51
+ - rails/init.rb
52
52
  - lib/easy_enums.rb
53
53
  - test/test_easy_enums.rb
54
54
  - test/test_helper.rb