video_transcoding 0.2.5 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15f7e9a33ecd4696b4fd580ef0951604d4fa4749
4
- data.tar.gz: 8691a94c4ea6260f580b960f6e0225aeb9476b24
3
+ metadata.gz: ebbf9eea95f412dd65c00bb20e454df7b89b5c5f
4
+ data.tar.gz: 16e0e4aa38662d8eb04dc90bcf719e3e502335a5
5
5
  SHA512:
6
- metadata.gz: 907286d5f1555bacc7b978378a0edd300716f808e9d90b890bcceade6e429acc67e8e81118f851d53e1374cb5ad30b0a30005a176a5b8711accda1bfce029a59
7
- data.tar.gz: 61f09afdb8e67fa2a213bd61b12007fdf20a8cadac787aa5c9ea825dc55ea2600c6c0c6dbaabef7c857dfe38a877241b60b59fa064495ac19bd9bf3e8cf9e5c0
6
+ metadata.gz: 300a42b85aa822f344862bbf39300ee842669ecde6a42221c72d18fb4bc6b7059c673f5f73238f062e0938eec285efc82822d26fa0559d9130b654c47dede0fc
7
+ data.tar.gz: 0f8c0e051b0941bab3abf039f1e3e455761c87a8e25d3905abce1c130a5c673c2037a164d90352f83b3d840f2710aa9ea260d145a998c02ef864ded155a132f9
data/bin/convert-video CHANGED
@@ -95,7 +95,7 @@ HERE
95
95
  output = File.absolute_path(@output) + File::SEPARATOR + output
96
96
  end
97
97
 
98
- fail "output file exists: #{media.path}" if File.exist? output
98
+ fail "output file exists: #{output}" if File.exist? output
99
99
  output
100
100
  end
101
101
 
data/bin/transcode-video CHANGED
@@ -621,7 +621,7 @@ HERE
621
621
  if path.nil? or File.directory? path
622
622
  path
623
623
  else
624
- File.basename(path, '.*') + ext
624
+ File.dirname(path) + File::SEPARATOR + File.basename(path, '.*') + ext
625
625
  end
626
626
  end
627
627
 
@@ -713,7 +713,7 @@ HERE
713
713
  end
714
714
  end
715
715
 
716
- fail "output file exists: #{media.path}" if File.exist? output
716
+ fail "output file exists: #{output}" if File.exist? output
717
717
  output
718
718
  end
719
719
 
@@ -5,5 +5,5 @@
5
5
  #
6
6
 
7
7
  module VideoTranscoding
8
- VERSION = '0.2.5'
8
+ VERSION = '0.2.6'
9
9
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_transcoding
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Melton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-17 00:00:00.000000000 Z
11
+ date: 2015-05-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Video Transcoding is a package of tools to transcode, inspect
@@ -55,6 +55,7 @@ files:
55
55
  - video_transcoding-0.2.2.gem
56
56
  - video_transcoding-0.2.3.gem
57
57
  - video_transcoding-0.2.4.gem
58
+ - video_transcoding-0.2.5.gem
58
59
  - video_transcoding.gemspec
59
60
  homepage: https://github.com/donmelton/video_transcoding
60
61
  licenses: