philiprehberger-enum 0.1.2 → 0.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +3 -3
- data/lib/philiprehberger/enum/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9cecf9c19ba8da7908f89880caa3133e7a4d00b293a727c5f5ef46d62f24e9b3
|
|
4
|
+
data.tar.gz: 3e751afee38e918f9bf7372b318472c27f3e85b45649e91e998fba56ac572731
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cde5e3645727acdbf29b891334107bb820e6e7f466bf0ec12ebdbf245b44bda8f3c2f2c00cf2e7a37d0cc8482150e3a2d2d4287f828ab1c433aa9b504c322dd
|
|
7
|
+
data.tar.gz: 8532661de5610adcd72681e0aa98a132b6368824d84ad52f8a01a8ca9ea065e657062fb25550104760589be38dff3855d52b3098f98b28afc75e60d89b85f82d
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.3] - 2026-03-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Standardize README code examples to use double-quote require statements
|
|
14
|
+
- Remove inline comments from Development section to match template
|
|
15
|
+
|
|
10
16
|
## [0.1.2] - 2026-03-24
|
|
11
17
|
|
|
12
18
|
### Fixed
|
data/README.md
CHANGED
|
@@ -27,7 +27,7 @@ gem install philiprehberger-enum
|
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
29
29
|
```ruby
|
|
30
|
-
require
|
|
30
|
+
require "philiprehberger/enum"
|
|
31
31
|
|
|
32
32
|
class Status < Philiprehberger::Enum
|
|
33
33
|
member :draft
|
|
@@ -113,8 +113,8 @@ Status::DRAFT.to_json # => '{"name":"draft","ordinal":0,"value":null}'
|
|
|
113
113
|
|
|
114
114
|
```bash
|
|
115
115
|
bundle install
|
|
116
|
-
bundle exec rspec
|
|
117
|
-
bundle exec rubocop
|
|
116
|
+
bundle exec rspec
|
|
117
|
+
bundle exec rubocop
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
## License
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: philiprehberger-enum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Rehberger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Define type-safe enums in Ruby with automatic ordinals, custom values,
|
|
14
14
|
lookup methods, and Ruby 3.x pattern matching support. A cleaner alternative to
|