minitest-bacon 1.0.2 → 1.0.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.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/minitest/bacon.rb +4 -4
- data/test/minitest/test_bacon.rb +2 -2
- data/test/minitest/test_should.rb +1 -1
- metadata +15 -19
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e201749cb72c07369963923c8b4bc7fa72fea61
|
4
|
+
data.tar.gz: 472a4045616027564e29aa2554a8c3e46dad872c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3a35d3c98499d3afc3ada7e44f7e0310d4aedf261e3574cf2ffc326415c55eee89f85f5342b978f47548e88dcb5f495ea8e6c3cc63cc7ded864d048c6c86801
|
7
|
+
data.tar.gz: 108aa0db1545855b982cb1ab1c308d2a943680cd2a08dcb9872d92df121e8323ae77096570593d2ea8a735ddce5f22d1365dc33fd003fd70768174cccd95a884
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/minitest/bacon.rb
CHANGED
@@ -5,11 +5,11 @@ require "minitest/autorun"
|
|
5
5
|
|
6
6
|
module Minitest
|
7
7
|
def self.poke
|
8
|
-
|
8
|
+
Minitest::Spec.current.assertions += 1
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.count
|
12
|
-
|
12
|
+
Minitest::Spec.current.assertions
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -29,7 +29,7 @@ class Minitest::Assertion
|
|
29
29
|
end
|
30
30
|
|
31
31
|
class Minitest::ValueMonad
|
32
|
-
VERSION = "1.0.
|
32
|
+
VERSION = "1.0.3"
|
33
33
|
|
34
34
|
instance_methods.each { |name| undef_method name if name =~ /\?|^\W+$/ }
|
35
35
|
|
@@ -70,7 +70,7 @@ class Minitest::ValueMonad
|
|
70
70
|
|
71
71
|
Minitest.poke
|
72
72
|
msg ||= "boom"
|
73
|
-
raise
|
73
|
+
raise Minitest::Assertion, msg if @pos ^ r
|
74
74
|
|
75
75
|
r
|
76
76
|
end
|
data/test/minitest/test_bacon.rb
CHANGED
@@ -8,14 +8,14 @@ end
|
|
8
8
|
module MetaTests
|
9
9
|
def succeed
|
10
10
|
lambda { |block|
|
11
|
-
block.should.not.raise
|
11
|
+
block.should.not.raise Minitest::Assertion
|
12
12
|
true
|
13
13
|
}
|
14
14
|
end
|
15
15
|
|
16
16
|
def fail
|
17
17
|
lambda { |block|
|
18
|
-
block.should.raise
|
18
|
+
block.should.raise Minitest::Assertion
|
19
19
|
true
|
20
20
|
}
|
21
21
|
end
|
@@ -12,7 +12,7 @@ describe "#should shortcut for #it" do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
should "save characters even on failure" do
|
15
|
-
lambda { should.assert { 1 == 2 } }.should.raise
|
15
|
+
lambda { should.assert { 1 == 2 } }.should.raise Minitest::Assertion
|
16
16
|
end
|
17
17
|
|
18
18
|
should "work nested" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-bacon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.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
|
+
MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|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----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -65,14 +65,14 @@ dependencies:
|
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.15'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.15'
|
76
76
|
description: |-
|
77
77
|
minitest-bacon extends minitest with bacon-like functionality. It
|
78
78
|
should allow you to bridge 90+% of your bacon specs over to minitest.
|
@@ -86,7 +86,6 @@ extra_rdoc_files:
|
|
86
86
|
- README.txt
|
87
87
|
files:
|
88
88
|
- .autotest
|
89
|
-
- .gemtest
|
90
89
|
- History.txt
|
91
90
|
- Manifest.txt
|
92
91
|
- README.txt
|
@@ -116,12 +115,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
115
|
- !ruby/object:Gem::Version
|
117
116
|
version: '0'
|
118
117
|
requirements: []
|
119
|
-
rubyforge_project:
|
120
|
-
rubygems_version: 2.
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 2.4.5
|
121
120
|
signing_key:
|
122
121
|
specification_version: 4
|
123
122
|
summary: minitest-bacon extends minitest with bacon-like functionality
|
124
|
-
test_files:
|
125
|
-
- test/minitest/test_bacon.rb
|
126
|
-
- test/minitest/test_nontrue.rb
|
127
|
-
- test/minitest/test_should.rb
|
123
|
+
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
data/.gemtest
DELETED
File without changes
|