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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c239b6b0b7a6c2d025a9640781bfe3feea37887be11971a36641c21efdc89c29
4
- data.tar.gz: 20b3cb0250ba5d589d76c327a32dcecb327a5626b2c300d0ff8962f0075f8e4c
3
+ metadata.gz: 6f0527df75d9fad254bc32ca2abece0d9a220ee86cb729dbbe87522c29a4150e
4
+ data.tar.gz: 48ba7b4e6405244a8dbd65d4b3aa6ff9474d15d4283e34d8078e60e23b8be50b
5
5
  SHA512:
6
- metadata.gz: a1fb815ecf8fa1d672a400d1dea88ccafc00ecc571ccdbbe78803f55a12d25e343684ed62a2556711be9650b65251b50b97bec8adf1dd6396da10c845f240530
7
- data.tar.gz: 7370311616f9a628e29abcc6c47d0a6728bf28eb274ebc5206e931cc1655741faa8a8b8c9c47908b80afbea36281d05dc14b02bd7c245cc2bed8dfe96bb41786
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 are functional, so they don't support inheritance. In lieu of inheritance, you may use `continues_from`, 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.
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
@@ -1,3 +1,3 @@
1
1
  module SmashTheState
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.4.2".freeze
3
3
  end
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.0
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: 2019-08-30 00:00:00.000000000 Z
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: 3.0.0
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: 3.0.0
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.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.