kastner-kompress 0.0.5 → 0.0.6

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.
data/kompress.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "kompress"
3
- s.version = "0.0.5"
3
+ s.version = "0.0.6"
4
4
  s.date = "2008-09-14"
5
5
  s.summary = "Kompress - kompress videos and see progress"
6
6
  s.email = "kastner@gmail.com"
data/lib/kompress/job.rb CHANGED
@@ -12,6 +12,7 @@ module Kompress
12
12
  @container_type = rpls[:container_type]
13
13
  @input_file = rpls[:input_file]
14
14
  @start_time = rpls[:start_time]
15
+ @thumb_type = rpls[:thumb_type]
15
16
  @options = rpls
16
17
  def replacements; @options; end
17
18
  end
data/test/job-freeze CHANGED
@@ -5,6 +5,7 @@
5
5
  :current_frame_regexp: !ruby/regexp /frame=\s*(\d+)/
6
6
  :job_id: 1221549341-rad
7
7
  :container_type: mp4
8
+ :thumb_type: jpg
8
9
  :qt_faststart: /usr/bin/qt-faststart
9
10
  :duration_regexp: !ruby/regexp /Duration-(\d+)/
10
11
  :ffmpeg: /Library/Application\ Support/Techspansion/vh131ffmpeg
data/test/job_test.rb CHANGED
@@ -145,4 +145,8 @@ describe "A frozen job" do
145
145
  @job.start_time.year.should.be 2008
146
146
  @job.start_time.month.should.be 9
147
147
  end
148
+
149
+ it "should be able to get the thumb name" do
150
+ @job.thumb_file.should == "~/Development/Ruby/test.jpg"
151
+ end
148
152
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kastner-kompress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Kastner