cuprum 1.3.0.rc.0 → 1.3.0
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/README.md +8 -1
- data/lib/cuprum/version.rb +2 -2
- 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: 2aef54d863b9f8e1a9053707b2235d2399cc3f6b57b0f5afc6681dd445493a7f
|
4
|
+
data.tar.gz: fa1eda58b482559e873c15c19b58ada050161c3ded4b9cff241e0aa5918d871a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bce88059c5ec463f4c73dfd37e9fd30ef84414d0c105e5ef577f249ddbf459d0cd1e47cfbbd49fe4dc22bc9948025f05813a7df41c1cec898952b2786319eddd
|
7
|
+
data.tar.gz: 1156ca79614cbd4091c8169eb5184efa90e837324bc066f9bfa1ea9c7e01666f24ec55a8002b99694e39c8b094e24cfc06f23432924b083807ce23a3d292a011
|
data/README.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# Cuprum
|
2
2
|
|
3
|
-
|
3
|
+
Cuprum is a toolkit for defining business logic as a first-class member of your application. It bridges object-oriented and functional programming techniques to provide a structured approach to defining actions, state transitions, and other processes for your application.
|
4
|
+
|
5
|
+
<blockquote>
|
6
|
+
Read The
|
7
|
+
<a href="https://www.sleepingkingstudios.com/cuprum" target="_blank">
|
8
|
+
Documentation
|
9
|
+
</a>
|
10
|
+
</blockquote>
|
4
11
|
|
5
12
|
Cuprum defines a Command object, which is a callable object that encapsulates some piece of business logic. Each call to a Command returns a Result with a status and optionally data or an error object. As objects, Commands can be passed as parameters, returned from methods (or other Commands). Commands also define a #step method, which can be used to gracefully handle failure states and define complex operations by combining simpler components.
|
6
13
|
|
data/lib/cuprum/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuprum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-21 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: sleeping_king_studios-tools
|