Sha256: 1f82b950a01b80a8518c88a97b300ff2eb26427b811cf22ade0b8b00b9a1e72a
Contents?: true
Size: 508 Bytes
Versions: 7
Compression:
Stored size: 508 Bytes
Contents
require 'digest/md5' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) FIXTURES_PATH = File.join(File.dirname(__FILE__), "checker", "fixtures") def fixture(dir, filename) "#{FIXTURES_PATH}/#{dir}/#{filename}" end def digest filename Digest::MD5.hexdigest(filename) end require 'checker/cli' module Checker module Modules class Base def checkout_file file_name, target `cp #{file_name} #{checkout_file_name(target)} > /dev/null 2>&1` end end end end
Version data entries
7 entries across 7 versions & 1 rubygems