vcs_ruby 1.1.13 → 1.1.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b14cbab283e1386440d3d28c129c1b507df66998
4
- data.tar.gz: 7f9626d2a36e8432cbcf26f24dfed9989bcd4db2
3
+ metadata.gz: e8682c5b27b8a63f89c8cb1b63ab9609dcc01107
4
+ data.tar.gz: fa2a50d213d98d3f18f64f34d6639714ae8582d9
5
5
  SHA512:
6
- metadata.gz: 772bb3fb4ac6799cdc67295af4b9c96c2a48d683773a6b7182ce00bbbca58414fd42188a719bc0c38bc713b9a6d50bdcaf5400daaab0d194468e6f12aabbb82b
7
- data.tar.gz: 8a3bc583904aba644c4ef0b2f0bc13812cb8b9facf59b3ac03345e16298d3f394ee62387eafa4b1a380bba7f0fc73eb86a067a066b173dba67d1a75cf34ed0b3
6
+ metadata.gz: eae5a53b403b4ae37d2aef0eab4e875c317059378a688cde983ece4c9a42ffd266b75402e9a7f73c6a657bbf30715e7a50a341a92f8ad6509db72fbf296076ee
7
+ data.tar.gz: '096f2c11496b2a3decfd3d6294c8aafbc38a02d6f67b3ebf98fb09712a67c4e783514704573d030226b6134e1dce093ede9a61bfb8db59a9747bc59d69a7aded'
data/lib/configuration.rb CHANGED
@@ -25,7 +25,7 @@ module VCSRuby
25
25
  @verbose = false
26
26
 
27
27
  local_config_files = ['~/.vcs.rb.yml']
28
- local_config_files.select{ |f| File.exists?(f) }.each do |local_config_file|
28
+ local_config_files.select{ |f| File.exist?(f) }.each do |local_config_file|
29
29
  local_config = YAML::load_file(local_config_file)
30
30
  @config = @config.deep_merge(local_config)
31
31
  end
@@ -41,7 +41,7 @@ module VCSRuby
41
41
 
42
42
  found = false
43
43
  profiles.each do |p|
44
- if File.exists?(p)
44
+ if File.exist?(p)
45
45
  puts "Profile loaded: #{profile}" if verbose?
46
46
  config = YAML::load_file(p)
47
47
  @config = @config.deep_merge(config)
data/lib/contact_sheet.rb CHANGED
@@ -341,7 +341,7 @@ private
341
341
  a.append
342
342
  a.stack do |b|
343
343
  b.size "#{montage.width}x#{header_height}"
344
- b.gravity 'East'
344
+ b.gravity 'NorthEast'
345
345
  b.fill Configuration.instance.header_color
346
346
  b.annotate '+0-1'
347
347
  b << "Dimensions: #{@video.video.width}x#{@video.video.height}\nFormat: #{@video.video.codec(true)} / #{@video.audio ? @video.audio.codec(true) : 'no audio'}\nFPS: #{"%.02f" % @video.video.frame_rate.to_f}"
data/lib/time_index.rb CHANGED
@@ -8,7 +8,7 @@ module VCSRuby
8
8
  attr_reader :total_seconds
9
9
 
10
10
  def initialize time_index = ''
11
- if time_index.instance_of? Float or time_index.instance_of? Fixnum
11
+ if time_index.instance_of? Float or time_index.instance_of? Integer
12
12
  @total_seconds = time_index
13
13
  else
14
14
  @total_seconds = 0.0
@@ -66,7 +66,7 @@ module VCSRuby
66
66
  end
67
67
 
68
68
  def + operand
69
- if operand.instance_of? Fixnum
69
+ if operand.instance_of? Integer
70
70
  TimeIndex.new @total_seconds + operand
71
71
  else
72
72
  TimeIndex.new @total_seconds + operand.total_seconds
@@ -74,7 +74,7 @@ module VCSRuby
74
74
  end
75
75
 
76
76
  def - operand
77
- if operand.instance_of? Fixnum
77
+ if operand.instance_of? Integer
78
78
  TimeIndex.new @total_seconds - operand
79
79
  else
80
80
  TimeIndex.new @total_seconds - operand.total_seconds
@@ -86,7 +86,7 @@ module VCSRuby
86
86
  end
87
87
 
88
88
  def / operand
89
- if operand.instance_of? Fixnum
89
+ if operand.instance_of? Integer
90
90
  TimeIndex.new @total_seconds / operand
91
91
  else
92
92
  @total_seconds / operand.total_seconds
data/lib/version.info CHANGED
@@ -1 +1 @@
1
- 1.1.13
1
+ 1.1.14
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcs_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.13
4
+ version: 1.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Bruderer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2017-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_magick
@@ -70,6 +70,46 @@ dependencies:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 11.0.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: minitest
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '5.10'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 5.0.0
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.10'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 5.0.0
93
+ - !ruby/object:Gem::Dependency
94
+ name: minitest-reporters
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.1'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 1.0.0
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.1'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.0.0
73
113
  description: Creates a contact sheet, a preview, of a video, usable as library or
74
114
  as a script. Based on VCS *NIX. Creating Thumbnails with libav, ffmpeg or mplayer
75
115
  and compose it with ImageMagick into nice looking sheets.