ffprober 0.3.3 → 0.3.4
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 +4 -4
- data/.travis.yml +4 -0
- data/Changes.md +5 -0
- data/lib/ffprober/ffprobe_version.rb +2 -1
- data/lib/ffprober/version.rb +1 -1
- data/spec/assets/version_outputs/osx-2_0_1 +12 -0
- data/spec/ffprober/ffprobe_version_spec.rb +7 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc2cd87528f8ea626cb7ea514989b35ce5fadda3
|
|
4
|
+
data.tar.gz: abd349cfc589fc42b479209c51ed85207e835a41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f441a90b9f91963f154b742ca60bc6ca029b643ae0c49d7eb4da44b922a9080f1051ae47c75303a803fa16841cb8eedc199b2a6b60ef34ff31af6420d876389d
|
|
7
|
+
data.tar.gz: 8e247410935051054a31c1d8413512cf93e2c2750999a138143a71acc73527f8b5e0d5c3b92fe68a0d7d8366dde539d718b803d2ca1b2d5086d79bdbbfa0210b
|
data/.travis.yml
CHANGED
data/Changes.md
CHANGED
|
@@ -4,7 +4,7 @@ module Ffprober
|
|
|
4
4
|
@@nightly_regex = /^(ffprobe|avprobe|ffmpeg) version (N|git)-/
|
|
5
5
|
|
|
6
6
|
MIN_VERSION = Gem::Version.new("0.9.0")
|
|
7
|
-
MAX_VERSION = Gem::Version.new("2.0")
|
|
7
|
+
MAX_VERSION = Gem::Version.new("2.0.1")
|
|
8
8
|
|
|
9
9
|
def self.valid?
|
|
10
10
|
self.new.valid?
|
|
@@ -34,6 +34,7 @@ module Ffprober
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def version_output
|
|
37
|
+
return "" if Ffprober.path.nil?
|
|
37
38
|
@version_output ||= `#{Ffprober.path} -version`
|
|
38
39
|
end
|
|
39
40
|
end
|
data/lib/ffprober/version.rb
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
ffprobe version 2.0.1
|
|
2
|
+
built on Aug 15 2013 15:56:26 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
|
|
3
|
+
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.0.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
|
|
4
|
+
libavutil 52. 38.100 / 52. 38.100
|
|
5
|
+
libavcodec 55. 18.102 / 55. 18.102
|
|
6
|
+
libavformat 55. 12.100 / 55. 12.100
|
|
7
|
+
libavdevice 55. 3.100 / 55. 3.100
|
|
8
|
+
libavfilter 3. 79.101 / 3. 79.101
|
|
9
|
+
libavresample 1. 1. 0 / 1. 1. 0
|
|
10
|
+
libswscale 2. 3.100 / 2. 3.100
|
|
11
|
+
libswresample 0. 17.102 / 0. 17.102
|
|
12
|
+
libpostproc 52. 3.100 / 52. 3.100
|
|
@@ -38,5 +38,12 @@ describe Ffprober::FfprobeVersion do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
|
+
|
|
42
|
+
it "should not be valid if no ffprobe could be found in PATH" do
|
|
43
|
+
Ffprober.stub(:path).and_return(nil)
|
|
44
|
+
Ffprober::FfprobeVersion.new.version.to_s.should eq("0.0.0")
|
|
45
|
+
Ffprober::FfprobeVersion.valid?.should eq(false)
|
|
46
|
+
end
|
|
47
|
+
|
|
41
48
|
end
|
|
42
49
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ffprober
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- beanieboi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -70,6 +70,7 @@ files:
|
|
|
70
70
|
- spec/assets/version_outputs/osx-1_0
|
|
71
71
|
- spec/assets/version_outputs/osx-1_2_0
|
|
72
72
|
- spec/assets/version_outputs/osx-2_0
|
|
73
|
+
- spec/assets/version_outputs/osx-2_0_1
|
|
73
74
|
- spec/assets/version_outputs/raspian-0_8_6
|
|
74
75
|
- spec/assets/version_outputs/ubuntu-0_10_6
|
|
75
76
|
- spec/assets/version_outputs/windows-nightly
|
|
@@ -109,6 +110,7 @@ test_files:
|
|
|
109
110
|
- spec/assets/version_outputs/osx-1_0
|
|
110
111
|
- spec/assets/version_outputs/osx-1_2_0
|
|
111
112
|
- spec/assets/version_outputs/osx-2_0
|
|
113
|
+
- spec/assets/version_outputs/osx-2_0_1
|
|
112
114
|
- spec/assets/version_outputs/raspian-0_8_6
|
|
113
115
|
- spec/assets/version_outputs/ubuntu-0_10_6
|
|
114
116
|
- spec/assets/version_outputs/windows-nightly
|