servactory 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/servactory/context/callable.rb +14 -1
- data/lib/servactory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9598623fa8187288fe92566315cf8bf293f0fec4995cd778186b7b29bba90504
|
4
|
+
data.tar.gz: 03d3236b8b846e1fecc11ee19d754a235c5b40a9b7d58f36298767a2ea36b241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a56ab102855338ee035e6b4163af6e39d618ea56c3a8277b9f6bae7c5974d203ade30db911ed32a0cad0c541e8f2b3e7dced9fb7015ee905e0e15ef66b06094
|
7
|
+
data.tar.gz: c2d2014270e95e382de071858c8ce43f555c6b05d019f24b30f824fad934c63cd849b837813dbe53faf5afde8b6da4cb32d5f7ee72c6074ccc275d4a2a0dc453
|
@@ -21,7 +21,20 @@ module Servactory
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def call(arguments = {})
|
24
|
-
|
24
|
+
context = send(:new)
|
25
|
+
|
26
|
+
context.send(
|
27
|
+
:_call!,
|
28
|
+
incoming_arguments: arguments.symbolize_keys,
|
29
|
+
collection_of_inputs: collection_of_inputs,
|
30
|
+
collection_of_internals: collection_of_internals,
|
31
|
+
collection_of_outputs: collection_of_outputs,
|
32
|
+
collection_of_stages: collection_of_stages
|
33
|
+
)
|
34
|
+
|
35
|
+
Servactory::Result.success_for(context: context)
|
36
|
+
rescue config.success_class => e
|
37
|
+
Servactory::Result.success_for(context: e.context)
|
25
38
|
rescue config.failure_class => e
|
26
39
|
Servactory::Result.failure_for(exception: e)
|
27
40
|
end
|
data/lib/servactory/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Sokolov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|