foobara-sh-cli-connector 0.0.18 → 1.0.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 +4 -0
- data/src/sh_cli_connector/serializers/cli_result_serializer.rb +2 -0
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bc1365a85e052ca92e274b311de4869c81f1b8a6de2c6576a5b1c17d61045aa
|
4
|
+
data.tar.gz: 4da7ba126591ea5b5d82f57c80d22bfc60a6bee3ba3abc835fb670cb4899b45c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23d25d6b4ea75e70dc71825ebcdc4bb106260761947d4c1cc591363874c58637558d6fc4fa11a39732e53593058df110efa993edd5f163e946160c7e068aab6c
|
7
|
+
data.tar.gz: 6e56d3c1b53ec4892e28e04846bd24ea4cee8e283350d3676c00da40d51cbe90901bb3b7c86352a2dd7315795272e582c317250023b0eaca20f4c4432c689af1
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,8 @@ module Foobara
|
|
5
5
|
# Should allow either atomic or aggregate
|
6
6
|
class CliResultSerializer < CommandConnectors::Serializers::SuccessSerializer
|
7
7
|
def serialize(object)
|
8
|
+
return "" if object.nil?
|
9
|
+
|
8
10
|
serializable = atomic_serializer.serialize(object)
|
9
11
|
|
10
12
|
if serializable.is_a?(::String)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-sh-cli-connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
@@ -13,16 +13,22 @@ dependencies:
|
|
13
13
|
name: foobara
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
16
|
+
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.0.
|
18
|
+
version: 0.0.136
|
19
|
+
- - "<"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.0.0
|
19
22
|
type: :runtime
|
20
23
|
prerelease: false
|
21
24
|
version_requirements: !ruby/object:Gem::Requirement
|
22
25
|
requirements:
|
23
|
-
- - "
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 0.0.136
|
29
|
+
- - "<"
|
24
30
|
- !ruby/object:Gem::Version
|
25
|
-
version: 0.0
|
31
|
+
version: 2.0.0
|
26
32
|
email:
|
27
33
|
- azimux@gmail.com
|
28
34
|
executables: []
|