minitest-server 1.0.6 → 1.0.7
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 +6 -1
- data/Rakefile +1 -1
- data/lib/minitest/server.rb +1 -1
- data/test/minitest/test_server.rb +40 -4
- data.tar.gz.sig +0 -0
- metadata +18 -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: a547e0c7da3591c41ca9e0880dd0ebe830d72674910e2b1eef91624fe56bb64b
|
4
|
+
data.tar.gz: c2fff216878a96d2b39b6a3b98f38b9d5cd13c78a0a5ec2c8b77e9195a0d52f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7431141107f3d8e6edd7ee8199e59e1b38489efa346e6636e017e5700397db46aa97b4d73ff7cb463b3e7cce5d730c93370dcd6a99976f729d1f8a9ea011c494
|
7
|
+
data.tar.gz: d18c7b165134cbd0e0f9d4d5878baa6c4f76a83c5fad6e448d79d0782e33f7b54a7472f16f668fdf912a8707cc4ad666726d020d352758ed74cbd4c57af2ee88
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
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
|
@@ -85,8 +97,30 @@ class ServerTest < Minitest::Test
|
|
85
97
|
end
|
86
98
|
|
87
99
|
def test_error
|
88
|
-
msg =
|
89
|
-
|
100
|
+
msg = <<~EOM.chomp
|
101
|
+
RuntimeError: error
|
102
|
+
#{__FILE__}:21:in `error_test'
|
103
|
+
EOM
|
104
|
+
|
105
|
+
assert_run "error", [msg], 0
|
106
|
+
end
|
107
|
+
|
108
|
+
def test_error_unmarshalable__ivar
|
109
|
+
msg = <<~EOM.chomp
|
110
|
+
RuntimeError: error
|
111
|
+
#{__FILE__}:25:in `unmarshalable_ivar_test'
|
112
|
+
EOM
|
113
|
+
|
114
|
+
assert_run "unmarshalable_ivar", [msg], 0
|
115
|
+
end
|
116
|
+
|
117
|
+
def test_error_unmarshalable__class
|
118
|
+
msg = <<~EOM.chomp
|
119
|
+
RuntimeError: Neutered Exception #<Class:0xXXXXXX>: error
|
120
|
+
#{__FILE__}:33:in `unmarshalable_class_test'
|
121
|
+
EOM
|
122
|
+
|
123
|
+
assert_run "unmarshalable_class", [msg], 0
|
90
124
|
end
|
91
125
|
|
92
126
|
def test_wtf
|
@@ -98,6 +132,8 @@ class ServerTest < Minitest::Test
|
|
98
132
|
act[-1] = 0 # time
|
99
133
|
act[-3].map!(&:message)
|
100
134
|
|
135
|
+
act[-3][0].gsub!(/0x\h+/, "0xXXXXXX") if act[-3][0]
|
136
|
+
|
101
137
|
exp = ["test/minitest/test_server.rb", "BogoTests", "#{type}_test", e, n, 0]
|
102
138
|
|
103
139
|
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.7
|
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
|
+
MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyMzIzMTkwNFowRTETMBEGA1UE
|
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
|
+
AQCKB5jfsuSnKb+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq
|
26
|
+
x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh
|
27
|
+
zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7
|
28
|
+
lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB
|
29
|
+
JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
|
30
|
+
YsuyUzsMz6GQA4khyaMgKNSD
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2022-12-17 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -37,14 +37,14 @@ 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
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rdoc
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,14 +71,14 @@ dependencies:
|
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '4.0'
|
75
75
|
type: :development
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '4.0'
|
82
82
|
description: |-
|
83
83
|
minitest-server provides a client/server setup with your minitest
|
84
84
|
process, allowing your test run to send its results directly to a
|
@@ -105,7 +105,7 @@ licenses:
|
|
105
105
|
- MIT
|
106
106
|
metadata:
|
107
107
|
homepage_uri: https://github.com/seattlerb/minitest-server
|
108
|
-
post_install_message:
|
108
|
+
post_install_message:
|
109
109
|
rdoc_options:
|
110
110
|
- "--main"
|
111
111
|
- README.rdoc
|
@@ -122,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
126
|
-
signing_key:
|
125
|
+
rubygems_version: 3.3.12
|
126
|
+
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: minitest-server provides a client/server setup with your minitest process,
|
129
129
|
allowing your test run to send its results directly to a handler.
|
metadata.gz.sig
CHANGED
Binary file
|