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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e1a9270818b97f066155d41333ae6ff60e9921e8df585b8de42ca900bd55c3d
4
- data.tar.gz: d527a46638b542c81ec2e8f04c93827738fc5d08c6b9b47c8bddcf6f4295a0b8
3
+ metadata.gz: a547e0c7da3591c41ca9e0880dd0ebe830d72674910e2b1eef91624fe56bb64b
4
+ data.tar.gz: c2fff216878a96d2b39b6a3b98f38b9d5cd13c78a0a5ec2c8b77e9195a0d52f2
5
5
  SHA512:
6
- metadata.gz: 01dfef205d11d291a23f4dae49f1c15fa815d7cfda883effdede3c4adaa79df235afa069308f7319de210d1bf32092844b5eb76f768d3d36661bd8d6cd3a3fb3
7
- data.tar.gz: e6b9fccd7a1b98320b12dd1f02d1888812749acd5e4f72f9162b17bdccaed00ee7780f55bbc012f615d1e8d894877f6d814964bd728015e8f40b99044873e0bd
6
+ metadata.gz: 7431141107f3d8e6edd7ee8199e59e1b38489efa346e6636e017e5700397db46aa97b4d73ff7cb463b3e7cce5d730c93370dcd6a99976f729d1f8a9ea011c494
7
+ data.tar.gz: d18c7b165134cbd0e0f9d4d5878baa6c4f76a83c5fad6e448d79d0782e33f7b54a7472f16f668fdf912a8707cc4ad666726d020d352758ed74cbd4c57af2ee88
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.0.7 / 2022-12-17
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Bumped to minitest ~> 5.16 to get improved marshal handling.
6
+
1
7
  === 1.0.6 / 2019-12-14
2
8
 
3
9
  * 1 bug fix:
@@ -40,4 +46,3 @@
40
46
  * 1 major enhancement
41
47
 
42
48
  * Birthday!
43
-
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ Hoe.spec "minitest-server" do
11
11
  developer "Ryan Davis", "ryand-ruby@zenspider.com"
12
12
  license "MIT"
13
13
 
14
- dependency "minitest", "~> 5.0"
14
+ dependency "minitest", "~> 5.16"
15
15
  end
16
16
 
17
17
  # vim: syntax=ruby
@@ -3,7 +3,7 @@ require "tmpdir"
3
3
  require "minitest"
4
4
 
5
5
  class Minitest::Server
6
- VERSION = "1.0.6"
6
+ VERSION = "1.0.7"
7
7
 
8
8
  TOPDIR = Dir.pwd + "/"
9
9
 
@@ -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 # TODO: what is this for?
24
- raise e
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 = ["RuntimeError: error\n #{__FILE__}:21:in `error_test'"]
89
- assert_run "error", msg, 0
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.6
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
- MIIDPjCCAiagAwIBAgIBBDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE5MTIxMzAwMDIwNFoXDTIwMTIxMjAwMDIwNFowRTETMBEGA1UE
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
- AQCkkcHqAa6IKLYGl93rn78J3L+LnqyxaA059n4IGMHWN5bv9KBQnIjOrpLadtYZ
26
- vhWkunWDKdfVapBEq5+T4HzqnsEXC3aCv6JEKJY6Zw7iSzl0M8hozuzRr+w46wvT
27
- fV2yTN6QTVxqbMsJJyjosks4ZdQYov2zdvQpt1HsLi+Qmckmg8SPZsd+T8uiiBCf
28
- b+1ORSM5eEfBQenPXy83LZcoQz8i6zVB4aAfTGGdhxjoMGUEmSZ6xpkOzmnGa9QK
29
- m5x9IDiApM+vCELNwDXXGNFEnQBBK+wAe4Pek8o1V1TTOxL1kGPewVOitX1p3xoN
30
- h7iEjga8iM1LbZUfiISZ+WrB
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: 2019-12-14 00:00:00.000000000 Z
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.0'
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.0'
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: '3.20'
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: '3.20'
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.0.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