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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc451865dfb531e53701af2784f24db10856e07edff20046bd034c389e959121
4
- data.tar.gz: cfc832189a947dc7be86b9ae84e7cc933ae5220e8d2ce83bc0ce3a3e8a45f529
3
+ metadata.gz: 49a99115eedcdbf3c20a4f9ae7a2689666a112c18242e8df780a1640ec4cbab6
4
+ data.tar.gz: f44209f8fcba17ddd81add053d38754fee6103b0d3322b8cad78a4835ecfbd82
5
5
  SHA512:
6
- metadata.gz: 59502fe574c00069b29558599baaf545201e7a48a4d7439bbafa5ee7f2a3eb3ba797346f086d18956fd28369bb712b6c137dfc977fdce2d6e1eac043a7eae0de
7
- data.tar.gz: 79bc149020a1cbf36090a1937de49689312e2b62a1001e4d06e4e0d6cf83557876009416ab9fe5d839520610dfbd3989cbc4c4cdcb7758ed18942a2f0e8ef23d
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.1
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-09 00:00:00.000000000 Z
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.1/CHANGELOG.md
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.1
95
- documentation_uri: https://activeinteractor.org/api/activeinteractor/v2.0.0-alpha.4.0.1
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: