minitest-server 1.0.6 → 1.0.8
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/History.rdoc +12 -1
- data/Rakefile +2 -1
- data/lib/minitest/server.rb +1 -1
- data/test/minitest/test_server.rb +42 -4
- data.tar.gz.sig +0 -0
- metadata +32 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7814c13c79baa774a2fb455c97ef418cbc6146f6f44fa39c1ab146f22329bfc6
|
4
|
+
data.tar.gz: f397baf7017ac7b3bc1df4ed8167d07c2846b3406502b40eb7488085f72b5fcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25376368f95ab7bfd632b464b109b892e97ca6d5c12af8b09317c9cbbecb72f0df5767eac4ee49c7ffa441e4910d47291a2eb62e39c19acd1abe26bc45c147fd
|
7
|
+
data.tar.gz: c8f669c32c167852006caec3fba89fcef6eb6d1143bc9164b4eec89b170d69b6f3c25ad79e9769fea3d733bb5c104b237c5a4b7d0652cf3d6c2f2aeca785debb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
=== 1.0.8 / 2024-02-26
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
|
5
|
+
* Add drb as a dependency. (y-yagi)
|
6
|
+
|
7
|
+
=== 1.0.7 / 2022-12-17
|
8
|
+
|
9
|
+
* 1 minor enhancement:
|
10
|
+
|
11
|
+
* Bumped to minitest ~> 5.16 to get improved marshal handling.
|
12
|
+
|
1
13
|
=== 1.0.6 / 2019-12-14
|
2
14
|
|
3
15
|
* 1 bug fix:
|
@@ -40,4 +52,3 @@
|
|
40
52
|
* 1 major enhancement
|
41
53
|
|
42
54
|
* Birthday!
|
43
|
-
|
data/Rakefile
CHANGED
data/lib/minitest/server.rb
CHANGED
@@ -19,9 +19,21 @@ class BogoTests < Minitest::Test
|
|
19
19
|
|
20
20
|
def error_test
|
21
21
|
raise "error"
|
22
|
+
end
|
23
|
+
|
24
|
+
def unmarshalable_ivar_test
|
25
|
+
raise "error"
|
22
26
|
rescue => e
|
23
|
-
e.instance_variable_set :@binding, binding
|
24
|
-
raise
|
27
|
+
e.instance_variable_set :@binding, binding
|
28
|
+
raise
|
29
|
+
end
|
30
|
+
|
31
|
+
def unmarshalable_class_test
|
32
|
+
exc = Class.new RuntimeError
|
33
|
+
raise exc, "error"
|
34
|
+
rescue => e
|
35
|
+
e.instance_variable_set :@binding, binding
|
36
|
+
raise
|
25
37
|
end
|
26
38
|
|
27
39
|
def wtf_test
|
@@ -84,9 +96,33 @@ class ServerTest < Minitest::Test
|
|
84
96
|
assert_run "fail", ["fail"], 1
|
85
97
|
end
|
86
98
|
|
99
|
+
FILE = __FILE__.delete_prefix "#{Dir.pwd}/"
|
100
|
+
|
87
101
|
def test_error
|
88
|
-
msg =
|
89
|
-
|
102
|
+
msg = <<~EOM.chomp
|
103
|
+
RuntimeError: error
|
104
|
+
#{FILE}:21:in `error_test'
|
105
|
+
EOM
|
106
|
+
|
107
|
+
assert_run "error", [msg], 0
|
108
|
+
end
|
109
|
+
|
110
|
+
def test_error_unmarshalable__ivar
|
111
|
+
msg = <<~EOM.chomp
|
112
|
+
RuntimeError: error
|
113
|
+
#{FILE}:25:in `unmarshalable_ivar_test'
|
114
|
+
EOM
|
115
|
+
|
116
|
+
assert_run "unmarshalable_ivar", [msg], 0
|
117
|
+
end
|
118
|
+
|
119
|
+
def test_error_unmarshalable__class
|
120
|
+
msg = <<~EOM.chomp
|
121
|
+
RuntimeError: Neutered Exception #<Class:0xXXXXXX>: error
|
122
|
+
#{FILE}:33:in `unmarshalable_class_test'
|
123
|
+
EOM
|
124
|
+
|
125
|
+
assert_run "unmarshalable_class", [msg], 0
|
90
126
|
end
|
91
127
|
|
92
128
|
def test_wtf
|
@@ -98,6 +134,8 @@ class ServerTest < Minitest::Test
|
|
98
134
|
act[-1] = 0 # time
|
99
135
|
act[-3].map!(&:message)
|
100
136
|
|
137
|
+
act[-3][0].gsub!(/0x\h+/, "0xXXXXXX") if act[-3][0]
|
138
|
+
|
101
139
|
exp = ["test/minitest/test_server.rb", "BogoTests", "#{type}_test", e, n, 0]
|
102
140
|
|
103
141
|
assert_equal exp, act
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTI0MDEwMjIxMjEyM1oXDTI1MDEwMTIxMjEyM1owRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +22,14 @@ cert_chain:
|
|
22
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
AQCygvpmncmkiSs9r/Kceo4bBPDszhTv6iBi4LwMReqnFrpNLMOWJw7xi8x+3eL2
|
26
|
+
XS09ZPNOt2zm70KmFouBMgOysnDY4k2dE8uF6B8JbZOO8QfalW+CoNBliefOTcn2
|
27
|
+
bg5IOP7UoGM5lC174/cbDJrJnRG9bzig5FAP0mvsgA8zgTRXQzIUAZEo92D5K7p4
|
28
|
+
B4/O998ho6BSOgYBI9Yk1ttdCtti6Y+8N9+fZESsjtWMykA+WXWeGUScHqiU+gH8
|
29
|
+
S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
|
30
|
+
deKfBjgVAq7EYHu1AczzlUly
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -37,14 +37,28 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '5.
|
40
|
+
version: '5.16'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
47
|
+
version: '5.16'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: drb
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
48
62
|
- !ruby/object:Gem::Dependency
|
49
63
|
name: rdoc
|
50
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,14 +85,14 @@ dependencies:
|
|
71
85
|
requirements:
|
72
86
|
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
88
|
+
version: '4.2'
|
75
89
|
type: :development
|
76
90
|
prerelease: false
|
77
91
|
version_requirements: !ruby/object:Gem::Requirement
|
78
92
|
requirements:
|
79
93
|
- - "~>"
|
80
94
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
95
|
+
version: '4.2'
|
82
96
|
description: |-
|
83
97
|
minitest-server provides a client/server setup with your minitest
|
84
98
|
process, allowing your test run to send its results directly to a
|
@@ -105,7 +119,7 @@ licenses:
|
|
105
119
|
- MIT
|
106
120
|
metadata:
|
107
121
|
homepage_uri: https://github.com/seattlerb/minitest-server
|
108
|
-
post_install_message:
|
122
|
+
post_install_message:
|
109
123
|
rdoc_options:
|
110
124
|
- "--main"
|
111
125
|
- README.rdoc
|
@@ -122,8 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
136
|
- !ruby/object:Gem::Version
|
123
137
|
version: '0'
|
124
138
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
126
|
-
signing_key:
|
139
|
+
rubygems_version: 3.5.3
|
140
|
+
signing_key:
|
127
141
|
specification_version: 4
|
128
142
|
summary: minitest-server provides a client/server setup with your minitest process,
|
129
143
|
allowing your test run to send its results directly to a handler.
|
metadata.gz.sig
CHANGED
Binary file
|