ur-product 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ur/product.rb +1 -1
  2. metadata +3 -3
data/lib/ur/product.rb CHANGED
@@ -219,7 +219,7 @@ module UR
219
219
 
220
220
  if product_type == 'website'
221
221
  @url = get_storage_location('url')
222
- elsif respond_to?(:website)
222
+ elsif respond_to?(:website) && website.respond_to?(:first)
223
223
  if website.first.nil?
224
224
  @url = false
225
225
  else
metadata CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 6
8
- version: "0.6"
7
+ - 7
8
+ version: "0.7"
9
9
  platform: ruby
10
10
  authors:
11
11
  - Peter Hellberg
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2010-05-17 00:00:00 +02:00
16
+ date: 2010-05-20 00:00:00 +02:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency