vcs_ruby 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/bin/vcs.rb CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  # Video Contact Sheet Ruby:
4
4
  # ----------------------
data/lib/contact_sheet.rb CHANGED
@@ -12,7 +12,7 @@ module VCSRuby
12
12
  class ContactSheet
13
13
  attr_accessor :signature, :title, :highlight
14
14
  attr_accessor :softshadow, :timestamp, :polaroid
15
- attr_reader :thumbnail_width, :thumbnail_height
15
+ attr_reader :thumbnail_width, :thumbnail_height, :format
16
16
  attr_reader :length, :from, :to
17
17
 
18
18
  def initialize video, capturer
@@ -61,6 +61,10 @@ module VCSRuby
61
61
  def filename
62
62
  "#{@out_filename}#{@format}"
63
63
  end
64
+
65
+ def format= format
66
+ @format = ".#{format.to_s}"
67
+ end
64
68
 
65
69
  def full_path
66
70
  File.join(@out_path, filename)
data/lib/version.info CHANGED
@@ -1 +1 @@
1
- 1.1.7
1
+ 1.1.8
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcs_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-14 00:00:00.000000000 Z
12
+ date: 2016-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mini_magick