ur-product 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ur/product.rb +6 -0
- data/lib/ur/version.rb +1 -1
- metadata +4 -4
data/lib/ur/product.rb
CHANGED
@@ -249,6 +249,12 @@ module UR
|
|
249
249
|
storage.empty? ? false : storage.first.location
|
250
250
|
end
|
251
251
|
|
252
|
+
def media_id
|
253
|
+
@media_id ||= (get_storage_location('genericvideo') ||
|
254
|
+
get_storage_location('genericaudio'))
|
255
|
+
@media_id
|
256
|
+
end
|
257
|
+
|
252
258
|
def url
|
253
259
|
return @url unless @url.nil?
|
254
260
|
|
data/lib/ur/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ur-product
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Peter Hellberg
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-08 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|