easy_upnp 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/upnp-list +2 -0
- data/lib/easy_upnp/version.rb +1 -1
- 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: 8bce7583a349f4755c33025c370e03c6ec34e0d5
|
4
|
+
data.tar.gz: e1af158b6577afe5aec11020d8fdaac70a4d64e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a81493d0b9a8433691b33374cbe71de8fed3fb0dd69a5f84e5ee520ace2fe8dd4658fe24baae288404c484d13bf6d2eaec045d55d4368424883c053b97e8a3
|
7
|
+
data.tar.gz: c7809e6f100eac2496c24249192978cd615137c0a237010bec78398fd9b53c6e74143a23c289dc5473d26f2676a29283760ebb80144dc18e5ee340c5bae941aa
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ gem 'easy_upnp'
|
|
24
24
|
The `search` method takes one argument -- the "search target". This controls a header sent in the SSDP packet which affects the devices that respond to the search query. You can use `'ssdp:all'` to specify that all devices should respond.
|
25
25
|
|
26
26
|
```ruby
|
27
|
-
require 'easy_upnp
|
27
|
+
require 'easy_upnp'
|
28
28
|
|
29
29
|
searcher = EasyUpnp::SsdpSearcher.new
|
30
30
|
devices = searcher.search 'ssdp:all'
|
data/bin/upnp-list
CHANGED
@@ -35,6 +35,8 @@ if devices.any?
|
|
35
35
|
printf "%30s %45s %s\n", "Name", "UUID", "Services"
|
36
36
|
|
37
37
|
devices.each do |device|
|
38
|
+
name = device.device_name rescue '*** Error fetching name ***'
|
39
|
+
|
38
40
|
printf "%30s %45s ", device.device_name, device.uuid
|
39
41
|
|
40
42
|
services = device.all_services
|
data/lib/easy_upnp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_upnp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Mullins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|