ffprober 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -27,7 +27,7 @@ Or install it yourself as:
27
27
 
28
28
  ## FFMPEG version
29
29
 
30
- tested with ffprobe version 0.9, 0.10, 0.11 and 1.0
30
+ tested with ffprobe version 0.9, 0.10, 0.11, 1.0, 1.1 and 1.2
31
31
 
32
32
  according to [ffmpeg changelog](http://git.videolan.org/?p=ffmpeg.git;a=blob_plain;f=Changelog) json output was added in version 0.9
33
33
 
@@ -1,7 +1,7 @@
1
1
  module Ffprober
2
2
  class Parser
3
3
  @@options = '-v quiet -print_format json -show_format -show_streams'
4
- @@version_regex = /^ffprobe version (?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/
4
+ @@version_regex = /^ffprobe version (\d+)\.?(\d+)\.?(|\d+)$/
5
5
 
6
6
  class << self
7
7
  def from_file(file_to_parse)
@@ -43,7 +43,9 @@ module Ffprober
43
43
  {major: 1, minor: 1, patch: 0},
44
44
  {major: 1, minor: 1, patch: 1},
45
45
  {major: 1, minor: 1, patch: 2},
46
- {major: 1, minor: 1, patch: 3}
46
+ {major: 1, minor: 1, patch: 3},
47
+ {major: 1, minor: 1, patch: 4},
48
+ {major: 1, minor: 2, patch: 0}
47
49
  ]
48
50
  end
49
51
 
@@ -1,3 +1,3 @@
1
1
  module Ffprober
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffprober
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
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: 2013-02-25 00:00:00.000000000 Z
12
+ date: 2013-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec