dry-transaction 0.15.0 → 0.16.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/LICENSE +1 -1
- data/README.md +5 -12
- data/dry-transaction.gemspec +2 -2
- data/lib/dry/transaction/instance_methods.rb +0 -2
- data/lib/dry/transaction/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4cd9e9404fa18118f81eda69c2c826bf78d115db2011ffc7aaa61142cbbab26
|
|
4
|
+
data.tar.gz: e3d1503de5353ab0204f727f71b2189895ff78989ff43478b0f9ab13c3819831
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b11d66011be4757691bd017cb12906c840343b93daa94912bc99fd0d9e0efc8392b501e1333f2bbda0635a1f34e308b74aedbeed95ee62026b5f52d9589e6054
|
|
7
|
+
data.tar.gz: 18149f9703d95a138f3536cb8b5a1f59ed5007a0ac99d5ade9b56f8e1c01e547afb4bbb7864e0d54d1271e83e67e91c073aff719a80c1f8512fe900c8febc134
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
|
2
2
|
|
|
3
|
+
## 0.16.0 2024-01-17
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Changed
|
|
7
|
+
|
|
8
|
+
- Dependency on dry-matcher bumped to 1.0 (@santiagodoldan in #149)
|
|
9
|
+
|
|
10
|
+
[Compare v0.15.0...v0.16.0](https://github.com/dry-rb/dry-transaction/compare/v0.15.0...v0.16.0)
|
|
11
|
+
|
|
3
12
|
## 0.15.0 2022-11-16
|
|
4
13
|
|
|
5
14
|
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
<!--- this file is synced from dry-rb/template-gem project -->
|
|
2
|
+
|
|
2
3
|
[gem]: https://rubygems.org/gems/dry-transaction
|
|
3
4
|
[actions]: https://github.com/dry-rb/dry-transaction/actions
|
|
4
|
-
[codacy]: https://www.codacy.com/gh/dry-rb/dry-transaction
|
|
5
|
-
[chat]: https://dry-rb.zulipchat.com
|
|
6
|
-
[inchpages]: http://inch-ci.org/github/dry-rb/dry-transaction
|
|
7
|
-
|
|
8
|
-
# dry-transaction [][chat]
|
|
9
5
|
|
|
10
|
-
[][gem]
|
|
11
|
-
[][actions]
|
|
12
|
-
[][codacy]
|
|
13
|
-
[][codacy]
|
|
14
|
-
[][inchpages]
|
|
6
|
+
# dry-transaction [][gem] [][actions]
|
|
15
7
|
|
|
16
8
|
## Links
|
|
17
9
|
|
|
18
10
|
* [User documentation](https://dry-rb.org/gems/dry-transaction)
|
|
19
11
|
* [API documentation](http://rubydoc.info/gems/dry-transaction)
|
|
12
|
+
* [Forum](https://discourse.dry-rb.org)
|
|
20
13
|
|
|
21
14
|
## Supported Ruby versions
|
|
22
15
|
|
|
23
16
|
This library officially supports the following Ruby versions:
|
|
24
17
|
|
|
25
|
-
* MRI `>=
|
|
26
|
-
* jruby `>= 9.
|
|
18
|
+
* MRI `>= 3.0`
|
|
19
|
+
* jruby `>= 9.4` (not tested on CI)
|
|
27
20
|
|
|
28
21
|
## License
|
|
29
22
|
|
data/dry-transaction.gemspec
CHANGED
|
@@ -26,12 +26,12 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-transaction"
|
|
27
27
|
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-transaction/issues"
|
|
28
28
|
|
|
29
|
-
spec.required_ruby_version = ">=
|
|
29
|
+
spec.required_ruby_version = ">= 3.0"
|
|
30
30
|
|
|
31
31
|
# to update dependencies edit project.yml
|
|
32
32
|
spec.add_runtime_dependency "dry-core", "~> 1.0"
|
|
33
33
|
spec.add_runtime_dependency "dry-events", "~> 1.0"
|
|
34
|
-
spec.add_runtime_dependency "dry-matcher", "~> 0
|
|
34
|
+
spec.add_runtime_dependency "dry-matcher", "~> 1.0"
|
|
35
35
|
spec.add_runtime_dependency "dry-monads", "~> 1.6"
|
|
36
36
|
|
|
37
37
|
end
|
|
@@ -86,7 +86,6 @@ module Dry
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
def resolve_operation(step, **operations)
|
|
89
|
-
# rubocop:disable Lint/DuplicateBranch
|
|
90
89
|
if step.internal? && operations[step.name]
|
|
91
90
|
operations[step.name]
|
|
92
91
|
elsif methods.include?(step.name) || private_methods.include?(step.name)
|
|
@@ -98,7 +97,6 @@ module Dry
|
|
|
98
97
|
else
|
|
99
98
|
raise MissingStepError, step.name
|
|
100
99
|
end
|
|
101
|
-
# rubocop:enable Lint/DuplicateBranch
|
|
102
100
|
end
|
|
103
101
|
|
|
104
102
|
def assert_valid_step_args(step_args)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dry-transaction
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Riley
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-core
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0
|
|
47
|
+
version: '1.0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0
|
|
54
|
+
version: '1.0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: dry-monads
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -115,14 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
115
115
|
requirements:
|
|
116
116
|
- - ">="
|
|
117
117
|
- !ruby/object:Gem::Version
|
|
118
|
-
version:
|
|
118
|
+
version: '3.0'
|
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
requirements:
|
|
121
121
|
- - ">="
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
|
-
rubygems_version: 3.
|
|
125
|
+
rubygems_version: 3.3.26
|
|
126
126
|
signing_key:
|
|
127
127
|
specification_version: 4
|
|
128
128
|
summary: Business Transaction Flow DSL
|