mind_meld 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mind_meld/device.rb +4 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9a58f290eec9c50837d4178728b9b2f4c4e3423
4
- data.tar.gz: af0060bb12091a28e5d08b4aa42f058a19d81836
3
+ metadata.gz: dfb70f04ebb15443014c384edd275b9fc096f898
4
+ data.tar.gz: 7da98327d7f190a83685adc0dc0977090d8e47ba
5
5
  SHA512:
6
- metadata.gz: 93837946b3e466d5ba5e2d5c006ee726321cf61c8eed0efe2d4669e5a3722a12494109e0558ee9902f49afe10859af1b256fb15629dc6cbbe06e697e20b0ec66
7
- data.tar.gz: 02e8d4185a62c86ac13f3678a60cec7815dc47c1581046e4628df1b294ab8f0099c46c3722f75e70b1fe17e3fcba133b9319423b548d20831c00fe0a1d7095e6
6
+ metadata.gz: d14b18ed6b11045aeb9ec03f3fbe4a2f885cb32bcf8978949510d85c8182c9913f0710b99b20a5fedd233e14dcb0bb7e44c5938552e30a67d820d515ff4f6a86
7
+ data.tar.gz: a818e07c8fc0a5b49a934468c355cb9312c29a8dcfc685cda36536295d386cb45318e646628713a7394ccf6d69cffb34fc263e3fb86ea9e4ee78950d4078bfe8
@@ -20,6 +20,10 @@ class MindMeld::Device < MindMeld
20
20
  device_details['name']
21
21
  end
22
22
 
23
+ def hive_queues(refresh = false)
24
+ device_details(refresh)['hive_queues'] ? device_details['hive_queues'].map { |hq| hq['name'] } : []
25
+ end
26
+
23
27
  def register options
24
28
  request :post, 'devices/register', { device: options }
25
29
  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.1
4
+ version: 0.1.2
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-03-07 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project:
89
- rubygems_version: 2.5.1
89
+ rubygems_version: 2.5.0
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: API for Hive Mind