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.
Files changed (3) hide show
  1. data/lib/ur/product.rb +6 -0
  2. data/lib/ur/version.rb +1 -1
  3. metadata +4 -4
@@ -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
 
@@ -2,7 +2,7 @@ module UR
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
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-10-21 00:00:00 +02:00
18
+ date: 2010-11-08 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency