Sha256: f0af696d1462b61062c12469a9de8b8b2bd5b254a5d477878e3f11fd93a5a9d0
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
module Ffprober module Ffmpeg class VersionValidator MIN_VERSION = Gem::Version.new("0.9.0") def initialize(ffmpeg_version) @ffmpeg_version = ffmpeg_version end def valid? ffmpeg_version.nightly? || version_requirement_statisfied? end private def version_requirement_statisfied? MIN_VERSION <= ffmpeg_version.version end def ffmpeg_version @ffmpeg_version end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffprober-0.5.1 | lib/ffprober/ffmpeg/version_validator.rb |