ZenTest 4.10.0 → 4.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.autotest +0 -1
- data/History.txt +7 -0
- data/lib/autotest.rb +2 -1
- data/lib/zentest.rb +7 -3
- data/test/test_zentest.rb +2 -3
- metadata +2 -2
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 537ee4c2f6a3b2f67f48328baa4ccbd4427611bb
|
4
|
+
data.tar.gz: 6840ae3d10b6e56faecb3f5a97ac8f11964f5dbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93b6e44dfcac87819f73cb6890d8545030866bdb38e70cecd6456809c67d07a5ecd26498604e2d251e15ca8147ad6af3bd6c24ec6875d72e010cc3fc8a13c211
|
7
|
+
data.tar.gz: 587b83daa7d4359e3c1f0a7ffd609ee87d1a694b423f1d9357b27bd217c39b0c60ddc5aacad95a20d1f7fd2bb175914ca6f7f760a4b1c0db8097cf63068d6eb3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.autotest
CHANGED
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== 4.10.1 / 2014-07-07
|
2
|
+
|
3
|
+
* 2 bug fixes:
|
4
|
+
|
5
|
+
* Change require to minitest/autorun for non-test/unit style
|
6
|
+
* Change the way files are gathered to avoid StackOverflow exception if you have a TOOON of files. (joshwand)
|
7
|
+
|
1
8
|
=== 4.10.0 / 2014-04-23
|
2
9
|
|
3
10
|
* 2 minor enhancements:
|
data/lib/autotest.rb
CHANGED
data/lib/zentest.rb
CHANGED
@@ -64,7 +64,7 @@ end
|
|
64
64
|
|
65
65
|
class ZenTest
|
66
66
|
|
67
|
-
VERSION = "4.10.
|
67
|
+
VERSION = "4.10.1"
|
68
68
|
|
69
69
|
include ZenTestMapping
|
70
70
|
|
@@ -465,8 +465,12 @@ class ZenTest
|
|
465
465
|
|
466
466
|
if @missing_methods.size > 0 then
|
467
467
|
@result.push ""
|
468
|
-
|
469
|
-
|
468
|
+
if $t then
|
469
|
+
@result.push "require 'test/unit/testcase'"
|
470
|
+
@result.push "require 'test/unit' if $0 == __FILE__"
|
471
|
+
else
|
472
|
+
@result.push "require 'minitest/autorun'"
|
473
|
+
end
|
470
474
|
@result.push ""
|
471
475
|
end
|
472
476
|
|
data/test/test_zentest.rb
CHANGED
@@ -174,8 +174,7 @@ class TestZenTest < Minitest::Test
|
|
174
174
|
}
|
175
175
|
@tester.inherited_methods = @tester.test_klasses.merge(@tester.klasses)
|
176
176
|
@generated_code = "
|
177
|
-
require '
|
178
|
-
require 'test/unit' if $0 == __FILE__
|
177
|
+
require 'minitest/autorun'
|
179
178
|
|
180
179
|
class Something
|
181
180
|
def self.method4(*args)
|
@@ -505,7 +504,7 @@ end
|
|
505
504
|
assert_equal expected, util_testcase("Blah0", "TestBlah0")
|
506
505
|
end
|
507
506
|
|
508
|
-
HEADER = "\nrequire '
|
507
|
+
HEADER = "\nrequire 'minitest/autorun'\n\n"
|
509
508
|
|
510
509
|
def test_testcase1
|
511
510
|
expected = "#{HEADER}class Blah1\n def missingimpl(*args)\n raise NotImplementedError, 'Need to write missingimpl'\n end\nend\n\nclass TestBlah1 < Minitest::Test\n def test_missingtest\n raise NotImplementedError, 'Need to write test_missingtest'\n end\nend\n\n# Number of errors detected: 2"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ZenTest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.10.
|
4
|
+
version: 4.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
|
31
31
|
xx3n58i0lQkBE1EpKE0lFu/y
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2014-
|
33
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: minitest
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
����l�Z_ndz�f:����!� ��T�j�gw(t7
|
2
|
+
���i�έC�s�ǰ��ǐ56v����8~8?6�!��
|
3
|
+
�����4�*�9���G��Z]!'���h*Lcc=����$���S��I��q�d��^��v�r����\�u�V��P����U�h/��1D��������Vq��0�(^_������C}�>���'�9u�k��_
|