smash_the_state 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/smash_the_state/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f0527df75d9fad254bc32ca2abece0d9a220ee86cb729dbbe87522c29a4150e
|
4
|
+
data.tar.gz: 48ba7b4e6405244a8dbd65d4b3aa6ff9474d15d4283e34d8078e60e23b8be50b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32815be847a37111eae15e282aab36384914fb99b17e3dad1c27b4bc8269b91fe448ba5daacc59a1a9c3a200fd6ebf55a9a70895bf32d76b8313fd543a93351d
|
7
|
+
data.tar.gz: abf40fd2f6fa63d786d7433fc4fea4437058987bd2e46d44f6fad515b95d6b77da6252b46b80decd6598639b19e5897f57a8a8bf79cc403dd75b32f8f1d81a5f
|
data/README.md
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
# Smash the State
|
4
4
|
A useful utility for transforming state that provides step sequencing, middleware, and validation.
|
5
5
|
|
6
|
+
Inspired by [Arpeggiate](https://github.com/onyxrev/arpeggiate), an Elixir operation library by [@onyxrev](https://github.com/onyxrev).
|
7
|
+
|
6
8
|
# Example
|
7
9
|
|
8
10
|
``` ruby
|
@@ -317,7 +319,7 @@ end
|
|
317
319
|
|
318
320
|
## Continuation
|
319
321
|
|
320
|
-
Smash the State operations
|
322
|
+
Smash the State operations can be chained. To simplify this, you may use the `continues_from` helper, which frontloads an existing operation in front of the operation being defined. It feeds the state result of the first operation into the first step of the second.
|
321
323
|
|
322
324
|
``` ruby
|
323
325
|
class SecondOperation < SmashTheState::Operation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smash_the_state
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Connor
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_attributes
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.0.3.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 6.0.3.1
|
41
41
|
description: ''
|
42
42
|
email:
|
43
43
|
- dan@danconnor.com
|
@@ -68,7 +68,7 @@ homepage: https://github.com/ibm-cloud/smash-the-state
|
|
68
68
|
licenses:
|
69
69
|
- Apache-2.0
|
70
70
|
metadata: {}
|
71
|
-
post_install_message:
|
71
|
+
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
74
74
|
- lib
|
@@ -83,9 +83,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
rubyforge_project:
|
87
|
-
rubygems_version: 2.7.
|
88
|
-
signing_key:
|
86
|
+
rubyforge_project:
|
87
|
+
rubygems_version: 2.7.6.2
|
88
|
+
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: A useful utility for transforming state that provides step sequencing, middleware,
|
91
91
|
and validation.
|