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 +4 -4
- data/lib/upnp_content_explorer/item.rb +5 -1
- data/lib/upnp_content_explorer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e1baf9a5368747772f6b97622736cb65ae46d61
|
4
|
+
data.tar.gz: ec6a7dec609bfb2a09ca6231e7e2c6effb4be7d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|