minitest-trump 1.0.0 → 3.0.0

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: 2aba5016c6d5493d3997b44684fb4c64294140e6f2d985252822a3e6825e0333
4
+ data.tar.gz: c2b23c35f60a4ba5bf7cec8e7c060d315c53df41b099d2722c681e7d9d832526
5
5
  SHA512:
6
- metadata.gz: 80fbe7c0f54cf0677ba421fd3af78e0c4f47969ee56f8afc1192102efca8be80bf4229e4f0ba001abf8259f89ca75add61a7b1da054e3cf49bbdfc3c60ba7065
7
- data.tar.gz: 33c1fb9fb9e8da3f1dfd41148687c86d1fa4684c61473a19eac59773fff5424abd3ec27f67c0edb324cc5e330779349d3bbfa8952f63f2d660d9f71c78a36fb5
6
+ metadata.gz: b6a1bf9ba5c54f6116e603989430d1fd64722676dbe3fa1de31efe37a64b4ef76467cf47d2360cea93feb8add9d28418584cc6cf71da54ebd14c29d437522587
7
+ data.tar.gz: d1e44273923603c87bb070bce84fbc1250f02d7a990233dc7df8550a096ed088ec0769a0a38d141e9a687bd1d2601d1b92687ca979f65efe54f1c2c80b7d4627
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 3.0.0 / 2019-06-06
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Skip -> Golfing (patientdev)
6
+
1
7
  === 1.0.0 / 2017-02-13
2
8
 
3
9
  * 1 major enhancement
@@ -6,12 +6,13 @@ rdoc :: http://docs.seattlerb.org/minitest-trump
6
6
  == DESCRIPTION:
7
7
 
8
8
  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.
9
+ failures into fake news and errors into alt-facts, or golf.
10
10
 
11
11
  == FEATURES/PROBLEMS:
12
12
 
13
13
  * Turns failures into Fake News.
14
14
  * Turns errors into Alt-Facts.
15
+ * Turns skips into Golf.
15
16
  * May alter your perception of reality, and not for the better.
16
17
 
17
18
  == 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.0"
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
metadata CHANGED
@@ -1,7 +1,7 @@
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.0
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
- MIIDijCCAnKgAwIBAgIBATANBgkqhkiG9w0BAQUFAD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RHnvC
28
- l2tj/fD3YJ0AEkJxGrYwRWQmvMfC4bJ02bC1+rVOUIXXKp3+cUmiN4sTniof8VFo
29
- bo/YYP4c7erpERa+9hrqygg6WQbJlk2YRlH3JXPFjmu869i2dcbR5ZLOAeEy+axH
30
- E4oJcnPkJAr0rw504JGtlZtONZQblwmRJOIdXzolaE3NRGUzGVOUSptZppAKiavY
31
- fO6tdKQc/5RfA8oQEkg8hrxA5PQSz4TOFJGLpFvIapEk6tMruQ0bHgkhr9auXg==
23
+ gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
25
+ AQCbJwLmpJR2PomLU+Zzw3KRzH/hbyUWc/ftru71AopZ1fy4iY9J/BW5QYKVYwbP
26
+ V0FSBWtvfI/RdwfKGtuGhPKECZgmLieGuZ3XCc09qPu1bdg7i/tu1p0t0c6163ku
27
+ nDMDIC/t/DAFK0TY9I3HswuyZGbLW7rgF0DmiuZdN/RPhHq2pOLMLXJmFclCb/im
28
+ 9yToml/06TJdUJ5p64mkBs0TzaK66DIB1Smd3PdtfZqoRV+EwaXMdx0Hb3zdR1JR
29
+ Em82dBUFsipwMLCYj39kcyHWAxyl6Ae1Cn9r/ItVBCxoeFdrHjfavnrIEoXUt4bU
30
+ UfBugfLD19bu3nvL+zTAGx/U
32
31
  -----END CERTIFICATE-----
33
- date: 2017-02-14 00:00:00.000000000 Z
32
+ date: 2019-06-06 00:00:00.000000000 Z
34
33
  dependencies:
35
34
  - !ruby/object:Gem::Dependency
36
35
  name: minitest
@@ -50,33 +49,39 @@ 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: '3.18'
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: '3.18'
77
82
  description: |-
78
83
  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.
84
+ failures into fake news and errors into alt-facts, or golf.
80
85
  email:
81
86
  - ryand-ruby@zenspider.com
82
87
  executables: []
@@ -114,10 +119,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
119
  - !ruby/object:Gem::Version
115
120
  version: '0'
116
121
  requirements: []
117
- rubyforge_project:
118
- rubygems_version: 2.6.8
122
+ rubygems_version: 3.0.3
119
123
  signing_key:
120
124
  specification_version: 4
121
125
  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.
126
+ into fake news and errors into alt-facts, or golf.
123
127
  test_files: []
metadata.gz.sig CHANGED
Binary file