arista-eapi 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/arista/eapi/response.rb +3 -3
- data/lib/arista/eapi/version.rb +1 -1
- metadata +3 -3
data/lib/arista/eapi/response.rb
CHANGED
@@ -40,10 +40,10 @@ module Arista
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def process_result(cmd, result)
|
43
|
-
if result
|
44
|
-
convert_hash_keys(result)
|
45
|
-
else
|
43
|
+
if result['output']
|
46
44
|
Arista::EAPI::Parser.parse(cmd, result['output'])
|
45
|
+
else
|
46
|
+
convert_hash_keys(result)
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
data/lib/arista/eapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arista-eapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 0.11.
|
9
|
+
- 1
|
10
|
+
version: 0.11.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mark Imbriaco
|