lib/ffprober/ffprobe_version.rb in ffprober-0.3.1 vs lib/ffprober/ffprobe_version.rb in ffprober-0.3.2
- old
+ new
@@ -1,8 +1,8 @@
module Ffprober
class FfprobeVersion
@@version_regex = /^(ffprobe|avprobe|ffmpeg) version (\d+)\.?(\d+)\.?(\d+)*/
- @@nightly_regex = /^(ffprobe|avprobe|ffmpeg) version N-/
+ @@nightly_regex = /^(ffprobe|avprobe|ffmpeg) version (N|git)-/
MIN_VERSION = Gem::Version.new("0.9.0")
MAX_VERSION = Gem::Version.new("1.2.1")
def self.valid?