foobara 0.0.112 → 0.0.113
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6311b48e0b7d0f27986d0536f437d60db1409f9a71c36cfc5858f3637b37629d
|
4
|
+
data.tar.gz: e4e057f18a757133d17cd938275aa6c93a97e6ab03ea207a1eca603ed25f1866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48c048cbe4e4c4905222c6564b44842809a160ed07b523ef2a4c9833fc29bcf1b1024729d1431833aa363d0839c41b808b4a09302e070dcca13358a98212327
|
7
|
+
data.tar.gz: 761e37c588eef4370fe0884250a6e824083c2c420864cbeb2ebf268340ca1beee2410d1e68ea4cef10d69953f633ae0785d9eaa72f6e9c9727705ecfc2a4ce32
|
data/CHANGELOG.md
CHANGED
@@ -526,7 +526,14 @@ module Foobara
|
|
526
526
|
|
527
527
|
def transform_inputs
|
528
528
|
self.transformed_inputs = if self.class.inputs_transformer
|
529
|
-
self.class.inputs_transformer.process_value
|
529
|
+
outcome = self.class.inputs_transformer.process_value(untransformed_inputs)
|
530
|
+
|
531
|
+
if outcome.success?
|
532
|
+
outcome.result
|
533
|
+
else
|
534
|
+
self.outcome = outcome
|
535
|
+
untransformed_inputs
|
536
|
+
end
|
530
537
|
else
|
531
538
|
untransformed_inputs
|
532
539
|
end
|
@@ -388,7 +388,11 @@ module Foobara
|
|
388
388
|
end
|
389
389
|
|
390
390
|
def run_command(request)
|
391
|
-
request.command
|
391
|
+
command = request.command
|
392
|
+
|
393
|
+
unless command.outcome
|
394
|
+
command.run
|
395
|
+
end
|
392
396
|
rescue => e
|
393
397
|
if capture_unknown_error
|
394
398
|
request.error = CommandConnector::UnknownError.for(e)
|