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.
- checksums.yaml +4 -4
- data/lib/mind_meld/device.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfb70f04ebb15443014c384edd275b9fc096f898
|
4
|
+
data.tar.gz: 7da98327d7f190a83685adc0dc0977090d8e47ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d14b18ed6b11045aeb9ec03f3fbe4a2f885cb32bcf8978949510d85c8182c9913f0710b99b20a5fedd233e14dcb0bb7e44c5938552e30a67d820d515ff4f6a86
|
7
|
+
data.tar.gz: a818e07c8fc0a5b49a934468c355cb9312c29a8dcfc685cda36536295d386cb45318e646628713a7394ccf6d69cffb34fc263e3fb86ea9e4ee78950d4078bfe8
|
data/lib/mind_meld/device.rb
CHANGED
@@ -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.
|
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-
|
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.
|
89
|
+
rubygems_version: 2.5.0
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: API for Hive Mind
|