ZenTest 4.5.0 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,25 @@
1
+ === 4.6.0 / 2011-07-22
2
+
3
+ * 6 minor enhancements:
4
+
5
+ * Added -p (plain diff) and made -u (unified diff) the default for unit_diff.
6
+ * Added ./tmp to default exclusions.
7
+ * Autotest defaults unit_diff to nil now, to allow minitest's enhanced assert_equal to shine.
8
+ * Autotest will raise if the :died handler doesn't handle the exception. (ralfebert)
9
+ * Dropped 1.8.6 as a default tag/branch to build in multiruby.
10
+ * autotest can now be automatically 'narrowed' on the command-line.
11
+ * eg: `autotest lib test/test_blah.rb`
12
+
13
+ * 7 bug fixes:
14
+
15
+ * Believe it or not... but some ppl use zentest. Fixed nested class vs module bug
16
+ * Fix to turn on jruby's support for ObjectSpace. (stepheneb)
17
+ * Fixed a rubygems deprecation in autotest
18
+ * Fixed unit_diff scanning for minitest output.
19
+ * Normalized shebangs to fix problems on windows (luis)
20
+ * autotest/isolate.rb sets GEM_HOME as well as GEM_PATH.
21
+ * Fixed 1.9.3 warnings.
22
+
1
23
  === 4.5.0 / 2011-02-18
2
24
 
3
25
  * 6 minor enhancements:
data/README.txt CHANGED
@@ -1,8 +1,7 @@
1
1
  = ZenTest
2
2
 
3
- * http://www.zenspider.com/ZSS/Products/ZenTest/
4
- * http://rubyforge.org/projects/zentest/
5
- * mailto:ryand-ruby@zenspider.com
3
+ home :: https://github.com/seattlerb/zentest
4
+ rdoc :: http://zentest.rubyforge.org/ZenTest
6
5
 
7
6
  == DESCRIPTION
8
7
 
@@ -16,6 +15,8 @@ tool anymore but it is the package namesake, so it stays.
16
15
 
17
16
  unit_diff is a command-line filter to diff expected results from
18
17
  actual results and allow you to quickly see exactly what is wrong.
18
+ Do note that minitest 2.2+ provides an enhanced assert_equal obviating
19
+ the need for unit_diff
19
20
 
20
21
  autotest is a continous testing facility meant to be used during
21
22
  development. As soon as you save a file, autotest will run the
@@ -83,7 +84,7 @@ Read this: http://blog.mmediasys.com/2010/11/24/we-all-love-colors/
83
84
 
84
85
  (The MIT License)
85
86
 
86
- Copyright (c) Ryan Davis, Eric Hodel, Zen Spider Software, Seattle.rb
87
+ Copyright (c) Ryan Davis, Eric Hodel, seattle.rb
87
88
 
88
89
  Permission is hereby granted, free of charge, to any person obtaining
