minitest-allow 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +12 -0
- data/allow.yml +1 -0
- data/lib/minitest/allow_plugin.rb +5 -3
- data/test/minitest/test_allow_plugin.rb +5 -0
- data.tar.gz.sig +0 -0
- metadata +13 -13
- 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: a1c29b206389035fda8e3d62fc715684e1f6d17dc0f170c11a100817f373f430
|
4
|
+
data.tar.gz: a1d72cf7d9a5f40871dbac7ca564ce4e366d07661ae451c13396153ff013e15c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29c591dc1976f1bdde09fe5eccfde96ae8b9d4087332928876e21e932ad1f431f4993a0c634c6809c04f0209d85e28dc0d7ab115943884c92be5e8ecd6075241
|
7
|
+
data.tar.gz: 86186f9707105c65bfc24ff543d15c5fc889746e3f3aaafd0fca3ec088a351c17299add172e04fe89185c0c9000af416d3d80b537c38516c9516bf1c70fbee86
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
=== 1.2.3 / 2023-02-06
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
|
5
|
+
* Treat empty allow file (in yaml, nil) as empty array.
|
6
|
+
|
7
|
+
=== 1.2.2 / 2022-08-23
|
8
|
+
|
9
|
+
* 1 bug fix:
|
10
|
+
|
11
|
+
* Show skipped tests as good if they're listed in allow file.
|
12
|
+
|
1
13
|
=== 1.2.1 / 2022-07-01
|
2
14
|
|
3
15
|
* 1 bug fix:
|
data/allow.yml
CHANGED
@@ -10,7 +10,7 @@ module Minitest
|
|
10
10
|
Psych.safe_load_file f, permitted_classes: [Regexp]
|
11
11
|
else
|
12
12
|
Psych.load_file f
|
13
|
-
end
|
13
|
+
end || []
|
14
14
|
end
|
15
15
|
|
16
16
|
opts.on "-A", "--save-allow=path", String, "Save failing tests." do |f|
|
@@ -41,7 +41,7 @@ module Minitest
|
|
41
41
|
end
|
42
42
|
|
43
43
|
module Allow
|
44
|
-
VERSION = "1.2.
|
44
|
+
VERSION = "1.2.3"
|
45
45
|
|
46
46
|
attr_accessor :allow, :allow_save, :allow_seen
|
47
47
|
|
@@ -107,7 +107,9 @@ module Minitest
|
|
107
107
|
# if hit by regex, then we want to report it as "good" so
|
108
108
|
# the name gets removed from the allow list:
|
109
109
|
|
110
|
-
|
110
|
+
# the same goes for when the test is listed as bad but is now skipped:
|
111
|
+
|
112
|
+
hit[name] = true if by_name && !by_regx && !r.skipped?
|
111
113
|
|
112
114
|
by_name || by_regx
|
113
115
|
}
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-allow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBBzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTIzMDEwMTA3NTExN1oXDTI0MDEwMTA3NTExN1owRTETMBEGA1UE
|
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
|
+
AQAkg3y+PBnBAPWdxxITm5sPHqdWQgSyCpRA20o4LTuWr8BWhSXBkfQNa7cY6fOn
|
26
|
+
xyM34VPzBFbExv6XOGDfOMFBVaYTHuN9peC/5/umL7kLl+nflXzL2QA7K6LYj5Bg
|
27
|
+
sM574Onr0dZDM6Vn69bzQ7rBIFDfK/OhlPzqKZad4nsdcsVH8ODCiT+ATMIZyz5K
|
28
|
+
WCnNtqlyiWXI8tdTpahDgcUwfcN/oN7v4K8iU5IbLJX6HQ5DKgmKjfb6XyMth16k
|
29
|
+
ROfWo9Uyp8ba/j9eVG14KkYRaLydAY1MNQk2yd3R5CGfeOpD1kttxjoypoUJ2dOG
|
30
|
+
nsNBRuQJ1UfiCG97a6DNm+Fr
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -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
|
Allows you to provide an exclusion list of allowed failures/errors.
|
84
84
|
Failures and errors on this list still get run and reported as usual,
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
rubygems_version: 3.3
|
126
|
+
rubygems_version: 3.4.3
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Allows you to provide an exclusion list of allowed failures/errors
|
metadata.gz.sig
CHANGED
Binary file
|