mind_meld 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mind_meld/device.rb +1 -1
- data/lib/mind_meld/hive.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1ac25de514d39eee769da86c1f0d789cabb7639
|
4
|
+
data.tar.gz: cdc4c4f0c76e580064315cdfbbeb7693017f07ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6322833264086d34e0e87f42487938bce7dbdc226dd97648753bc7f6e7395fe0dbcb1f111c552096ebcb2194eb151e5c7fb06b5e0222cb3eb70a47246aaac158
|
7
|
+
data.tar.gz: 1d124d71efedbf8412d87fa1b17a32b0be4872ebf4b226be9455fcc7c7760184a81dfcf41de909afd8cbba0cf62f2cf8c47105b1443a114cd2db3842e025f46e
|
data/lib/mind_meld/device.rb
CHANGED
@@ -21,7 +21,7 @@ class MindMeld::Device < MindMeld
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def hive_queues(refresh = false)
|
24
|
-
device_details(refresh)['hive_queues'] ? device_details['hive_queues'].map { |hq| hq['name'] } : []
|
24
|
+
device_details(refresh: refresh)['hive_queues'] ? device_details['hive_queues'].map { |hq| hq['name'] } : []
|
25
25
|
end
|
26
26
|
|
27
27
|
def register options
|
data/lib/mind_meld/hive.rb
CHANGED
@@ -14,8 +14,8 @@ class MindMeld::Hive < MindMeld::Device
|
|
14
14
|
request :put, 'plugin/hive/disconnect', { connection: { hive_id: self.id, device_id: device_id } }
|
15
15
|
end
|
16
16
|
|
17
|
-
def device_details(
|
18
|
-
super
|
17
|
+
def device_details(options = { refresh: false })
|
18
|
+
super
|
19
19
|
@device_details['connected_devices'] = [] if not (@device_details.has_key? 'connected_devices' or @device_details.has_key? 'error')
|
20
20
|
@device_details
|
21
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mind_meld
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Haig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|