activeinteractor 2.0.0.alpha.4.0.1 → 2.0.0.alpha.4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_interactor/interactor/base.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49a99115eedcdbf3c20a4f9ae7a2689666a112c18242e8df780a1640ec4cbab6
|
4
|
+
data.tar.gz: f44209f8fcba17ddd81add053d38754fee6103b0d3322b8cad78a4835ecfbd82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19c71ea32681cce8f34838887e07f04d6cac8fa73a20506c52a269faf92c1613446da878fa5e95de3bab57860d1428242da24e68abb3890003a9db0e8a00155d
|
7
|
+
data.tar.gz: 4379d708f16448046d760f85d3ab30643c380a9be12726e160e9540e20163da2692a1e813c6e439f479954e67aa923f42617e19c8791161244514429cbfa19a5
|
@@ -242,8 +242,9 @@ module ActiveInteractor
|
|
242
242
|
end
|
243
243
|
|
244
244
|
def fail!(errors = {})
|
245
|
+
result = nil
|
246
|
+
|
245
247
|
run_callbacks :fail do
|
246
|
-
result = nil
|
247
248
|
with_notification(:rollback) do |payload|
|
248
249
|
perform_rollback unless @options.skip_rollback
|
249
250
|
result = Result.failure(data: @output, errors: errors)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeinteractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.alpha.4.0.
|
4
|
+
version: 2.0.0.alpha.4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -89,10 +89,10 @@ licenses:
|
|
89
89
|
- MIT
|
90
90
|
metadata:
|
91
91
|
bug_tracker_uri: https://github.com/activeinteractor/activeinteractor/issues
|
92
|
-
changelog_uri: https://github.com/activeinteractor/activeinteractor/blob/v2.0.0-alpha.4.0.
|
92
|
+
changelog_uri: https://github.com/activeinteractor/activeinteractor/blob/v2.0.0-alpha.4.0.2/CHANGELOG.md
|
93
93
|
homepage_uri: https://activeinteractor.org
|
94
|
-
source_code_uri: https://github.com/activeinteractor/activeinteractor/tree/v2.0.0-alpha.4.0.
|
95
|
-
documentation_uri: https://activeinteractor.org/api/activeinteractor/v2.0.0-alpha.4.0.
|
94
|
+
source_code_uri: https://github.com/activeinteractor/activeinteractor/tree/v2.0.0-alpha.4.0.2
|
95
|
+
documentation_uri: https://activeinteractor.org/api/activeinteractor/v2.0.0-alpha.4.0.2
|
96
96
|
wiki_uri: https://github.com/activeinteractor/activeinteractor/wiki
|
97
97
|
rubygems_mfa_required: 'true'
|
98
98
|
post_install_message:
|