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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82d0599a76e452d94160045b21d3b5fa8b245f4d
4
- data.tar.gz: 792c7675d027954fafb6d59ae3cb65506dbcf34a
3
+ metadata.gz: 8bce7583a349f4755c33025c370e03c6ec34e0d5
4
+ data.tar.gz: e1af158b6577afe5aec11020d8fdaac70a4d64e6
5
5
  SHA512:
6
- metadata.gz: ea00d522a1fbcc5a5ebf1b2f65bd24fc8536782718ab802b186621e9e13c38750a21d7313cc37017d13735b4862e8fdb0c44d5d7c1d6999ea7bcff0f3ec7ca31
7
- data.tar.gz: a6a83b24668b038ae858fe1593b3ac5f916a0dc22b937e360e134df633ad72c2f1a07842375d901a147397b551c581b9a454c1c50141e89acfaafdac9df81964
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/ssdp_searcher'
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
@@ -1,3 +1,3 @@
1
1
  module EasyUpnp
2
- VERSION = '1.1.8'
2
+ VERSION = '1.1.9'
3
3
  end
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.8
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-05-11 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake