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.
@@ -40,10 +40,10 @@ module Arista
40
40
  end
41
41
 
42
42
  def process_result(cmd, result)
43
- if result.is_a? Hash then
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
 
@@ -1,5 +1,5 @@
1
1
  module Arista
2
2
  module EAPI
3
- VERSION = "0.11.0"
3
+ VERSION = "0.11.1"
4
4
  end
5
5
  end
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: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 0
10
- version: 0.11.0
9
+ - 1
10
+ version: 0.11.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mark Imbriaco