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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f63eb9ee87fd7c708b1c40e1c14f490fc7d3398c
4
- data.tar.gz: 9b212a82406750af721691e0a6c49dc29c5b9572
3
+ metadata.gz: d1ac25de514d39eee769da86c1f0d789cabb7639
4
+ data.tar.gz: cdc4c4f0c76e580064315cdfbbeb7693017f07ca
5
5
  SHA512:
6
- metadata.gz: d7e409be16006662f158e01feb4571dc1f8b10ce68eb974577800d23a54ba0569654d2a84997a3f00622468e32594faf0297864160216ac6e2a36420beb833ca
7
- data.tar.gz: 430ff03e1bdf16519170ded6ee35957742b81f430a446d94a4d447bc5c6f26f79c455029a0d5fe78be449fbfa374d5dd415c6a5f1880b36e1112c946b8b9bb9e
6
+ metadata.gz: 6322833264086d34e0e87f42487938bce7dbdc226dd97648753bc7f6e7395fe0dbcb1f111c552096ebcb2194eb151e5c7fb06b5e0222cb3eb70a47246aaac158
7
+ data.tar.gz: 1d124d71efedbf8412d87fa1b17a32b0be4872ebf4b226be9455fcc7c7760184a81dfcf41de909afd8cbba0cf62f2cf8c47105b1443a114cd2db3842e025f46e
@@ -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
@@ -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(refresh = false)
18
- super(refresh)
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.9
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-06-28 00:00:00.000000000 Z
11
+ date: 2016-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport