spork-testunit 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/testdrb +6 -4
  2. metadata +4 -3
@@ -1,9 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # These fix 1.8.7 test/unit results where a DRbUnknown is returned because the testdrb client doesn't have the classes
4
- # in its local namespace. (See issue #2)
5
- unless defined? MiniTest
6
- # MiniTest is Ruby 1.9, and the classes below only exist in the pre 1.9 test/unit
3
+ begin
4
+ # MiniTest is Ruby 1.9.
5
+ require 'minitest/unit'
6
+ rescue LoadError
7
+ # These fix 1.8.7 test/unit results where a DRbUnknown is returned because the testdrb client doesn't have the classes
8
+ # in its local namespace. (See issue #2)
7
9
  require 'test/unit/testresult'
8
10
  require 'test/unit/failure'
9
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spork-testunit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2009-09-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spork
16
- requirement: &70183892964200 !ruby/object:Gem::Requirement
16
+ requirement: &70093359486340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.6.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70183892964200
24
+ version_requirements: *70093359486340
25
25
  description: Test Unit runner for spork
26
26
  email:
27
27
  - timcharper+spork@gmail.com
@@ -60,3 +60,4 @@ signing_key:
60
60
  specification_version: 3
61
61
  summary: spork-testunit
62
62
  test_files: []
63
+ has_rdoc: