Sha256: ce1120373c50c94cd0b231c0a902624c3bd25986d9734adc296c604463ec6b70
Contents?: true
Size: 862 Bytes
Versions: 1
Compression:
Stored size: 862 Bytes
Contents
#!/usr/local/bin/ruby -ws # # unit_diff - a ruby unit test filter by Ryan Davis <ryand-ruby@zenspider.com> # # usage: # # test.rb | unit_diff [options] # options: # -b ignore whitespace differences # -c contextual diff # -h show usage # -k keep temp diff files around # -u unified diff # -v display version begin require 'unit_diff' rescue LoadError require File.dirname(__FILE__) + '/../lib/unit_diff' end ############################################################ if defined? $v then puts "#{File.basename $0} v. #{File.read( File.join(File.dirname(__FILE__),'..','VERSION') )}" exit 0 end if defined? $h then File.open(__FILE__) do |f| begin; end until f.readline =~ /usage:/ f.readline while line = f.readline and line.sub!(/^# ?/, '') $stderr.puts line end end exit 0 end UnitDiff.unit_diff
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autotest-4.2.4 | bin/unit_diff |