upnp_content_explorer 1.2.0 → 1.2.1

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: b861a3fe0ebc3250d1355680f840f220df824688
4
- data.tar.gz: caee9fb011bdbd4063ee10da8b9ff0041566e6f2
3
+ metadata.gz: 5e1baf9a5368747772f6b97622736cb65ae46d61
4
+ data.tar.gz: ec6a7dec609bfb2a09ca6231e7e2c6effb4be7d8
5
5
  SHA512:
6
- metadata.gz: c9a781021b75ff7cdc2c426d52238e652a08ce82344190595fb923d70acc7d435121eab2ed22159518be63894b87f556607777f9abb2865d9ee08e33a70f76bd
7
- data.tar.gz: a03ab87e02bb59cefec088186dcbf4e24319fc26b4e2ae5486b6eb0fbe9ffa416c49e1e63b19c994e4eca8bc4889f09b30d52369160f2dd0c586b62abc74203c
6
+ metadata.gz: 963360f8e95eda0555b96aaedb491b3d2ae21b2a49a1fed43eee9261ec16097dd05267a159c3f793f427da4aa348384b9a3b94b677359c318f5ac2ae51ecd893
7
+ data.tar.gz: ccae6966e52870e8699a8b70e69d4580e9cc846d104cdaf8342869046208a78935f0f48c8c0b4308e875db9465f63f9d12d033569acc5aa3e661611c772510f8
@@ -23,7 +23,11 @@ module UpnpContentExplorer
23
23
  end
24
24
 
25
25
  @metadata[:url] = extract_xpath('res')
26
- define_singleton_method('url') { @metadata[:url] }
26
+ @metadata[:itemClass] = extract_xpath('class')
27
+
28
+ %w{url itemClass}.each do |m|
29
+ define_singleton_method(m) { @metadata[m.to_sym] }
30
+ end
27
31
  end
28
32
 
29
33
  def metadata
@@ -1,3 +1,3 @@
1
1
  module UpnpContentExplorer
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upnp_content_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mullins