av 0.4.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/av/cli.rb +1 -1
- data/lib/av/commands/avconv.rb +1 -1
- data/lib/av/version.rb +1 -1
- data/spec/av/base_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a219e1e44284c819adfa9c3b9be71d71a8ed052
|
4
|
+
data.tar.gz: 827bc4e423c7266f0b7c9b5cfa41598bd0a67187
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60906da8d955bec6da2e39deb40f764f2c9576b885e6d87bce360a0d0f901dbf407038e8477e9cbc5a22f57b1135040d8fd90117110a175282f928f40f54031f
|
7
|
+
data.tar.gz: a00611337bd636f60bc6495178a40c121b13394d483af7f048061e5c76a55f2f4f21bb19726fc2569640c3e621110ea7078f381a666fb975eacf4bbf7e5386d2
|
data/lib/av/cli.rb
CHANGED
@@ -4,8 +4,8 @@ module Av
|
|
4
4
|
|
5
5
|
def initialize(options)
|
6
6
|
found = []
|
7
|
-
found << 'ffmpeg' if self.detect_command('ffmpeg')
|
8
7
|
found << 'avconv' if self.detect_command('avprobe')
|
8
|
+
found << 'ffmpeg' if self.detect_command('ffmpeg')
|
9
9
|
if found.empty?
|
10
10
|
raise Av::UnableToDetect, "Unable to detect any supported library"
|
11
11
|
else
|
data/lib/av/commands/avconv.rb
CHANGED
@@ -7,7 +7,7 @@ module Av
|
|
7
7
|
def initialize(options = {})
|
8
8
|
super(options)
|
9
9
|
@command_name = 'avconv'
|
10
|
-
@default_params['loglevel'] = 'quiet' unless options[:
|
10
|
+
@default_params['loglevel'] = 'quiet' unless options[:quiet] == false
|
11
11
|
end
|
12
12
|
|
13
13
|
def filter_concat list
|
data/lib/av/version.rb
CHANGED
data/spec/av/base_spec.rb
CHANGED
@@ -9,7 +9,7 @@ describe Av::Commands::Base do
|
|
9
9
|
let(:meta) { subject.identify source }
|
10
10
|
|
11
11
|
it { expect(meta).to be_a Hash }
|
12
|
-
it { expect(meta.keys).to include :size, :
|
12
|
+
it { expect(meta.keys).to include :size, :aspect }
|
13
13
|
end
|
14
14
|
|
15
15
|
describe 'unsupported files' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: av
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omar Abdel-Wahab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|