89
90
  a copy of this software and associated documentation files (the
@@ -1,5 +1,5 @@
1
- #!/usr/local/bin/ruby -ws
2
- #
1
+ #!/usr/bin/env ruby -ws
2
+ #
3
3
  # unit_diff - a ruby unit test filter by Ryan Davis <ryand-ruby@zenspider.com>
4
4
  #
5
5
  # usage:
@@ -10,7 +10,8 @@
10
10
  # -c contextual diff
11
11
  # -h show usage
12
12
  # -k keep temp diff files around
13
- # -u unified diff
13
+ # -u unified diff [default]
14
+ # -p plain diff
14
15
  # -v display version
15
16
 
16
17
  require 'unit_diff'
@@ -1,4 +1,4 @@
1
- #!/usr/local/bin/ruby -swI .
1
+ #!/usr/bin/env ruby -swI .
2
2
 
3
3
  require 'zentest'
4
4
 
@@ -223,7 +223,7 @@ class Autotest
223
223
  #
224
224
  # I'm removing this code once a sane rspec goes out.
225
225
 
226
- hacky_discovery = Gem.source_index.gems.any? { |n,_| n =~ /^rspec/ }
226
+ hacky_discovery = Gem::Specification.any? { |s| s.name =~ /^rspec/ }
227
227
  $: << '.' if hacky_discovery
228
228
 
229
229
  Gem.find_files("autotest/discover").each do |f|
@@ -289,8 +289,8 @@ class Autotest
289
289
  self.prefix = nil
290
290
  self.sleep = 1
291
291
  self.testlib = "test/unit"
292
- self.find_directories = ['.']
293
- self.unit_diff = "unit_diff -u"
292
+ self.find_directories = ARGV.empty? ? ['.'] : ARGV.dup
293
+ self.unit_diff = nil
294
294
  self.latest_results = nil
295
295
 
296
296
  # file in /lib -> run test in /test
@@ -341,7 +341,7 @@ class Autotest
341
341
  end
342
342
  hook :quit
343
343
  rescue Exception => err
344
- hook :died, err
344
+ hook(:died, err) or raise err
345
345
  end
346
346
 
347
347
  ##
@@ -512,6 +512,7 @@ class Autotest
512
512
 
513
513
  next if test ?d, f
514
514
  next if f =~ /(swp|~|rej|orig)$/ # temporary/patch files
515
+ next if f =~ /^\.\/tmp/ # temporary dir, used by isolate
515
516
  next if f =~ /\/\.?#/ # Emacs autosave/cvs merge files
516
517
 
517
518
  filename = f.sub(/^\.\//, '')
@@ -599,16 +600,19 @@ class Autotest
599
600
  def make_test_cmd files_to_test
600
601
  cmds = []
601
602
  full, partial = reorder(files_to_test).partition { |k,v| v.empty? }
603
+ diff = self.unit_diff
604
+ diff = " | #{diff}" if diff and diff !~ /^\|/
602
605
 
603
606
  unless full.empty? then
604
607
  classes = full.map {|k,v| k}.flatten.uniq
605
608
  classes.unshift testlib
606
- cmds << "#{ruby_cmd} -e \"%w[#{classes.join ' '}].each { |f| require f }\" | #{unit_diff}"
609
+ classes = classes.join " "
610
+ cmds << "#{ruby_cmd} -e \"%w[#{classes}].each { |f| require f }\"#{diff}"
607
611
  end
608
612
 
609
613
  partial.each do |klass, methods|
610
614
  regexp = Regexp.union(*methods).source
611
- cmds << "#{ruby_cmd} #{klass} -n \"/^(#{regexp})$/\" | #{unit_diff}"
615
+ cmds << "#{ruby_cmd} #{klass} -n \"/^(#{regexp})$/\"#{diff}"
612
616
  end
613
617
 
614
618
  cmds.join "#{SEP} "
@@ -9,6 +9,7 @@ module Autotest::Isolate
9
9
  end
10
10
 
11
11
  Autotest.add_hook :initialize do |at|
12
+ ENV["GEM_HOME"] = @@dir
12
13
  ENV["GEM_PATH"] = @@dir
13
14
  ENV["PATH"] += ":#{@@dir}/bin"
14
15
 
@@ -45,8 +45,8 @@ require 'open-uri'
45
45
  module Multiruby
46
46
  def self.env name, fallback; ENV[name] || fallback; end # :nodoc:
47
47
 
48
- TAGS = %w( 1_8_6 1_8_7 1_9_1 1_9_2)
49
- BRANCHES = %w(1_8 1_8_6 1_8_7 trunk)
48
+ TAGS = %w( 1_8_7 1_9_1 1_9_2)
49
+ BRANCHES = %w(1_8 1_8_7 1_9 trunk)
50
50
 
51
51
  VERSIONS = env('VERSIONS', TAGS.join(":").gsub(/_/, '.')).split(/:/)
52
52
  MRI_SVN = env 'MRI_SVN', 'http://svn.ruby-lang.org/repos/ruby'
@@ -33,7 +33,8 @@ require 'rbconfig'
33
33
  # -h show usage
34
34
  # -k keep temp diff files around
35
35
  # -l prefix line numbers on the diffs
36
- # -u unified diff
36
+ # -u unified diff [default]
37
+ # -p plain diff
37
38
  # -v display version
38
39
 
39
40
  class UnitDiff
@@ -71,7 +72,7 @@ class UnitDiff
71
72
  output.sync = true
72
73
  while line = input.gets
73
74
  case line
74
- when /^(Loaded suite|Started)/ then
75
+ when /^(Loaded suite|Started|# Running tests:)/ then
75
76
  print_lines = true
76
77
  output.puts line
77
78
  chars = []
@@ -122,7 +123,6 @@ class UnitDiff
122
123
  expect = []
123
124
  butwas = []
124
125
  footer = []
125
- found = false
126
126
  state = :header
127
127
 
128
128
  until result.empty? do
@@ -193,7 +193,8 @@ class UnitDiff
193
193
  $b = false unless defined? $b
194
194
  $c = false unless defined? $c
195
195
  $k = false unless defined? $k
196
- $u = false unless defined? $u
196
+ $u = true unless defined? $u
197
+ $p = false unless defined? $p
197
198
 
198
199
  data, footer = self.parse_input(input, output)
199
200
 
@@ -201,9 +202,6 @@ class UnitDiff
201
202
 
202
203
  # Output
203
204
  data.each do |result|
204
- first = []
205
- second = []
206
-
207
205
  if result.first =~ /Error/ then
208
206
  output.push result.join('')
209
207
  next
@@ -224,7 +222,7 @@ class UnitDiff
224
222
  end
225
223
 
226
224
  if footer then
227
- footer.shift if footer.first.strip.empty?# unless footer.first.nil?
225
+ footer.shift if footer.first.strip.empty?
228
226
  output.push footer.compact.map {|line| line.strip}.join("\n")
229
227
  end
230
228
 
@@ -241,10 +239,13 @@ class UnitDiff
241
239
  b.write(massage(butwas))
242
240
  b.rewind
243
241
 
244
- diff_flags = $u ? "-u" : $c ? "-c" : ""
242
+ diff_flags = $p ? "" : $c ? "-c" : "-u"
245
243
  diff_flags += " -b" if $b
246
244
 
247
245
  result = `#{DIFF} #{diff_flags} #{a.path} #{b.path}`
246
+ result.sub!(/^\-\-\- .+/, "--- expected")
247
+ result.sub!(/^\+\+\+ .+/, "+++ actual")
248
+
248
249
  output = if result.empty? then
249
250
  "[no difference--suspect ==]"
250
251
  else
@@ -264,7 +265,6 @@ class UnitDiff
264
265
  end
265
266
 
266
267
  def massage(data)
267
- count = 0
268
268
  # unescape newlines, strip <> from entire string
269
269
  data = data.join
270
270
  data = data.gsub(/\\n/, "\n").gsub(/0x[a-f0-9]+/m, '0xXXXXXX') + "\n"
@@ -1,3 +1,7 @@
1
+ if (defined? RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
2
+ require 'java'
3
+ JRuby.objectspace=true
4
+ end
1
5
 
2
6
  $stdlib = {}
3
7
  ObjectSpace.each_object(Module) do |m|
@@ -53,7 +57,7 @@ end
53
57
 
54
58
  class ZenTest
55
59
 
56
- VERSION = '4.5.0'
60
+ VERSION = '4.6.0'
57
61
 
58
62
  include ZenTestMapping
59
63
 
@@ -95,7 +99,7 @@ class ZenTest
95
99
  # using ObjectSpace to search for it.
96
100
  def get_class(klassname)
97
101
  begin
98
- klass = Module.const_get(klassname.intern)
102
+ klass = klassname.split(/::/).inject(Object) { |k,n| k.const_get n }
99
103
  puts "# found class #{klass.name}" if $DEBUG
100
104
  rescue NameError
101
105
  ObjectSpace.each_object(Class) do |cls|
@@ -339,7 +343,7 @@ class ZenTest
339
343
  def analyze_impl(klassname)
340
344
  testklassname = self.convert_class_name(klassname)
341
345
  if @test_klasses[testklassname] then
342
- methods, testmethods = methods_and_tests(klassname,testklassname)
346
+ _, testmethods = methods_and_tests(klassname, testklassname)
343
347
 
344
348
  # check that each method has a test method
345
349
  @klasses[klassname].each_key do | methodname |
@@ -349,7 +353,7 @@ class ZenTest
349
353
  unless testmethods.keys.find { |m| m =~ /#{testmethodname}(_\w+)+$/ } then
350
354
  self.add_missing_method(testklassname, testmethodname)
351
355
  end
352
- rescue RegexpError => e
356
+ rescue RegexpError
353
357
  puts "# ERROR trying to use '#{testmethodname}' as a regex. Look at #{klassname}.#{methodname}"
354
358
  end
355
359
  end # testmethods[testmethodname]
@@ -470,7 +474,6 @@ class ZenTest
470
474
  indentunit = " "
471
475
 
472
476
  @missing_methods.keys.sort.each do |fullklasspath|
473
-
474
477
  methods = @missing_methods[fullklasspath]
475
478
  cls_methods = methods.keys.grep(/^(self\.|test_class_)/)
476
479
  methods.delete_if {|k,v| cls_methods.include? k }
@@ -479,16 +482,8 @@ class ZenTest
479
482
 
480
483
  indent = 0
481
484
  is_test_class = self.is_test_class(fullklasspath)
482
- klasspath = fullklasspath.split(/::/)
483
- klassname = klasspath.pop
484
-
485
- klasspath.each do | modulename |
486
- m = self.get_class(modulename)
487
- type = m.nil? ? "module" : m.class.name.downcase
488
- @result.push indentunit*indent + "#{type} #{modulename}"
489
- indent += 1
490
- end
491
- @result.push indentunit*indent + "class #{klassname}" + (is_test_class ? " < Test::Unit::TestCase" : '')
485
+
486
+ @result.push indentunit*indent + "class #{fullklasspath}" + (is_test_class ? " < Test::Unit::TestCase" : '')
492
487
  indent += 1
493
488
 
494
489
  meths = []
@@ -508,10 +503,6 @@ class ZenTest
508
503
 
509
504
  indent -= 1
510
505
  @result.push indentunit*indent + "end"
511
- klasspath.each do | modulename |
512
- indent -= 1
513
- @result.push indentunit*indent + "end"
514
- end
515
506
  @result.push ''
516
507
  end
517
508
 
@@ -387,6 +387,25 @@ test_error2(#{@test_class}):
387
387
  'test/test_fooby.rb' => [ 'test_something1', 'test_something2' ]
388
388
  }
389
389
 
390
+ pre = "#{RUBY} -I.:lib:test -rubygems"
391
+ req = ".each { |f| require f }\""
392
+
393
+ expected =
394
+ [ "#{pre} -e \"%w[test/unit #{@test}]#{req}",
395
+ "#{pre} test/test_fooby.rb -n \"/^(test_something1|test_something2)$/\""
396
+ ].join("; ")
397
+
398
+ result = @a.make_test_cmd f
399
+ assert_equal expected, result
400
+ end
401
+
402
+ def test_make_test_cmd_unit_diff
403
+ @a.unit_diff = "unit_diff -u"
404
+ f = {
405
+ @test => [],
406
+ 'test/test_fooby.rb' => [ 'test_something1', 'test_something2' ]
407
+ }
408
+
390
409
  pre = "#{RUBY} -I.:lib:test -rubygems"
391
410
  req = ".each { |f| require f }\""
392
411
  post = "| unit_diff -u"
@@ -145,8 +145,6 @@ backtrace = <<-BACKTRACE
145
145
  end
146
146
 
147
147
  def test_unit_diff_empty # simulates broken pipe at the least
148
- input = ""
149
- expected = ""
150
148
  util_unit_diff("", "", "")
151
149
  end
152
150
 
@@ -287,15 +285,28 @@ backtrace = <<-BACKTRACE
287
285
  def test_unit_diff_angles
288
286
  header = "Loaded suite ./blah\nStarted\nF\nFinished in 0.035332 seconds.\n\n"
289
287
  input = "#{header} 1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n<\"<html>\"> expected but was\n<\"<body>\">.\n\n1 tests, 1 assertions, 1 failures, 0 errors\n"
290
- expected = "1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n1c1\n< <html>\n---\n> <body>\n\n1 tests, 1 assertions, 1 failures, 0 errors"
288
+ expected = "1) Failure:
289
+ test_test1(TestBlah) [./blah.rb:25]:
290
+ --- expected
291
+ +++ actual
292
+ @@ -1 +1 @@
293
+ -<html>
294
+ +<body>
295
+
296
+ 1 tests, 1 assertions, 1 failures, 0 errors"
291
297
 
292
298
  util_unit_diff(header, input, expected)
293
299
  end
294
300
 
295
301
  def test_unit_diff1
296
- header = "Loaded suite ./blah\nStarted\nF\nFinished in 0.035332 seconds.\n\n"
302
+ header = "Loaded suite ./blah
303
+ Started
304
+ F
305
+ Finished in 0.035332 seconds.
306
+
307
+ "
297
308
  input = "#{header} 1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n<\"line1\\nline2\\nline3\\n\"> expected but was\n<\"line4\\nline5\\nline6\\n\">.\n\n1 tests, 1 assertions, 1 failures, 0 errors\n"
298
- expected = "1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n1,3c1,3\n< line1\n< line2\n< line3\n---\n> line4\n> line5\n> line6\n\n1 tests, 1 assertions, 1 failures, 0 errors"
309
+ expected = "1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n--- expected\n+++ actual\n@@ -1,4 +1,4 @@\n-line1\n-line2\n-line3\n+line4\n+line5\n+line6\n \n\n1 tests, 1 assertions, 1 failures, 0 errors"
299
310
 
300
311
  util_unit_diff(header, input, expected)
301
312
  end
@@ -303,7 +314,7 @@ backtrace = <<-BACKTRACE
303
314
  def test_unit_diff2
304
315
  header = "Loaded suite ./blah\nStarted\nFF\nFinished in 0.035332 seconds.\n\n"
305
316
  input = "#{header} 1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n<\"line1\\nline2\\nline3\\n\"> expected but was\n<\"line4\\nline5\\nline6\\n\">.\n\n 2) Failure:\ntest_test2(TestBlah) [./blah.rb:29]:\n<\"line1\"> expected but was\n<\"line2\\nline3\\n\\n\">.\n\n2 tests, 2 assertions, 2 failures, 0 errors\n"
306
- expected = "1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n1,3c1,3\n< line1\n< line2\n< line3\n---\n> line4\n> line5\n> line6\n\n2) Failure:\ntest_test2(TestBlah) [./blah.rb:29]:\n1c1,4\n< line1\n---\n> line2\n> line3\n> \n> \n\n2 tests, 2 assertions, 2 failures, 0 errors"
317
+ expected = "1) Failure:\ntest_test1(TestBlah) [./blah.rb:25]:\n--- expected\n+++ actual\n@@ -1,4 +1,4 @@\n-line1\n-line2\n-line3\n+line4\n+line5\n+line6\n \n\n2) Failure:\ntest_test2(TestBlah) [./blah.rb:29]:\n--- expected\n+++ actual\n@@ -1 +1,4 @@\n-line1\n+line2\n+line3\n+\n+\n\n2 tests, 2 assertions, 2 failures, 0 errors"
307
318
 
308
319
  util_unit_diff(header, input, expected)
309
320
  end
@@ -326,9 +337,27 @@ backtrace = <<-BACKTRACE
326
337
  end
327
338
 
328
339
  def test_unit_diff_NOT_suspect_equals
329
- header = "Loaded suite ./blah\nStarted\n.\nFinished in 0.0 seconds.\n\n"
330
- input = "#{header} 1) Failure:\ntest_blah(TestBlah)\n<\"out\"> expected but was\n<\"out\\n\">.\n\n1 tests, 1 assertions, 1 failures, 0 errors"
331
- expected = "1) Failure:\ntest_blah(TestBlah)\n1a2\n> \n\n1 tests, 1 assertions, 1 failures, 0 errors"
340
+ header = "Loaded suite ./blah
341
+ Started
342
+ .
343
+ Finished in 0.0 seconds.
344
+
345
+ "
346
+ input = "#{header} 1) Failure:
347
+ test_blah(TestBlah)
348
+ <\"out\"> expected but was
349
+ <\"out\\n\">.
350
+
351
+ 1 tests, 1 assertions, 1 failures, 0 errors"
352
+ expected = "1) Failure:
353
+ test_blah(TestBlah)
354
+ --- expected
355
+ +++ actual
356
+ @@ -1 +1,2 @@
357
+ out
358
+ +
359
+
360
+ 1 tests, 1 assertions, 1 failures, 0 errors"
332
361
 
333
362
  util_unit_diff(header, input, expected)
334
363
  end
@@ -514,7 +514,7 @@ end
514
514
  end
515
515
 
516
516
  def test_testcase2
517
- expected = "#{HEADER}module Something2\n class Blah2\n def missingimpl(*args)\n raise NotImplementedError, 'Need to write missingimpl'\n end\n end\nend\n\nmodule TestSomething2\n class TestBlah2 < Test::Unit::TestCase\n def test_missingtest\n raise NotImplementedError, 'Need to write test_missingtest'\n end\n end\nend\n\n# Number of errors detected: 2"
517
+ expected = "#{HEADER}class Something2::Blah2\n def missingimpl(*args)\n raise NotImplementedError, 'Need to write missingimpl'\n end\nend\n\nclass TestSomething2::TestBlah2 < Test::Unit::TestCase\n def test_missingtest\n raise NotImplementedError, 'Need to write test_missingtest'\n end\nend\n\n# Number of errors detected: 2"
518
518
 
519
519
  assert_equal expected, util_testcase("Something2::Blah2", "TestSomething2::TestBlah2")
520
520
  end
@@ -538,13 +538,13 @@ assert_equal expected, util_testcase("Something2::Blah2", "TestSomething2::TestB
538
538
  end
539
539
 
540
540
  def test_testcase6
541
- expected = "#{HEADER}module TestMyModule6\n class TestMyClass6 < Test::Unit::TestCase\n def test_index\n raise NotImplementedError, 'Need to write test_index'\n end\n\n def test_missingtest1\n raise NotImplementedError, 'Need to write test_missingtest1'\n end\n end\nend\n\n# Number of errors detected: 3"
541
+ expected = "#{HEADER}class TestMyModule6::TestMyClass6 < Test::Unit::TestCase\n def test_index\n raise NotImplementedError, 'Need to write test_index'\n end\n\n def test_missingtest1\n raise NotImplementedError, 'Need to write test_missingtest1'\n end\nend\n\n# Number of errors detected: 3"
542
542
 
543
543
  assert_equal expected, util_testcase("MyModule6::MyClass6")
544
544
  end
545
545
 
546
546
  def test_testcase7
547
- expected = "#{HEADER}module TestMyModule7\n class TestMyClass7 < Test::Unit::TestCase\n def test_index\n raise NotImplementedError, 'Need to write test_index'\n end\n\n def test_missingtest1\n raise NotImplementedError, 'Need to write test_missingtest1'\n end\n end\nend\n\n# Number of errors detected: 3"
547
+ expected = "#{HEADER}class TestMyModule7::TestMyClass7 < Test::Unit::TestCase\n def test_index\n raise NotImplementedError, 'Need to write test_index'\n end\n\n def test_missingtest1\n raise NotImplementedError, 'Need to write test_missingtest1'\n end\nend\n\n# Number of errors detected: 3"
548
548
 
549
549
  assert_equal expected, util_testcase("MyModule7::MyClass7")
550
550
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZenTest
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
- - 5
8
+ - 6
9
9
  - 0
10
- version: 4.5.0
10
+ version: 4.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -37,8 +37,7 @@ cert_chain:
37
37
  FBHgymkyj/AOSqKRIpXPhjC6
38
38
  -----END CERTIFICATE-----
39
39
 
40
- date: 2011-02-18 00:00:00 -08:00
41
- default_executable:
40
+ date: 2011-07-23 00:00:00 Z
42
41
  dependencies:
43
42
  - !ruby/object:Gem::Dependency
44
43
  name: minitest
@@ -46,14 +45,13 @@ dependencies:
46
45
  requirement: &id001 !ruby/object:Gem::Requirement
47
46
  none: false
48
47
  requirements:
49
- - - ">="
48
+ - - ~>
50
49
  - !ruby/object:Gem::Version
51
- hash: 11
50
+ hash: 5
52
51
  segments:
53
52
  - 2
54
- - 0
55
- - 2
56
- version: 2.0.2
53
+ - 3
54
+ version: "2.3"
57
55
  type: :development
58
56
  version_requirements: *id001
59
57
  - !ruby/object:Gem::Dependency
@@ -62,14 +60,13 @@ dependencies:
62
60
  requirement: &id002 !ruby/object:Gem::Requirement
63
61
  none: false
64
62
  requirements:
65
- - - ">="
63
+ - - ~>
66
64
  - !ruby/object:Gem::Version
67
- hash: 41
65
+ hash: 23
68
66
  segments:
69
67
  - 2
70
- - 9
71
- - 1
72
- version: 2.9.1
68
+ - 10
69
+ version: "2.10"
73
70
  type: :development
74
71
  version_requirements: *id002
75
72
  description: |-
@@ -83,6 +80,8 @@ description: |-
83
80
 
84
81
  unit_diff is a command-line filter to diff expected results from
85
82
  actual results and allow you to quickly see exactly what is wrong.
83
+ Do note that minitest 2.2+ provides an enhanced assert_equal obviating
84
+ the need for unit_diff
86
85
 
87
86
  autotest is a continous testing facility meant to be used during
88
87
  development. As soon as you save a file, autotest will run the
@@ -149,8 +148,7 @@ files:
149
148
  - test/test_zentest.rb
150
149
  - test/test_zentest_mapping.rb
151
150
  - .gemtest
152
- has_rdoc: true
153
- homepage: http://www.zenspider.com/ZSS/Products/ZenTest/
151
+ homepage: https://github.com/seattlerb/zentest
154
152
  licenses: []
155
153
 
156
154
  post_install_message:
@@ -180,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
178
  requirements: []
181
179
 
182
180
  rubyforge_project: zentest
183
- rubygems_version: 1.4.2
181
+ rubygems_version: 1.8.2
184
182
  signing_key:
185
183
  specification_version: 3
186
184
  summary: "ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby"
metadata.gz.sig CHANGED
Binary file