ruby-enum 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +18 -12
- data/Gemfile +7 -2
- data/Gemfile.lock +34 -31
- data/LICENSE.md +1 -1
- data/README.md +46 -25
- data/RELEASING.md +2 -2
- data/Rakefile +3 -1
- data/lib/ruby-enum.rb +2 -0
- data/lib/ruby-enum/enum.rb +20 -2
- data/lib/ruby-enum/errors/base.rb +3 -1
- data/lib/ruby-enum/errors/duplicate_key_error.rb +2 -0
- data/lib/ruby-enum/errors/duplicate_value_error.rb +2 -0
- data/lib/ruby-enum/errors/uninitialized_constant_error.rb +2 -0
- data/lib/ruby-enum/version.rb +3 -1
- data/lib/ruby_enum.rb +2 -0
- data/ruby-enum.gemspec +3 -1
- data/spec/ruby-enum/enum_spec.rb +22 -10
- data/spec/ruby-enum/version_spec.rb +2 -0
- data/spec/spec_helper.rb +2 -0
- metadata +3 -5
- data/pkg/ruby-enum-0.6.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 828a267d2038050652f611d901ef0039355a1cbc73dffb9174751333bfd98a0d
|
4
|
+
data.tar.gz: 10172c5b07f0eeeacb0c0d8a5902e4bb691003419dcad6f71f93893969410a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c782b4bc5071e684ec45a00b58ef705b0a46a008d7b67e485ee0881bc7bbe4deca1e5abd6dd86db493b535040db9456a9b848d945bef4a126eed9db26c5ac8fb
|
7
|
+
data.tar.gz: 1c5df9425c445ab3cfdaca44b29d53437ba0519d59144a9dad00d155a1d586615783b64e2c35bf73ab87a4b9c9df193707b3ae7a31782cc0b699ec98b1151068
|
data/CHANGELOG.md
CHANGED
@@ -1,36 +1,42 @@
|
|
1
|
-
### 0.
|
1
|
+
### 0.8.0 (2020/3/27)
|
2
2
|
|
3
|
-
* [#
|
3
|
+
* [#22](https://github.com/dblock/ruby-enum/pull/22): Added `Ruby::Enum#each_key` and `Ruby::Enum#each_value` - [@dblock](https://github.com/dblock).
|
4
|
+
* [#22](https://github.com/dblock/ruby-enum/pull/22): Dropped support for Ruby 2.2 - [@dblock](https://github.com/dblock).
|
5
|
+
* [#22](https://github.com/dblock/ruby-enum/pull/22): Upgraded RuboCop to 0.80.1 - [@dblock](https://github.com/dblock).
|
4
6
|
|
5
|
-
### 0.7.
|
7
|
+
### 0.7.2 (2017/3/15)
|
6
8
|
|
7
|
-
* [#
|
9
|
+
* [#18](https://github.com/dblock/ruby-enum/pull/18): Added support for non constant definition - [@laertispappas](https://github.com/laertispappas).
|
8
10
|
|
9
|
-
### 0.7.
|
11
|
+
### 0.7.1 (2017/2/23)
|
10
12
|
|
11
|
-
* [#
|
13
|
+
* [#16](https://github.com/dblock/ruby-enum/pull/16): Replaced `const_missing` with `const_set` - [@laertispappas](https://github.com/laertispappas).
|
12
14
|
|
13
|
-
### 0.
|
15
|
+
### 0.7.0 (2017/2/21)
|
16
|
+
|
17
|
+
* [#3](https://github.com/dblock/ruby-enum/pull/13): Added support for subclassing an Enum - [@laertispappas](https://github.com/laertispappas).
|
18
|
+
|
19
|
+
### 0.6.0 (2016/5/12)
|
14
20
|
|
15
21
|
* [#12](https://github.com/dblock/ruby-enum/pull/12): A `Ruby::Enum::Errors::DuplicateKeyError` or a `Ruby::Enum::Errors::DuplciateKeyValyeError` will now be raised when duplicate keys / values are defined - [@laertispappas](https://github.com/laertispappas).
|
16
22
|
|
17
|
-
### 0.5.0 (
|
23
|
+
### 0.5.0 (2015/20/11)
|
18
24
|
|
19
25
|
* [#8](https://github.com/dblock/ruby-enum/pull/8): Added `Ruby::Enum#key`, `Ruby::Enum#value`, `Ruby::Enum#key?`, and `Ruby::Enum#value?` - [@dmolesUC3](https://github.com/dmolesUC3).
|
20
26
|
|
21
|
-
### 0.4.0 (
|
27
|
+
### 0.4.0 (2014/29/6)
|
22
28
|
|
23
29
|
* [#5](https://github.com/dblock/ruby-enum/pull/5): Mixed in `Enumerable` - [@kgann](https://github.com/kgann).
|
24
30
|
|
25
|
-
### 0.3.0 (
|
31
|
+
### 0.3.0 (2014/19/5)
|
26
32
|
|
27
33
|
* [#4](https://github.com/dblock/ruby-enum/pull/4): Added `Ruby::Enum#map` - [@ArnaudRinquin](https://github.com/ArnaudRinquin).
|
28
34
|
|
29
|
-
### 0.2.1 (
|
35
|
+
### 0.2.1 (2013/15/5)
|
30
36
|
|
31
37
|
* Added `Ruby::Enum#values`, `Ruby::Enum#keys` and `Ruby::Enum#to_h` - [@dblock](https://github.com/dblock).
|
32
38
|
* A `Ruby::Enum::Errors::UninitializedConstantError` will now be raised when referencing an undefined enum - [@dblock](https://github.com/dblock).
|
33
39
|
|
34
|
-
### 0.1.0 (
|
40
|
+
### 0.1.0 (2013/14/5)
|
35
41
|
|
36
42
|
* Initial public release, live-coded during [May 2013 NYC.rb](http://code.dblock.org/your-first-ruby-gem) - [@dblock](https://github.com/dblock).
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,53 +1,56 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby-enum (0.
|
4
|
+
ruby-enum (0.8.0)
|
5
5
|
i18n
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.0)
|
11
|
-
concurrent-ruby (1.
|
12
|
-
diff-lcs (1.
|
13
|
-
i18n (1.
|
11
|
+
concurrent-ruby (1.1.6)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
i18n (1.8.2)
|
14
14
|
concurrent-ruby (~> 1.0)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
rake (
|
21
|
-
|
22
|
-
|
23
|
-
rspec-
|
24
|
-
rspec-
|
25
|
-
|
26
|
-
|
27
|
-
|
15
|
+
jaro_winkler (1.5.4)
|
16
|
+
parallel (1.19.1)
|
17
|
+
parser (2.7.0.5)
|
18
|
+
ast (~> 2.4.0)
|
19
|
+
rainbow (3.0.0)
|
20
|
+
rake (13.0.1)
|
21
|
+
rexml (3.2.4)
|
22
|
+
rspec (3.9.0)
|
23
|
+
rspec-core (~> 3.9.0)
|
24
|
+
rspec-expectations (~> 3.9.0)
|
25
|
+
rspec-mocks (~> 3.9.0)
|
26
|
+
rspec-core (3.9.1)
|
27
|
+
rspec-support (~> 3.9.1)
|
28
|
+
rspec-expectations (3.9.1)
|
28
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
-
rspec-support (~> 3.
|
30
|
-
rspec-mocks (3.
|
30
|
+
rspec-support (~> 3.9.0)
|
31
|
+
rspec-mocks (3.9.1)
|
31
32
|
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.
|
33
|
-
rspec-support (3.
|
34
|
-
rubocop (0.
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
rspec-support (~> 3.9.0)
|
34
|
+
rspec-support (3.9.2)
|
35
|
+
rubocop (0.80.1)
|
36
|
+
jaro_winkler (~> 1.5.1)
|
37
|
+
parallel (~> 1.10)
|
38
|
+
parser (>= 2.7.0.1)
|
39
|
+
rainbow (>= 2.2.2, < 4.0)
|
40
|
+
rexml
|
38
41
|
ruby-progressbar (~> 1.7)
|
39
|
-
unicode-display_width (
|
40
|
-
ruby-progressbar (1.
|
41
|
-
unicode-display_width (1.
|
42
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
43
|
+
ruby-progressbar (1.10.1)
|
44
|
+
unicode-display_width (1.6.1)
|
42
45
|
|
43
46
|
PLATFORMS
|
44
47
|
ruby
|
45
48
|
|
46
49
|
DEPENDENCIES
|
47
50
|
rake
|
48
|
-
rspec (~> 3.
|
49
|
-
rubocop (= 0.
|
51
|
+
rspec (~> 3.0)
|
52
|
+
rubocop (= 0.80.1)
|
50
53
|
ruby-enum!
|
51
54
|
|
52
55
|
BUNDLED WITH
|
53
|
-
1.
|
56
|
+
2.1.2
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -2,17 +2,18 @@ Ruby::Enum
|
|
2
2
|
==========
|
3
3
|
|
4
4
|
[![Gem Version](http://img.shields.io/gem/v/ruby-enum.svg)](http://badge.fury.io/rb/ruby-enum)
|
5
|
-
[![Build Status](
|
6
|
-
[![Dependency Status](https://gemnasium.com/dblock/ruby-enum.svg)](https://gemnasium.com/dblock/ruby-enum)
|
5
|
+
[![Build Status](https://travis-ci.org/dblock/ruby-enum.svg?branch=master)](https://travis-ci.org/dblock/ruby-enum)
|
7
6
|
[![Code Climate](https://codeclimate.com/github/dblock/ruby-enum.svg)](https://codeclimate.com/github/dblock/ruby-enum)
|
8
7
|
|
9
8
|
Enum-like behavior for Ruby, heavily inspired by [this](http://www.rubyfleebie.com/enumerations-and-ruby) and improved upon [another blog post](http://code.dblock.org/how-to-define-enums-in-ruby).
|
10
9
|
|
11
10
|
## Usage
|
12
11
|
|
13
|
-
Enums can be defined and accessed either as constants or class methods
|
14
|
-
|
15
|
-
|
12
|
+
Enums can be defined and accessed either as constants or class methods, which is a matter of preference.
|
13
|
+
|
14
|
+
### Constants
|
15
|
+
|
16
|
+
Define enums and reference them as constants.
|
16
17
|
|
17
18
|
``` ruby
|
18
19
|
class Colors
|
@@ -21,18 +22,8 @@ class Colors
|
|
21
22
|
define :RED, "red"
|
22
23
|
define :GREEN, "green"
|
23
24
|
end
|
24
|
-
|
25
|
-
# or for versions >= 0.7.2
|
26
|
-
class State
|
27
|
-
include Ruby::Enum
|
28
|
-
|
29
|
-
define :created, 'Created'
|
30
|
-
define :published, 'Published'
|
31
|
-
end
|
32
25
|
```
|
33
26
|
|
34
|
-
### Referencing
|
35
|
-
|
36
27
|
``` ruby
|
37
28
|
Colors::RED # "red"
|
38
29
|
Colors::GREEN # "green"
|
@@ -40,16 +31,33 @@ Colors::UNDEFINED # raises Ruby::Enum::Errors::UninitializedConstantError
|
|
40
31
|
Colors.keys # [ :RED, :GREEN ]
|
41
32
|
Colors.values # [ "red", "green" ]
|
42
33
|
Colors.to_h # { :RED => "red", :GREEN => "green" }
|
34
|
+
```
|
35
|
+
|
36
|
+
### Class Methods
|
37
|
+
|
38
|
+
Define enums reference them as class methods.
|
39
|
+
|
40
|
+
``` ruby
|
41
|
+
class OrderState
|
42
|
+
include Ruby::Enum
|
43
|
+
|
44
|
+
define :created, 'Created'
|
45
|
+
define :paid, 'Paid'
|
46
|
+
end
|
47
|
+
```
|
43
48
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
49
|
+
```ruby
|
50
|
+
OrderState.created # "Created"
|
51
|
+
OrderState.paid # "Paid"
|
52
|
+
OrderState.undefined # NoMethodError is raised
|
53
|
+
OrderState.keys # [ :created, :paid ]
|
54
|
+
OrderState.values # ["Created", "Paid"]
|
55
|
+
OrderState.to_h # { :created => 'Created', :paid => 'Paid' }
|
50
56
|
```
|
51
57
|
|
52
|
-
###
|
58
|
+
### Enumerating
|
59
|
+
|
60
|
+
All `Enumerable` methods are supported.
|
53
61
|
|
54
62
|
#### Iterating
|
55
63
|
|
@@ -60,6 +68,18 @@ Colors.each do |key, enum|
|
|
60
68
|
end
|
61
69
|
```
|
62
70
|
|
71
|
+
``` ruby
|
72
|
+
Colors.each_key do |key|
|
73
|
+
# :RED, :GREEN
|
74
|
+
end
|
75
|
+
```
|
76
|
+
|
77
|
+
``` ruby
|
78
|
+
Colors.each_value do |value|
|
79
|
+
# "red", "green"
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
63
83
|
#### Mapping
|
64
84
|
|
65
85
|
``` ruby
|
@@ -95,7 +115,9 @@ end
|
|
95
115
|
# => [ [:GREEN, #<Colors:...>], [:RED, #<Colors:...>] ]
|
96
116
|
```
|
97
117
|
|
98
|
-
###
|
118
|
+
### Hashing
|
119
|
+
|
120
|
+
Several hash-like methods are supported.
|
99
121
|
|
100
122
|
#### Retrieving keys and values
|
101
123
|
|
@@ -139,7 +161,6 @@ Colors.key('yellow')
|
|
139
161
|
# => nil
|
140
162
|
```
|
141
163
|
|
142
|
-
|
143
164
|
### Duplicate enumerator keys or duplicate values
|
144
165
|
|
145
166
|
Defining duplicate enums will raise a `Ruby::Enum::Errors::DuplicateKeyError`. Moreover a duplicate
|
@@ -177,7 +198,7 @@ You're encouraged to contribute to this gem. See [CONTRIBUTING](CONTRIBUTING.md)
|
|
177
198
|
|
178
199
|
## Copyright and License
|
179
200
|
|
180
|
-
Copyright (c) 2013-
|
201
|
+
Copyright (c) 2013-2020, Daniel Doubrovkine and [Contributors](CHANGELOG.md).
|
181
202
|
|
182
203
|
This project is licensed under the [MIT License](LICENSE.md).
|
183
204
|
|
data/RELEASING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Releasing Ruby-Enum
|
2
2
|
|
3
|
-
There're no hard rules about when to release ruby-enum. Release bug fixes
|
3
|
+
There're no hard rules about when to release ruby-enum. Release bug fixes frequently, features not so frequently and breaking API changes rarely.
|
4
4
|
|
5
5
|
### Release
|
6
6
|
|
@@ -58,7 +58,7 @@ Next Release
|
|
58
58
|
|
59
59
|
Increment the third version number in [lib/ruby-enum/version.rb](lib/ruby-enum/version.rb).
|
60
60
|
|
61
|
-
|
61
|
+
Commit your changes.
|
62
62
|
|
63
63
|
```
|
64
64
|
git add CHANGELOG.md lib/ruby-enum/version.rb
|
data/Rakefile
CHANGED
data/lib/ruby-enum.rb
CHANGED
data/lib/ruby-enum/enum.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Ruby
|
2
4
|
module Enum
|
3
5
|
attr_reader :key, :value
|
@@ -85,7 +87,7 @@ module Ruby
|
|
85
87
|
# Returns the corresponding enum instance or nil.
|
86
88
|
def value(k)
|
87
89
|
enum = @_enum_hash[k]
|
88
|
-
enum
|
90
|
+
enum&.value
|
89
91
|
end
|
90
92
|
|
91
93
|
# Whether the specified value exists in this enum.
|
@@ -106,7 +108,7 @@ module Ruby
|
|
106
108
|
# Returns the corresponding key symbol or nil.
|
107
109
|
def key(v)
|
108
110
|
enum = @_enums_by_value[v]
|
109
|
-
enum
|
111
|
+
enum&.key
|
110
112
|
end
|
111
113
|
|
112
114
|
# Returns all enum keys.
|
@@ -119,6 +121,22 @@ module Ruby
|
|
119
121
|
@_enum_hash.values.map(&:value)
|
120
122
|
end
|
121
123
|
|
124
|
+
# Iterate over all enumerated values.
|
125
|
+
# Required for Enumerable mixin
|
126
|
+
def each_value(&_block)
|
127
|
+
@_enum_hash.each_value do |v|
|
128
|
+
yield v.value
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# Iterate over all enumerated keys.
|
133
|
+
# Required for Enumerable mixin
|
134
|
+
def each_key(&_block)
|
135
|
+
@_enum_hash.each_value do |v|
|
136
|
+
yield v.key
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
122
140
|
def to_h
|
123
141
|
Hash[@_enum_hash.map do |key, enum|
|
124
142
|
[key, enum.value]
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Ruby
|
2
4
|
module Enum
|
3
5
|
module Errors
|
@@ -26,7 +28,7 @@ module Ruby
|
|
26
28
|
|
27
29
|
private
|
28
30
|
|
29
|
-
BASE_KEY = 'ruby.enum.errors.messages'
|
31
|
+
BASE_KEY = 'ruby.enum.errors.messages' #:nodoc:
|
30
32
|
|
31
33
|
# Given the key of the specific error and the options hash, translate the
|
32
34
|
# message.
|
data/lib/ruby-enum/version.rb
CHANGED
data/lib/ruby_enum.rb
CHANGED
data/ruby-enum.gemspec
CHANGED
data/spec/ruby-enum/enum_spec.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'spec_helper'
|
2
4
|
|
3
5
|
class Colors
|
@@ -33,9 +35,9 @@ describe Ruby::Enum do
|
|
33
35
|
enum_keys << enum.key
|
34
36
|
enum_values << enum.value
|
35
37
|
end
|
36
|
-
expect(keys).to eq [
|
37
|
-
expect(enum_keys).to eq [
|
38
|
-
expect(enum_values).to eq %w
|
38
|
+
expect(keys).to eq %i[RED GREEN]
|
39
|
+
expect(enum_keys).to eq %i[RED GREEN]
|
40
|
+
expect(enum_values).to eq %w[red green]
|
39
41
|
end
|
40
42
|
end
|
41
43
|
context '#map' do
|
@@ -63,8 +65,13 @@ describe Ruby::Enum do
|
|
63
65
|
end
|
64
66
|
end
|
65
67
|
context '#key?' do
|
66
|
-
it 'returns true for valid keys' do
|
67
|
-
Colors.keys.each do |key|
|
68
|
+
it 'returns true for valid keys accessed directly' do
|
69
|
+
Colors.keys.each do |key| # rubocop:disable Style/HashEachMethods
|
70
|
+
expect(Colors.key?(key)).to eq(true)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
it 'returns true for valid keys accessed via each_keys' do
|
74
|
+
Colors.each_key do |key|
|
68
75
|
expect(Colors.key?(key)).to eq(true)
|
69
76
|
end
|
70
77
|
end
|
@@ -83,8 +90,13 @@ describe Ruby::Enum do
|
|
83
90
|
end
|
84
91
|
end
|
85
92
|
context '#value?' do
|
86
|
-
it 'returns true for valid values' do
|
87
|
-
Colors.values.each do |value|
|
93
|
+
it 'returns true for valid values accessed directly' do
|
94
|
+
Colors.values.each do |value| # rubocop:disable Style/HashEachMethods
|
95
|
+
expect(Colors.value?(value)).to eq(true)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
it 'returns true for valid values accessed via each_value' do
|
99
|
+
Colors.each_value do |value|
|
88
100
|
expect(Colors.value?(value)).to eq(true)
|
89
101
|
end
|
90
102
|
end
|
@@ -104,12 +116,12 @@ describe Ruby::Enum do
|
|
104
116
|
end
|
105
117
|
context '#keys' do
|
106
118
|
it 'returns keys' do
|
107
|
-
expect(Colors.keys).to eq([
|
119
|
+
expect(Colors.keys).to eq(%i[RED GREEN])
|
108
120
|
end
|
109
121
|
end
|
110
122
|
context '#values' do
|
111
123
|
it 'returns values' do
|
112
|
-
expect(Colors.values).to eq(%w
|
124
|
+
expect(Colors.values).to eq(%w[red green])
|
113
125
|
end
|
114
126
|
end
|
115
127
|
context '#to_h' do
|
@@ -149,7 +161,7 @@ describe Ruby::Enum do
|
|
149
161
|
|
150
162
|
context 'when a constant is redefined in a global namespace' do
|
151
163
|
before do
|
152
|
-
RED = 'black'
|
164
|
+
RED = 'black'
|
153
165
|
end
|
154
166
|
|
155
167
|
it { expect(Colors::RED).to eq 'red' }
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-enum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Doubrovkine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -47,7 +47,6 @@ files:
|
|
47
47
|
- lib/ruby-enum/errors/uninitialized_constant_error.rb
|
48
48
|
- lib/ruby-enum/version.rb
|
49
49
|
- lib/ruby_enum.rb
|
50
|
-
- pkg/ruby-enum-0.6.0.gem
|
51
50
|
- ruby-enum.gemspec
|
52
51
|
- spec/ruby-enum/enum_spec.rb
|
53
52
|
- spec/ruby-enum/version_spec.rb
|
@@ -71,8 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
70
|
- !ruby/object:Gem::Version
|
72
71
|
version: 1.3.6
|
73
72
|
requirements: []
|
74
|
-
|
75
|
-
rubygems_version: 2.6.13
|
73
|
+
rubygems_version: 3.0.3
|
76
74
|
signing_key:
|
77
75
|
specification_version: 4
|
78
76
|
summary: Enum-like behavior for Ruby.
|
data/pkg/ruby-enum-0.6.0.gem
DELETED
Binary file
|