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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -1
  3. data/lib/cuprum/version.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 878254bafd0929c73d6762f9fe732bbf647ae7d595c52733a53b1cd4115a308d
4
- data.tar.gz: 4612a002c3523ea886274e4463e15d0d7139185cbebb5752e7ab4a0289d2d776
3
+ metadata.gz: 2aef54d863b9f8e1a9053707b2235d2399cc3f6b57b0f5afc6681dd445493a7f
4
+ data.tar.gz: fa1eda58b482559e873c15c19b58ada050161c3ded4b9cff241e0aa5918d871a
5
5
  SHA512:
6
- metadata.gz: 537237e0cb5d7013af24907c0f2a7daf4d2967b5ad22bbfe078a76d7fc975df623f0119428ed0a6a962033e7d50ab8b9544b5bc590814ea65cbcc05d1fc5ea0d
7
- data.tar.gz: 12fbd72264936ffaba10313fdc5a20ddd0c3003532c83ef47bb4accecf5652864d7dc99975ae96c86caaf00bfe7f8b1a2d206d46ea2626579ff9dcaf661ab019
6
+ metadata.gz: bce88059c5ec463f4c73dfd37e9fd30ef84414d0c105e5ef577f249ddbf459d0cd1e47cfbbd49fe4dc22bc9948025f05813a7df41c1cec898952b2786319eddd
7
+ data.tar.gz: 1156ca79614cbd4091c8169eb5184efa90e837324bc066f9bfa1ea9c7e01666f24ec55a8002b99694e39c8b094e24cfc06f23432924b083807ce23a3d292a011
data/README.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Cuprum
2
2
 
3
- Toolkit for implementing business logic as function objects.
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
 
@@ -14,9 +14,9 @@ module Cuprum
14
14
  # Patch version.
15
15
  PATCH = 0
16
16
  # Prerelease version.
17
- PRERELEASE = :rc
17
+ PRERELEASE = nil
18
18
  # Build metadata.
19
- BUILD = 0
19
+ BUILD = nil
20
20
 
21
21
  class << self
22
22
  # Generates the gem version string from the Version constants.
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.rc.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-07 00:00:00.000000000 Z
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