cinesync 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  s = CineSync::Session.new
15
15
  s.media << CineSync::MediaFile.new("http://cinesync.com/files/sample_qt.mov")
16
16
  s.media << CineSync::MediaFile.new("/System/Library/Compositions/Fish.mov")
17
- File.open("/tmp/session.csc", "w") {|f| f << s.to_xml }
17
+ CineSync::Commands.open_session! s
18
18
 
19
19
 
20
20
  ### Running in response to an event
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cinesync}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jonathon Mah", "Rising Sun Research"]
12
- s.date = %q{2010-05-28}
12
+ s.date = %q{2010-06-01}
13
13
  s.description = %q{ This gem provides a Ruby interface to the cineSync session file format,
14
14
  which is used by cineSync's scripting system. Use it to integrate
15
15
  cineSync into your workflow.
@@ -25,6 +25,7 @@ module CineSync
25
25
 
26
26
  def saved_frame_path(media_file, frame)
27
27
  return nil unless save_parent
28
+ return nil if media_file.annotations[frame].drawing_objects.empty?
28
29
 
29
30
  base = ('%s-%05d' % [media_file.name, frame])
30
31
  i = 1; p2 = nil
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jonathon Mah
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-28 00:00:00 +09:30
18
+ date: 2010-06-01 00:00:00 +09:30
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency