minitest-trump 1.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 39e8bacd2cccb2d50f2e7667582aab13a05feaff
4
- data.tar.gz: 966881371c6421e0ab6729c9f0d2338fe9850d49
2
+ SHA256:
3
+ metadata.gz: 141ae2e0c0f5ef6bed324eaf6716df47187bc5a410c6277fb2470697961d3eaf
4
+ data.tar.gz: ac8481238ae79ebb57d05d76b59461c55be0061a65550af83d63a44a898488f8
5
5
  SHA512:
6
- metadata.gz: 80fbe7c0f54cf0677ba421fd3af78e0c4f47969ee56f8afc1192102efca8be80bf4229e4f0ba001abf8259f89ca75add61a7b1da054e3cf49bbdfc3c60ba7065
7
- data.tar.gz: 33c1fb9fb9e8da3f1dfd41148687c86d1fa4684c61473a19eac59773fff5424abd3ec27f67c0edb324cc5e330779349d3bbfa8952f63f2d660d9f71c78a36fb5
6
+ metadata.gz: 9b32a2e3296493c3e553bfd7a7c395602e6bd60c13f23f68d25aa2370ad57595f392b808889ecde98645c97d8eba30ce5090ded5ce1ec8490a28791a647c5e0b
7
+ data.tar.gz: 051333eb956917a690e12bb213c4fc7d698628de4b2d4bafd6f9b66102da8cefdf6d4cc801e9c6ea1cb67fe1098dc65e0f1229d8c747d5cb56e03202b4846a14
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,6 +1,23 @@
1
+ FUCK: this project, like that infamous administration, might not be EOL'd.
2
+
3
+ Shall we start a betting pool?
4
+
5
+ === 3.0.1 / 2023-09-27
6
+
7
+ * 1 bug fix:
8
+
9
+ * Fixed bad reference to MiniTest. HAH!
10
+
11
+ NOTE: this project, like that infamous administration, is EOL'd.
12
+
13
+ === 3.0.0 / 2019-06-06
14
+
15
+ * 1 minor enhancement:
16
+
17
+ * Skip -> Golfing (patientdev)
18
+
1
19
  === 1.0.0 / 2017-02-13
2
20
 
3
21
  * 1 major enhancement
4
22
 
5
23
  * Birthday!
6
-
data/README.rdoc CHANGED
@@ -5,13 +5,16 @@ rdoc :: http://docs.seattlerb.org/minitest-trump
5
5
 
6
6
  == DESCRIPTION:
7
7
 
8
+ NOTE: this project, like that infamous administration, is EOL'd.
9
+
8
10
  For when the reality of your tests is just too much to bear, turn your
9
- failures into fake news and errors into alt-facts.
11
+ failures into fake news and errors into alt-facts, or golf.
10
12
 
11
13
  == FEATURES/PROBLEMS:
12
14
 
13
15
  * Turns failures into Fake News.
14
16
  * Turns errors into Alt-Facts.
17
+ * Turns skips into Golf.
15
18
  * May alter your perception of reality, and not for the better.
16
19
 
17
20
  == SYNOPSIS:
@@ -2,7 +2,7 @@ require "minitest"
2
2
 
3
3
  module Minitest
4
4
  class Trump
5
- VERSION = "1.0.0"
5
+ VERSION = "3.0.1"
6
6
  end
7
7
 
8
8
  class Assertion
@@ -12,6 +12,17 @@ module Minitest
12
12
  end
13
13
  end
14
14
 
15
+ class Skip
16
+ def result_code
17
+ "GOLF"
18
+ end
19
+
20
+ alias old_result_label result_label
21
+ def result_label
22
+ "Golfing"
23
+ end
24
+ end
25
+
15
26
  class UnexpectedError
16
27
  alias old_result_label result_label
17
28
  def result_label
@@ -4,6 +4,13 @@ require "minitest/trump"
4
4
  module TestMinitest; end
5
5
 
6
6
  class TestMinitest::TestTrump < Minitest::Test
7
+ def test_golf_swing
8
+ skip "Responsibility"
9
+ rescue ::Minitest::Skip => e
10
+ assert_equal "Golfing", e.result_label
11
+ assert_equal "GOLF", e.result_code
12
+ end
13
+
7
14
  def test_sanity_failure
