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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 47e52bdfbc7d70944470141e18c1629d058326c0
4
- data.tar.gz: 3992c7e739aea0799d6adc820e03b6bba5f17357
2
+ SHA256:
3
+ metadata.gz: 828a267d2038050652f611d901ef0039355a1cbc73dffb9174751333bfd98a0d
4
+ data.tar.gz: 10172c5b07f0eeeacb0c0d8a5902e4bb691003419dcad6f71f93893969410a43
5
5
  SHA512:
6
- metadata.gz: 79c51dec06a07ccb4b6bcbbfd18101798e885674bf0d3f6e95e7833f70c8d99485a87739d6e6b644f3f7d34e8488417b116aa3a6d4c2311343cb8fdd597eca46
7
- data.tar.gz: a532c64b93a9ec0a44b68db66a81f6b206ee9d65c40f156ce91da89fd00a6124a61e2b59a1bc902ace03580cb79a74b4a09fdb77a4e5c0a2172c8f7dca81c035
6
+ metadata.gz: c782b4bc5071e684ec45a00b58ef705b0a46a008d7b67e485ee0881bc7bbe4deca1e5abd6dd86db493b535040db9456a9b848d945bef4a126eed9db26c5ac8fb
7
+ data.tar.gz: 1c5df9425c445ab3cfdaca44b29d53437ba0519d59144a9dad00d155a1d586615783b64e2c35bf73ab87a4b9c9df193707b3ae7a31782cc0b699ec98b1151068
@@ -1,36 +1,42 @@
1
- ### 0.7.2 (15/3/2017)
1
+ ### 0.8.0 (2020/3/27)
2
2
 
3
- * [#18](https://github.com/dblock/ruby-enum/pull/18): Adds support for non constant definition - [@laertispappas](https://github.com/laertispappas).
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.1 (23/2/2017)
7
+ ### 0.7.2 (2017/3/15)
6
8
 
7
- * [#16](https://github.com/dblock/ruby-enum/pull/16): Replaces const_missing method in favor of const_set - [@laertispappas](https://github.com/laertispappas).
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.0 (21/2/2017)
11
+ ### 0.7.1 (2017/2/23)
10
12
 
11
- * [#3](https://github.com/dblock/ruby-enum/pull/13): Adds support for sub classing an Enum - [@laertispappas](https://github.com/laertispappas).
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.6.0 (12/5/2016)
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 (11/20/2015)
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 (6/29/2014)
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 (5/19/2014)
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 (5/15/2013)
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 (5/14/2013)
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
@@ -1,7 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'http://rubygems.org'
2
4
 
3
5
  gemspec
4
6
 
5
7
  gem 'rake'
6
- gem 'rspec', '~> 3.4.0'
7
- gem 'rubocop', '0.47.1'
8
+
9
+ group :development, :test do
10
+ gem 'rspec', '~> 3.0'
11
+ gem 'rubocop', '0.80.1'
12
+ end
@@ -1,53 +1,56 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-enum (0.7.2)
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.0.5)
12
- diff-lcs (1.2.5)
13
- i18n (1.0.0)
11
+ concurrent-ruby (1.1.6)
12
+ diff-lcs (1.3)
13
+ i18n (1.8.2)
14
14
  concurrent-ruby (~> 1.0)
15
- parser (2.4.0.2)
16
- ast (~> 2.3)
17
- powerpack (0.1.1)
18
- rainbow (2.2.2)
19
- rake
20
- rake (11.3.0)
21
- rspec (3.4.0)
22
- rspec-core (~> 3.4.0)
23
- rspec-expectations (~> 3.4.0)
24
- rspec-mocks (~> 3.4.0)
25
- rspec-core (3.4.4)
26
- rspec-support (~> 3.4.0)
27
- rspec-expectations (3.4.0)
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.4.0)
30
- rspec-mocks (3.4.1)
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.4.0)
33
- rspec-support (3.4.1)
34
- rubocop (0.47.1)
35
- parser (>= 2.3.3.1, < 3.0)
36
- powerpack (~> 0.1)
37
- rainbow (>= 1.99.1, < 3.0)
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 (~> 1.0, >= 1.0.1)
40
- ruby-progressbar (1.9.0)
41
- unicode-display_width (1.3.0)
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.4.0)
49
- rubocop (= 0.47.1)
51
+ rspec (~> 3.0)
52
+ rubocop (= 0.80.1)
50
53
  ruby-enum!
51
54
 
52
55
  BUNDLED WITH
53
- 1.15.3
56
+ 2.1.2
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2013-2016 Daniel Doubrovkine.
3
+ Copyright (c) 2013-2020 Daniel Doubrovkine.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
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](http://img.shields.io/travis/dblock/ruby-enum.svg)](https://travis-ci.org/dblock/ruby-enum)
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. For example below we have two Ruby::Enum classes
14
- where the first one (Colors) defines its enums and references them as constants. The second class (State) defines and
15
- references its enums as class methods.
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
- State.created # "Created"
45
- State.published # "Published"
46
- State.undefined # NoMethodError is raised
47
- State.keys # [ :created, :published ]
48
- State.values # ["Created", "Published"]
49
- State.to_h # { :created => 'Created', :published => 'Published' }
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
- ### All `Enumerable` methods are supported.
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
- ### Several hash-like methods are supported.
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-2016, Daniel Doubrovkine and [Contributors](CHANGELOG.md).
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
 
@@ -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 frequenty, features not so frequently and breaking API changes rarely.
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
- Comit your changes.
61
+ Commit your changes.
62
62
 
63
63
  ```
64
64
  git add CHANGELOG.md lib/ruby-enum/version.rb
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rubygems'
2
4
  require 'bundler/gem_tasks'
3
5
 
@@ -13,4 +15,4 @@ end
13
15
  require 'rubocop/rake_task'
14
16
  RuboCop::RakeTask.new(:rubocop)
15
17
 
16
- task default: [:rubocop, :spec]
18
+ task default: %i[rubocop spec]
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'i18n'
2
4
 
3
5
  require 'ruby-enum/version'
@@ -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.value if 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.key if 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'.freeze #:nodoc:
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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ruby
2
4
  module Enum
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ruby
2
4
  module Enum
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ruby
2
4
  module Enum
3
5
  module Errors
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ruby
2
4
  module Enum
3
- VERSION = '0.7.2'.freeze
5
+ VERSION = '0.8.0'
4
6
  end
5
7
  end
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'ruby-enum'
@@ -1,4 +1,6 @@
1
- $LOAD_PATH.push File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
2
4
  require 'ruby-enum/version'
3
5
 
4
6
  Gem::Specification.new do |s|
@@ -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 [:RED, :GREEN]
37
- expect(enum_keys).to eq [:RED, :GREEN]
38
- expect(enum_values).to eq %w(red green)
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([:RED, :GREEN])
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(red green))
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'.freeze
164
+ RED = 'black'
153
165
  end
154
166
 
155
167
  it { expect(Colors::RED).to eq 'red' }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Ruby::Enum do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
4
 
3
5
  require 'rubygems'
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.7.2
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: 2018-02-16 00:00:00.000000000 Z
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
- rubyforge_project:
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.
Binary file