corn 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/corn.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69417032301f90d71946591f896565c78fb935dc
|
4
|
+
data.tar.gz: d748f9ef157b3595f51182c823ecf33ad51ee441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49c41f1e71cef91dea0f00fb6eda29ca4be72cfc49dabd478654eb9a3912c08170c139a96aeea24d98de01ed8896f2d22fd24200461334ee13fde5d4380a1117
|
7
|
+
data.tar.gz: 998dfbae54b00480195c2f3a964695551cab4ff0ef648ee8fffe018b9d1435a2a9bbdd08444b32e536dba8ad24f48f644da053add2cb3458fdfd65171f73db98
|
data/lib/corn.rb
CHANGED
@@ -27,8 +27,11 @@ module Corn
|
|
27
27
|
|
28
28
|
def setup
|
29
29
|
if RUBY_VERSION =~ /^1.8/
|
30
|
-
Test::Unit::TestCase
|
31
|
-
|
30
|
+
if defined?(Test::Unit::TestCase)
|
31
|
+
Test::Unit::TestCase.send(:include, TestUnit18)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
if defined?(::MiniTest::Unit::TestCase)
|
32
35
|
::MiniTest::Unit::TestCase.send(:include, Corn::MiniTest)
|
33
36
|
end
|
34
37
|
end
|