Module | Cliver |
In: |
lib/cliver.rb
lib/cliver/filter.rb lib/cliver/detector.rb lib/cliver/dependency.rb lib/cliver/version.rb lib/cliver/shell_capture.rb |
encoding: utf-8
VERSION | = | '0.3.2' | Cliver follows {semver.org SemVer} |
A legacy interface for {::detect} with the option `strict: true`, ensures that the first executable on your path matches the requirements. @see Cliver::Dependency @overload (see Cliver::Dependency#initialize) @param (see Cliver::Dependency#initialize) @option options [Boolean] :strict (true) @see Cliver::Dependency::initialize @raise (see Cliver::Dependency#detect!) @return (see Cliver::Dependency#detect!)
A non-raising variant of {::detect!}, simply returns false if dependency cannot be found. @see Cliver::Dependency @overload (see Cliver::Dependency#initialize) @param (see Cliver::Dependency#initialize) @raise (see Cliver::Dependency#detect) @return (see Cliver::Dependency#detect)
The primary interface for the Cliver gem allows detection of an executable on your path that matches a version requirement, or raise an appropriate exception to make resolution simple and straight-forward. @see Cliver::Dependency @overload (see Cliver::Dependency#initialize) @param (see Cliver::Dependency#initialize) @raise (see Cliver::Dependency#detect!) @return (see Cliver::Dependency#detect!)
Verify an absolute-path to an executable. @overload verify!(executable, *requirements, options = {})
@param executable [String] absolute path to an executable @param requirements (see Cliver::Dependency#initialize) @option options (see Cliver::Dependency::initialize) @raise (see Cliver::Dependency#detect!) @return (see Cliver::Dependency#detect!)