Sha256: 21de11e5bc95cf54ecd8c7f0c6607ec8370a2ec8ac9f4c51bc5e1fcbed44387b
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 Bytes
Contents
require 'rspec' require 'bundler/audit/version' module Helpers def sh(command, options={}) Bundler.with_clean_env do result = `#{command} 2>&1` raise "FAILED #{command}\n#{result}" if $?.success? == !!options[:fail] result end end def decolorize(string) string.gsub(/\e\[\d+m/, "") end end include Bundler::Audit
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bundler-audit-0.3.0 | spec/spec_helper.rb |
bundler-audit-0.2.0 | spec/spec_helper.rb |
bundler-audit-0.1.2 | spec/spec_helper.rb |