vj-sdk 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 7
4
- :patch: 6
4
+ :patch: 7
5
5
  :build:
@@ -69,7 +69,7 @@ module Videojuicer
69
69
  end
70
70
 
71
71
  def has_default_content?
72
- return false if document_content.include? "<"
72
+ return false if document_content.nil? or document_content.include? "<"
73
73
 
74
74
  asset_ids
75
75
  return false if video_assets.length > 1
@@ -111,6 +111,11 @@ describe Videojuicer::Presentation do
111
111
  @presentation.has_default_content?.should == false
112
112
  end
113
113
 
114
+ it "should return false if the document_content is nil" do
115
+ @presentation.document_content = nil
116
+ @presentation.has_default_content?.should == false
117
+ end
118
+
114
119
  end
115
120
 
116
121
  end
data/vj-sdk.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{vj-sdk}
8
- s.version = "0.7.6"
8
+ s.version = "0.7.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["danski", "thejohnny", "knowtheory", "sixones", "btab", "lamp"]
12
- s.date = %q{2011-03-29}
12
+ s.date = %q{2011-03-30}
13
13
  s.email = %q{dan@videojuicer.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vj-sdk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 6
10
- version: 0.7.6
9
+ - 7
10
+ version: 0.7.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - danski
@@ -20,7 +20,7 @@ autorequire:
20
20
  bindir: bin
21
21
  cert_chain: []
22
22
 
23
- date: 2011-03-29 00:00:00 +01:00
23
+ date: 2011-03-30 00:00:00 +01:00
24
24
  default_executable:
25
25
  dependencies:
26
26
  - !ruby/object:Gem::Dependency