voxel-hapi 1.1.9 → 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hapi.rb +3 -4
- metadata +4 -4
data/lib/hapi.rb
CHANGED
@@ -41,7 +41,7 @@ end
|
|
41
41
|
|
42
42
|
class HAPI
|
43
43
|
#Library Version
|
44
|
-
LIB_VERSION = '1.1.
|
44
|
+
LIB_VERSION = '1.1.10'
|
45
45
|
#UserAgent for Logging
|
46
46
|
USER_AGENT = "Voxel hAPI ruby Client; #{LIB_VERSION}"
|
47
47
|
|
@@ -101,9 +101,8 @@ class HAPI
|
|
101
101
|
voxcloud = voxel_voxcloud_status['devices']
|
102
102
|
voxservers = voxel_voxservers_status['devices']
|
103
103
|
|
104
|
-
if voxservers['device'].is_a?(Hash)
|
105
|
-
|
106
|
-
end
|
104
|
+
voxservers['device'] = [ voxservers['device'] ] if voxservers['device'].is_a?(Hash)
|
105
|
+
voxcloud['device'] = [ voxcloud['device'] ] if voxcloud['device'].is_a?(Hash)
|
107
106
|
|
108
107
|
statuses = voxcloud['device'] unless voxcloud.empty?
|
109
108
|
statuses += voxservers['device'] unless voxservers.empty?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voxel-hapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-12 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement: &
|
16
|
+
requirement: &18648780 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 1.0.12
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *18648780
|
25
25
|
description:
|
26
26
|
email: jwb@voxel.net
|
27
27
|
executables:
|