screencaster-gtk 0.0.6.alpha1 → 0.0.7.alpha1

Sign up to get free protection for your applications and to get access to all the features.
@@ -174,7 +174,10 @@ class ScreencasterGtk
174
174
  #### Done Status Icon
175
175
 
176
176
  def quit
177
- if 0 < @capture_window.raw_files.size && SaveFile.are_you_sure?(@window)
177
+ if @capture_window.nil? ||
178
+ @capture_window.raw_files.nil? ||
179
+ 0 == @capture_window.raw_files.size ||
180
+ SaveFile.are_you_sure?(@window)
178
181
  @@logger.debug "Quitting"
179
182
  # We don't want to destroy here because the object continues to exist
180
183
  # Just hide everything
@@ -40,7 +40,7 @@ class TestScreencasterGtk < Test::Unit::TestCase
40
40
  File.delete output if File.exists? output
41
41
  # Uses the test definition of select defined in the local version of capture.rb
42
42
  @sc.select
43
- @sc.capture_window.tmp_files = [file_name("a.mkv")]
43
+ @sc.capture_window.raw_files = [file_name("a.mkv")]
44
44
  @sc.capture_window.total_amount = 1
45
45
  assert @sc.spawn_encode(output), "spawn_encode failed"
46
46
  assert @sc.check_background, "check_background failed"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screencaster-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.alpha1
4
+ version: 0.0.7.alpha1
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -136,10 +136,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: 1.3.1
138
138
  requirements:
139
- - avconv
140
- - wmctl
139
+ - libav-tools
141
140
  - libavcodec-extra-53
141
+ - wmctl
142
142
  - mkvtoolnix
143
+ - ruby1.9.1-dev
144
+ - libgtk2.0-dev
143
145
  rubyforge_project:
144
146
  rubygems_version: 1.8.24
145
147
  signing_key: