registration_office 0.3.0 → 0.3.2
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 +8 -0
- data/README.md +7 -2
- data/lib/registration_office/version.rb +1 -1
- metadata +10 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17f16a82673c7163d54e2e91459a22e337b54292886a6950d884f3d32ca048c9
|
|
4
|
+
data.tar.gz: fc19ef3138f10038acac0a4132a70299d40b97b9d3cbae27a064e5673daf5410
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c88b3c8e1bb67102059dc9179fb3b229e98e5da34d64552611a69b7ef28bee578847ee23ecfae6b1a76dc6cd0a08542ed6fae24f2937a5019adca3192024759a
|
|
7
|
+
data.tar.gz: bc8ed6de00487fa72e7137eb05c5c1122e4912d3489b6cc8e9cddfab420b6f7eefde9ab49e7cf8322749e4a1b583bba23356b9e2ce90090cca47386bc8ce4726
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.3.2] - 2026-09-14
|
|
4
|
+
|
|
5
|
+
- Add GitHub Action/Workflow for automated testing
|
|
6
|
+
|
|
7
|
+
## [0.3.1] - 2026-09-09
|
|
8
|
+
|
|
9
|
+
- Updates `README.md` and the `gemspec` file for publishing on rubygems.org
|
|
10
|
+
|
|
3
11
|
## [0.3.0] - 2026-09-08
|
|
4
12
|
|
|
5
13
|
- Adds option for additional payload for each key:
|
data/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# RegistrationOffice
|
|
2
2
|
|
|
3
|
+
[](https://gem.coop/@aec3/registration_office)
|
|
4
|
+
[](https://badge.fury.io/rb/registration_office)
|
|
5
|
+
|
|
3
6
|
The `registration_office` gem allows registering a collection of key-value pairs. The registration is per class (or
|
|
4
7
|
module), which is useful for registering possible failure codes that a service may return. See also the example in
|
|
5
8
|
section [*Example*](#example).
|
|
@@ -231,8 +234,10 @@ Order.demand.keys
|
|
|
231
234
|
If this gem proves to be useful, following topics may be added:
|
|
232
235
|
|
|
233
236
|
- Meta:
|
|
234
|
-
- Publishing on https://gem.coop
|
|
235
|
-
- CI/CD via GitHub Actions
|
|
237
|
+
- [X] Publishing on https://gem.coop
|
|
238
|
+
- CI/CD via GitHub Actions
|
|
239
|
+
- [X] `rspec`, `rubocop`
|
|
240
|
+
- [ ] publishing
|
|
236
241
|
- Features: currently nothing more planned
|
|
237
242
|
|
|
238
243
|
## Development
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: registration_office
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Kaulfuß
|
|
@@ -9,9 +9,11 @@ bindir: exe
|
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
|
-
description:
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
description: |
|
|
13
|
+
Allows named registers within modules and classes.
|
|
14
|
+
This is e.g. useful for registering failure codes for a service object:
|
|
15
|
+
- You get a register of all available failure codes, making their discovery and auto-documentation easy
|
|
16
|
+
- You get explicit exceptions if unregistered keys are used in your codebase
|
|
15
17
|
email:
|
|
16
18
|
- ek@aec3.de
|
|
17
19
|
executables: []
|
|
@@ -32,14 +34,14 @@ files:
|
|
|
32
34
|
- lib/registration_office/registry.rb
|
|
33
35
|
- lib/registration_office/version.rb
|
|
34
36
|
- sig/registration_office.rbs
|
|
35
|
-
homepage: https://github.com/
|
|
37
|
+
homepage: https://github.com/AEC3-Deutschland-GmbH/registration_office
|
|
36
38
|
licenses:
|
|
37
39
|
- MIT
|
|
38
40
|
metadata:
|
|
39
41
|
rubygems_mfa_required: 'true'
|
|
40
|
-
homepage_uri: https://github.com/
|
|
41
|
-
source_code_uri: https://github.com/
|
|
42
|
-
changelog_uri: https://github.com/
|
|
42
|
+
homepage_uri: https://github.com/AEC3-Deutschland-GmbH/registration_office
|
|
43
|
+
source_code_uri: https://github.com/AEC3-Deutschland-GmbH/registration_office
|
|
44
|
+
changelog_uri: https://github.com/AEC3-Deutschland-GmbH/registration_office
|
|
43
45
|
rdoc_options: []
|
|
44
46
|
require_paths:
|
|
45
47
|
- lib
|