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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 034dc26b31b75b40cf9c2e40cf55cce4b9da6e15db5b84a47a4525941d699dae
4
- data.tar.gz: 02cb02fc110763ed74566617de72cabf5ad8c10017fd32eb1ec97673453c3b0e
3
+ metadata.gz: 21a44234e843caca15f898e93e6bd0df571fc3a55354eed08d84de6f48199176
4
+ data.tar.gz: dd9faf6eb9d2441bd6efff645a3110b9a3e15f03bd1d432252e0311fdf7f07af
5
5
  SHA512:
6
- metadata.gz: f5fbe8709f8aad78065cfe4cc533bf3e8cd88b848809f67edf91516912bf14016ad4f92a32cb23fda41c482559c62943f0650c4fbdd4ffea1adfa837cdb21732
7
- data.tar.gz: 35a4bffd109ae0d6d817c2c3fbdb7245fcebbae637afbbeacda2d971972819e70898b9ef90ea25ed805647a349fead3319e590944bcea9e32450722c833f71c3
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://www.alchemists.io/articles/command_pattern[Command Pattern]
6
- :function_composition_link: link:https://www.alchemists.io/articles/ruby_function_composition[Function Composition]
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 delimiter = "_", **dependencies
396
- super(**dependencies)
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://www.alchemists.io/projects/infusible[Infusible] - Coupled with {dry_container_link}, allows dependencies to be automatically injected.
524
- * link:https://www.alchemists.io/projects/marameters[Marameters] - Through the use of the `.categorize` method, dynamic message passing is possible by inspecting the operation method's parameters.
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://www.alchemists.io/policies/license[License]
600
+ == link:https://alchemists.io/policies/license[License]
601
601
 
602
- == link:https://www.alchemists.io/policies/security[Security]
602
+ == link:https://alchemists.io/policies/security[Security]
603
603
 
604
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
604
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
605
605
 
606
- == link:https://www.alchemists.io/policies/contributions[Contributions]
606
+ == link:https://alchemists.io/policies/contributions[Contributions]
607
607
 
608
- == link:https://www.alchemists.io/projects/transactable/versions[Versions]
608
+ == link:https://alchemists.io/projects/transactable/versions[Versions]
609
609
 
610
- == link:https://www.alchemists.io/community[Community]
610
+ == link:https://alchemists.io/community[Community]
611
611
 
612
612
  == Credits
613
613
 
614
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
615
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
614
+ * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
615
+ * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
@@ -6,8 +6,8 @@ module Transactable
6
6
  class Check < Abstract
7
7
  prepend Instrumentable
8
8
 
9
- def initialize operation, message, **dependencies
10
- super(**dependencies)
9
+ def initialize(operation, message, **)
10
+ super(**)
11
11
  @operation = operation
12
12
  @message = message
13
13
  end
@@ -8,8 +8,8 @@ module Transactable
8
8
 
9
9
  LAST = -1
10
10
 
11
- def initialize *positionals, at: LAST, **dependencies
12
- super(*positionals, **dependencies)
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
@@ -6,8 +6,8 @@ module Transactable
6
6
  class Tee < Abstract
7
7
  prepend Instrumentable
8
8
 
9
- def initialize operation, *positionals, **dependencies
10
- super(*positionals, **dependencies)
9
+ def initialize(operation, *, **)
10
+ super(*, **)
11
11
  @operation = operation
12
12
  end
13
13
 
@@ -6,8 +6,8 @@ module Transactable
6
6
  class To < Abstract
7
7
  prepend Instrumentable
8
8
 
9
- def initialize operation, message, **dependencies
10
- super(**dependencies)
9
+ def initialize(operation, message, **)
10
+ super(**)
11
11
  @operation = operation
12
12
  @message = message
13
13
  end
@@ -6,8 +6,8 @@ module Transactable
6
6
  class Use < Abstract
7
7
  prepend Instrumentable
8
8
 
9
- def initialize operation, **dependencies
10
- super(**dependencies)
9
+ def initialize(operation, **)
10
+ super(**)
11
11
  @operation = operation
12
12
  end
13
13
 
@@ -6,8 +6,8 @@ module Transactable
6
6
  class Validate < Abstract
7
7
  prepend Instrumentable
8
8
 
9
- def initialize operation, as: :to_h, **dependencies
10
- super(**dependencies)
9
+ def initialize(operation, as: :to_h, **)
10
+ super(**)
11
11
  @operation = operation
12
12
  @as = as
13
13
  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.1"
5
+ spec.version = "0.4.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/transactable"
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://www.alchemists.io/projects/transactable/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/transactable",
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.1
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
- MIIC/jCCAeagAwIBAgIB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hbGNoZW1pc3RzLmlvMA0GCSqGSIb3DQEBCwUAA4IBgQAX+EGY
29
+ 9RLYGxF1VLZz+G1ACQc4uyrCB6kXwI06kzUa5dF9tPXqTX9ffnz3/W8ck2IQhKzu
30
+ MKO2FVijzbDWTsZeZGglS4E+4Jxpau1lU9HhOIcKolv6LeC6UdALTFudY+GLb8Xw
31
+ REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
32
+ qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
33
+ rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
34
+ XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
35
+ 3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
+ gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
30
37
  -----END CERTIFICATE-----
31
- date: 2023-01-22 00:00:00.000000000 Z
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://www.alchemists.io/projects/transactable
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://www.alchemists.io/projects/transactable/versions
171
- documentation_uri: https://www.alchemists.io/projects/transactable
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.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