minitest-excludes 1.0.0 → 1.0.1
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.
- data.tar.gz.sig +0 -0
- data/History.txt +7 -0
- data/lib/minitest/excludes.rb +3 -3
- metadata +7 -7
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/minitest/excludes.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'minitest/unit'
|
2
2
|
|
3
3
|
module MiniTest::Unit::Excludes # :nodoc:
|
4
|
-
VERSION = '1.0.
|
4
|
+
VERSION = '1.0.1' # :nodoc:
|
5
5
|
end
|
6
6
|
|
7
7
|
##
|
@@ -47,7 +47,7 @@ class MiniTest::Unit::TestCase
|
|
47
47
|
return warn "Method #{self}##{name} is not defined" unless
|
48
48
|
method_defined? name
|
49
49
|
|
50
|
-
|
50
|
+
undef_method name
|
51
51
|
end
|
52
52
|
|
53
53
|
##
|
@@ -58,7 +58,7 @@ class MiniTest::Unit::TestCase
|
|
58
58
|
begin
|
59
59
|
if name and not name.empty? then
|
60
60
|
file = File.join EXCLUDE_DIR, "#{name.gsub(/::/, '/')}.rb"
|
61
|
-
instance_eval File.read file if File.exist? file
|
61
|
+
instance_eval File.read(file), file if File.exist? file
|
62
62
|
end
|
63
63
|
true
|
64
64
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-excludes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Davis
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
FBHgymkyj/AOSqKRIpXPhjC6
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date:
|
39
|
+
date: 2012-02-22 00:00:00 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
@@ -76,11 +76,11 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - ~>
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
hash:
|
79
|
+
hash: 25
|
80
80
|
segments:
|
81
81
|
- 2
|
82
|
-
-
|
83
|
-
version: "2.
|
82
|
+
- 13
|
83
|
+
version: "2.13"
|
84
84
|
type: :development
|
85
85
|
version_requirements: *id003
|
86
86
|
description: |-
|
metadata.gz.sig
CHANGED
Binary file
|