8
15
  assert_equal 1, 2
9
16
  rescue Minitest::Assertion => e
@@ -18,6 +25,10 @@ class TestMinitest::TestTrump < Minitest::Test
18
25
  end
19
26
 
20
27
  if ENV["ALL"] then
28
+ def test_golf_swing
29
+ skip "Responsibility"
30
+ end
31
+
21
32
  def test_show_failure
22
33
  assert_equal 1, 2
23
34
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-trump
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 3.0.1
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
- MIIDijCCAnKgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBBzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE2MDkyNjAxNTczNVoXDTE3MDkyNjAxNTczNVowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTIzMDEwMTA3NTExN1oXDTI0MDEwMTA3NTExN1owRTETMBEGA1UE
16
16
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
17
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
18
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -20,17 +20,16 @@ cert_chain:
20
20
  oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
21
21
  GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
22
  qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
- gBEfoTEGr7Zii72cx+sCAwEAAaOBhDCBgTAJBgNVHRMEAj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iCG97a6DNm+Fr
32
31
  -----END CERTIFICATE-----
33
- date: 2017-02-14 00:00:00.000000000 Z
32
+ date: 2023-09-27 00:00:00.000000000 Z
34
33
  dependencies:
35
34
  - !ruby/object:Gem::Dependency
36
35
  name: minitest
@@ -50,33 +49,41 @@ dependencies:
50
49
  name: rdoc
51
50
  requirement: !ruby/object:Gem::Requirement
52
51
  requirements:
53
- - - "~>"
52
+ - - ">="
54
53
  - !ruby/object:Gem::Version
55
54
  version: '4.0'
55
+ - - "<"
56
+ - !ruby/object:Gem::Version
57
+ version: '7'
56
58
  type: :development
57
59
  prerelease: false
58
60
  version_requirements: !ruby/object:Gem::Requirement
59
61
  requirements:
60
- - - "~>"
62
+ - - ">="
61
63
  - !ruby/object:Gem::Version
62
64
  version: '4.0'
65
+ - - "<"
66
+ - !ruby/object:Gem::Version
67
+ version: '7'
63
68
  - !ruby/object:Gem::Dependency
64
69
  name: hoe
65
70
  requirement: !ruby/object:Gem::Requirement
66
71
  requirements:
67
72
  - - "~>"
68
73
  - !ruby/object:Gem::Version
69
- version: '3.16'
74
+ version: '4.0'
70
75
  type: :development
71
76
  prerelease: false
72
77
  version_requirements: !ruby/object:Gem::Requirement
73
78
  requirements:
74
79
  - - "~>"
75
80
  - !ruby/object:Gem::Version
76
- version: '3.16'
81
+ version: '4.0'
77
82
  description: |-
83
+ NOTE: this project, like that infamous administration, is EOL'd.
84
+
78
85
  For when the reality of your tests is just too much to bear, turn your
79
- failures into fake news and errors into alt-facts.
86
+ failures into fake news and errors into alt-facts, or golf.
80
87
  email:
81
88
  - ryand-ruby@zenspider.com
82
89
  executables: []
@@ -96,8 +103,9 @@ files:
96
103
  homepage: https://github.com/seattlerb/minitest-trump
97
104
  licenses:
98
105
  - MIT
99
- metadata: {}
100
- post_install_message:
106
+ metadata:
107
+ homepage_uri: https://github.com/seattlerb/minitest-trump
108
+ post_install_message:
101
109
  rdoc_options:
102
110
  - "--main"
103
111
  - README.rdoc
@@ -114,10 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
122
  - !ruby/object:Gem::Version
115
123
  version: '0'
116
124
  requirements: []
117
- rubyforge_project:
118
- rubygems_version: 2.6.8
119
- signing_key:
125
+ rubygems_version: 3.4.10
126
+ signing_key:
120
127
  specification_version: 4
121
- summary: For when the reality of your tests is just too much to bear, turn your failures
122
- into fake news and errors into alt-facts.
128
+ summary: 'NOTE: this project, like that infamous administration, is EOL''d'
123
129
  test_files: []
metadata.gz.sig CHANGED
Binary file