ZenTest 4.11.0 → 4.11.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 +4 -1
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +4 -0
- data/lib/autotest.rb +1 -1
- data/lib/zentest.rb +1 -1
- data/test/test_zentest.rb +11 -2
- metadata +18 -34
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0c7386269a739643c4650e2463eba0f453f284e
|
4
|
+
data.tar.gz: 0d81230e9eaea422e1e7ac75b8a2868ae97aa979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ab6b0c8ab06cd0ae99fbd493ae85e621974e4bca725b06c59c474b3ae567077e177d30cfcd4a6e9a9353770aaa3e66daa360cdce6ba167590948e6382711f3f
|
7
|
+
data.tar.gz: dccdc42a73627f50de74e7ed7083d44206ae9a904c47cf993089a1a388767c6a3c31dbcf9d72da7acd54c966720fbe091036767c7bb63bac13b0647611142faa
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
Z�+�"^'�q��
|
2
|
+
�TP%�i:�Lk��Xب~�x�L
|
3
|
+
�`&���n_�K��p��P$����(w^������fMU5f4?h|�{F8j�d�zD�D#Y�p��b������e��Zq���C�϶�@ŎW�@��%�*�<}���vH���J�ԣt�^��%iT
|
4
|
+
o@��@�b���KhU#��g���ֆs�G����KJϱ���
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -27,6 +27,10 @@ multiruby runs anything you want on multiple versions of ruby. Great
|
|
27
27
|
for compatibility checking! Use multiruby_setup to manage your
|
28
28
|
installed versions.
|
29
29
|
|
30
|
+
*NOTE:* The next major release of zentest will not include autotest
|
31
|
+
(use minitest-autotest instead) and multiruby will use rbenv /
|
32
|
+
ruby-build for version management.
|
33
|
+
|
30
34
|
== FEATURES
|
31
35
|
|
32
36
|
* Scans your ruby code and tests and generates missing methods for you.
|
data/lib/autotest.rb
CHANGED
@@ -233,7 +233,7 @@ class Autotest
|
|
233
233
|
hacky_discovery = Gem::Specification.any? { |s| s.name =~ /^rspec/ }
|
234
234
|
$: << '.' if hacky_discovery
|
235
235
|
|
236
|
-
Gem.find_files("autotest/discover").each do |f|
|
236
|
+
Gem.find_files("autotest/discover*").each do |f|
|
237
237
|
load f
|
238
238
|
end
|
239
239
|
|
data/lib/zentest.rb
CHANGED
data/test/test_zentest.rb
CHANGED
@@ -482,7 +482,6 @@ end
|
|
482
482
|
"method1="=>true,
|
483
483
|
"method1?"=>true,
|
484
484
|
"method1!"=>true,
|
485
|
-
"method1"=>true,
|
486
485
|
"attrib"=>true}}, @tester.klasses)
|
487
486
|
@tester.klasses= {"whoopie" => {}}
|
488
487
|
assert_equal({"whoopie"=> {}}, @tester.klasses)
|
@@ -565,7 +564,17 @@ assert_equal expected, util_testcase("Something2::Blah2", "TestSomething2::TestB
|
|
565
564
|
pims = TrueClass.public_instance_methods(false)
|
566
565
|
TrueClass.send :remove_method, :inspect if pims.include? :inspect # 2.0 only
|
567
566
|
|
568
|
-
|
567
|
+
is_ruby_23 = RUBY_VERSION >= "2.3"
|
568
|
+
|
569
|
+
count = "4"
|
570
|
+
extra = ""
|
571
|
+
|
572
|
+
if is_ruby_23 then
|
573
|
+
count = "5"
|
574
|
+
extra = " def test_equals3\n raise NotImplementedError, 'Need to write test_equals3'\n end\n\n"
|
575
|
+
end
|
576
|
+
|
577
|
+
expected = "#{HEADER}class TestTrueClass < Minitest::Test\n def test_and\n raise NotImplementedError, 'Need to write test_and'\n end\n\n def test_carat\n raise NotImplementedError, 'Need to write test_carat'\n end\n\n#{extra} def test_or\n raise NotImplementedError, 'Need to write test_or'\n end\n\n def test_to_s\n raise NotImplementedError, 'Need to write test_to_s'\n end\nend\n\n# Number of errors detected: #{count}"
|
569
578
|
|
570
579
|
assert_equal expected, util_testcase("TestTrueClass")
|
571
580
|
end
|
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.11.
|
4
|
+
version: 4.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -11,9 +11,9 @@ bindir: bin
|
|
11
11
|
cert_chain:
|
12
12
|
- |
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
|
-
|
14
|
+
MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
15
15
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
16
|
-
|
16
|
+
GRYDY29tMB4XDTE1MDkxOTIwNTEyMloXDTE2MDkxODIwNTEyMlowRTETMBEGA1UE
|
17
17
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
18
18
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
19
19
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -23,29 +23,15 @@ cert_chain:
|
|
23
23
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
24
24
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
25
25
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
AQB+Hx8xUgrpZa4P8H8gR8zme5kISwQrG80MbpqJV6/G3/ZicRFhN5sjwu0uHGue
|
27
|
+
bd9Cymf6oIRwHVarJux2M32T6bL07Hmi07w2QaPc3MnMKB/D46SRZ2JSSGPFRBTc
|
28
|
+
SilobMRoGs/7B15uGFUEnNrCB/ltMqhwwSx1r++UQPfeySHEV9uqu03E5Vb7J37O
|
29
|
+
2Er6PLXHRiYsIycD1LkMi6YnixdITRHmrqJYE2rsjaIfpIehiusVAPHkNf7qbpHq
|
30
|
+
qx3h45R1CAsObX0SQDIT+rRbQrtKz1GHIZTOFYvEJjUY1XmRTZupD3CJ8Q7sDqSy
|
31
|
+
NLq5jm1fq6Y9Uolu3RJbmycf
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: minitest
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ~>
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '5.4'
|
42
|
-
type: :development
|
43
|
-
prerelease: false
|
44
|
-
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ~>
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '5.4'
|
49
35
|
- !ruby/object:Gem::Dependency
|
50
36
|
name: rdoc
|
51
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,14 +52,14 @@ dependencies:
|
|
66
52
|
requirements:
|
67
53
|
- - ~>
|
68
54
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
55
|
+
version: '3.15'
|
70
56
|
type: :development
|
71
57
|
prerelease: false
|
72
58
|
version_requirements: !ruby/object:Gem::Requirement
|
73
59
|
requirements:
|
74
60
|
- - ~>
|
75
61
|
- !ruby/object:Gem::Version
|
76
|
-
version: '3.
|
62
|
+
version: '3.15'
|
77
63
|
description: |-
|
78
64
|
ZenTest provides 4 different tools: zentest, unit_diff, autotest, and
|
79
65
|
multiruby.
|
@@ -96,6 +82,10 @@ description: |-
|
|
96
82
|
multiruby runs anything you want on multiple versions of ruby. Great
|
97
83
|
for compatibility checking! Use multiruby_setup to manage your
|
98
84
|
installed versions.
|
85
|
+
|
86
|
+
*NOTE:* The next major release of zentest will not include autotest
|
87
|
+
(use minitest-autotest instead) and multiruby will use rbenv /
|
88
|
+
ruby-build for version management.
|
99
89
|
email:
|
100
90
|
- ryand-ruby@zenspider.com
|
101
91
|
- drbrain@segment7.net
|
@@ -115,7 +105,6 @@ extra_rdoc_files:
|
|
115
105
|
- example.txt
|
116
106
|
files:
|
117
107
|
- .autotest
|
118
|
-
- .gemtest
|
119
108
|
- History.txt
|
120
109
|
- Manifest.txt
|
121
110
|
- README.txt
|
@@ -178,13 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
167
|
version: '3.0'
|
179
168
|
requirements: []
|
180
169
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.4.
|
170
|
+
rubygems_version: 2.4.5
|
182
171
|
signing_key:
|
183
172
|
specification_version: 4
|
184
173
|
summary: 'ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby'
|
185
|
-
test_files:
|
186
|
-
- test/test_autotest.rb
|
187
|
-
- test/test_focus.rb
|
188
|
-
- test/test_unit_diff.rb
|
189
|
-
- test/test_zentest.rb
|
190
|
-
- test/test_zentest_mapping.rb
|
174
|
+
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
data/.gemtest
DELETED
File without changes
|