active_enum 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +5 -4
  2. data/lib/active_enum/version.rb +1 -1
  3. metadata +9 -4
@@ -7,13 +7,14 @@ Enum values are stored in memory at the moment but I plan to add database and ya
7
7
 
8
8
  == Install
9
9
 
10
- On Gemcutter:
10
+ For Rails 2.x only
11
11
 
12
- sudo gem install active_enum
12
+ gem install active_enum --version '~> 0.6.0'
13
13
 
14
14
  And add to your Rails environment.rb
15
15
 
16
- config.gem 'active_enum'
16
+ config.gem 'active_enum', :version => '~> 0.6.0'
17
+
17
18
 
18
19
  == Example
19
20
 
@@ -81,7 +82,7 @@ Define enum class implicitly from enumerate block. Enum class is namespaced by m
81
82
 
82
83
  class User < ActiveRecord::Base
83
84
 
84
- # defines User::Sex
85
+ # defines User::Sex enum class
85
86
  enumerate :sex do
86
87
  value :name => 'Male'
87
88
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveEnum
2
- VERSION = '0.6.4'
2
+ VERSION = '0.6.5'
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_enum
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 13
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 6
8
- - 4
9
- version: 0.6.4
9
+ - 5
10
+ version: 0.6.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - Adam Meehan
@@ -14,7 +15,7 @@ autorequire: active_enum
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-26 00:00:00 +10:00
18
+ date: 2010-06-24 00:00:00 +10:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -53,23 +54,27 @@ rdoc_options: []
53
54
  require_paths:
54
55
  - lib
55
56
  required_ruby_version: !ruby/object:Gem::Requirement
57
+ none: false
56
58
  requirements:
57
59
  - - ">="
58
60
  - !ruby/object:Gem::Version
61
+ hash: 3
59
62
  segments:
60
63
  - 0
61
64
  version: "0"
62
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
+ none: false
63
67
  requirements:
64
68
  - - ">="
65
69
  - !ruby/object:Gem::Version
70
+ hash: 3
66
71
  segments:
67
72
  - 0
68
73
  version: "0"
69
74
  requirements: []
70
75
 
71
76
  rubyforge_project: active_enum
72
- rubygems_version: 1.3.6
77
+ rubygems_version: 1.3.7
73
78
  signing_key:
74
79
  specification_version: 3
75
80
  summary: Define enum classes in Rails and use them to enumerate ActiveRecord attributes