transactable 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +14 -14
- data/lib/transactable/steps/check.rb +2 -2
- data/lib/transactable/steps/insert.rb +2 -2
- data/lib/transactable/steps/tee.rb +2 -2
- data/lib/transactable/steps/to.rb +2 -2
- data/lib/transactable/steps/use.rb +2 -2
- data/lib/transactable/steps/validate.rb +2 -2
- data/transactable.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +30 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a44234e843caca15f898e93e6bd0df571fc3a55354eed08d84de6f48199176
|
4
|
+
data.tar.gz: dd9faf6eb9d2441bd6efff645a3110b9a3e15f03bd1d432252e0311fdf7f07af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30317f90f1e829fc26151bdce1c3f184dd116c19316c2fb71965779ee5ee73c656b3fb7a263efcbb8262e303af2a5d0aedb1fa1084e4eb1f4b5f7c8d3aa06fef
|
7
|
+
data.tar.gz: fda5e3e00a68136d1b392ffd597c30edac4b98a4853dbbd2c56c48bbe67570f232ae2ffa5e8d235b51458f48f7ea7d37baa8e99a84a62ba2fbcbcf3a0e83f980
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
:toclevels: 5
|
3
3
|
:figure-caption!:
|
4
4
|
|
5
|
-
:command_pattern_link: link:https://
|
6
|
-
:function_composition_link: link:https://
|
5
|
+
:command_pattern_link: link:https://alchemists.io/articles/command_pattern[Command Pattern]
|
6
|
+
:function_composition_link: link:https://alchemists.io/articles/ruby_function_composition[Function Composition]
|
7
7
|
:debug_link: link:https://github.com/ruby/debug[Debug]
|
8
8
|
:dry_container_link: link:https://dry-rb.org/gems/dry-container[Dry Container]
|
9
9
|
:dry_events_link: link:https://dry-rb.org/gems/dry-events[Dry Events]
|
@@ -392,8 +392,8 @@ module MySteps
|
|
392
392
|
class Join < Transactable::Steps::Abstract
|
393
393
|
prepend Transactable::Instrumentable
|
394
394
|
|
395
|
-
def initialize
|
396
|
-
super(**
|
395
|
+
def initialize(delimiter = "_", **)
|
396
|
+
super(**)
|
397
397
|
@delimiter = delimiter
|
398
398
|
end
|
399
399
|
|
@@ -520,8 +520,8 @@ The architecture of this gem is built on top of the following concepts and gems:
|
|
520
520
|
* {dry_events_link} - Allows all steps to be observable so you can subscribe to any/all events for metric, logging, and other capabilities.
|
521
521
|
* {dry_monads_link} - Critical to ensuring the entire pipeline of steps adhere to the _Railway Pattern_ and leans heavily on the `Result` object.
|
522
522
|
* link:https://dry-rb.org/gems/dry-transaction[Dry Transaction] - Specifically the concept of a _step_ where each step can have an _operation_ and/or _input_ to be processed. Instrumentation is used as well so you can have rich metrics, logging, or any other kind of observer wired up as desired.
|
523
|
-
* link:https://
|
524
|
-
* link:https://
|
523
|
+
* link:https://alchemists.io/projects/infusible[Infusible] - Coupled with {dry_container_link}, allows dependencies to be automatically injected.
|
524
|
+
* link:https://alchemists.io/projects/marameters[Marameters] - Through the use of the `.categorize` method, dynamic message passing is possible by inspecting the operation method's parameters.
|
525
525
|
|
526
526
|
=== Style Guide
|
527
527
|
|
@@ -597,19 +597,19 @@ bin/benchmark
|
|
597
597
|
|
598
598
|
💡 You can view current benchmarks at the end of the above file if you don't want to manually run them.
|
599
599
|
|
600
|
-
== link:https://
|
600
|
+
== link:https://alchemists.io/policies/license[License]
|
601
601
|
|
602
|
-
== link:https://
|
602
|
+
== link:https://alchemists.io/policies/security[Security]
|
603
603
|
|
604
|
-
== link:https://
|
604
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
605
605
|
|
606
|
-
== link:https://
|
606
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
607
607
|
|
608
|
-
== link:https://
|
608
|
+
== link:https://alchemists.io/projects/transactable/versions[Versions]
|
609
609
|
|
610
|
-
== link:https://
|
610
|
+
== link:https://alchemists.io/community[Community]
|
611
611
|
|
612
612
|
== Credits
|
613
613
|
|
614
|
-
* Built with link:https://
|
615
|
-
* Engineered by link:https://
|
614
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
615
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
@@ -8,8 +8,8 @@ module Transactable
|
|
8
8
|
|
9
9
|
LAST = -1
|
10
10
|
|
11
|
-
def initialize
|
12
|
-
super(*positionals, **
|
11
|
+
def initialize(*positionals, at: LAST, **)
|
12
|
+
super(*positionals, **)
|
13
13
|
@value = positionals.empty? ? base_keywords : positionals.flatten
|
14
14
|
@at = at
|
15
15
|
end
|
data/transactable.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "transactable"
|
5
|
-
spec.version = "0.4.
|
5
|
+
spec.version = "0.4.2"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
8
|
+
spec.homepage = "https://alchemists.io/projects/transactable"
|
9
9
|
spec.summary = "A DSL for transactional workflows built atop function composition."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/transactable/issues",
|
14
|
-
"changelog_uri" => "https://
|
15
|
-
"documentation_uri" => "https://
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/transactable/versions",
|
15
|
+
"documentation_uri" => "https://alchemists.io/projects/transactable",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "Transactable",
|
18
18
|
"rubygems_mfa_required" => "true",
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transactable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,25 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxWjBBMQ8wDQYDVQQDDAZi
|
16
|
+
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
+
GRYCaW8wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCro8tj5/E1Hg88
|
18
|
+
f4qfiwPVd2zJQHvdYt4GHVvuHRRgx4HGhJuNp+4BId08RBn7V6V1MW6MY3kezRBs
|
19
|
+
M+7QOQ4b1xNLTvY7FYQB1wGK5a4x7TTokDrPYQxDB2jmsdDYCzVbIMrAvUfcecRi
|
20
|
+
khyGZCdByiiCl4fKv77P12tTT+NfsvXkLt/AYCGwjOUyGKTQ01Z6eC09T27GayPH
|
21
|
+
QQvIkakyFgcJtzSyGzs8bzK5q9u7wQ12MNTjJ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
+
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
30
37
|
-----END CERTIFICATE-----
|
31
|
-
date: 2023-
|
38
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: dry-container
|
@@ -162,13 +169,13 @@ files:
|
|
162
169
|
- lib/transactable/steps/use.rb
|
163
170
|
- lib/transactable/steps/validate.rb
|
164
171
|
- transactable.gemspec
|
165
|
-
homepage: https://
|
172
|
+
homepage: https://alchemists.io/projects/transactable
|
166
173
|
licenses:
|
167
174
|
- Hippocratic-2.1
|
168
175
|
metadata:
|
169
176
|
bug_tracker_uri: https://github.com/bkuhlmann/transactable/issues
|
170
|
-
changelog_uri: https://
|
171
|
-
documentation_uri: https://
|
177
|
+
changelog_uri: https://alchemists.io/projects/transactable/versions
|
178
|
+
documentation_uri: https://alchemists.io/projects/transactable
|
172
179
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
173
180
|
label: Transactable
|
174
181
|
rubygems_mfa_required: 'true'
|
@@ -188,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
195
|
- !ruby/object:Gem::Version
|
189
196
|
version: '0'
|
190
197
|
requirements: []
|
191
|
-
rubygems_version: 3.4.
|
198
|
+
rubygems_version: 3.4.9
|
192
199
|
signing_key:
|
193
200
|
specification_version: 4
|
194
201
|
summary: A DSL for transactional workflows built atop function composition.
|
metadata.gz.sig
CHANGED
Binary file
|