Sha256: a78d097394548564c1365cf8f520446156af3d18b543c10dd41f39564d4025a7
Contents?: true
Size: 786 Bytes
Versions: 17
Compression:
Stored size: 786 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 # -l prefix line numbers on the diffs # -u unified diff # -v display version require 'unit_diff' require 'zentest' ############################################################ if defined? $v then puts "#{File.basename $0} v. #{ZenTest::VERSION}" exit 0 end if defined? $h then File.open($0) 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
17 entries across 17 versions & 2 rubygems