minitest-bacon 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/minitest/bacon.rb +2 -2
- data/test/minitest/test_bacon.rb +4 -2
- data.tar.gz.sig +0 -0
- metadata +11 -14
- 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: 998c3bccbbb923478d309e16781f55ae347c93c25aac4fbece57c1938af909cf
|
4
|
+
data.tar.gz: cabdd6ab724a49b598cf97734c30b25b58e022b6038e2a4463bd93e2bd2e6255
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ce94114a0a02649b89c453ad24d22972fd9477898fb67081f5c2c903bf3caad8d5bc9ef305d880c5f45177056a8a38eb8863b9eebd8792135e1f5b934d65e12
|
7
|
+
data.tar.gz: bf52a9388291d145abeaf60dda19ce0e314993ed791b5a795c24710a76f2025ba34c1192d89cda97ac93b22b5ff9d60ac88c042f5ab81a6e99039de452c4ab99
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/minitest/bacon.rb
CHANGED
@@ -21,7 +21,7 @@ class Minitest::Assertion
|
|
21
21
|
def location # :nodoc:
|
22
22
|
last_before_assertion = ""
|
23
23
|
self.backtrace.reverse_each do |s|
|
24
|
-
break if s
|
24
|
+
break if s.match?(/in [`'](?:[^']+[#.])?(?:method_missing|assert|refute|flunk|pass|fail|raise|must|wont)/) # :nodoc:
|
25
25
|
last_before_assertion = s
|
26
26
|
end
|
27
27
|
last_before_assertion.sub(/:in .*$/, "")
|
@@ -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.5"
|
33
33
|
|
34
34
|
instance_methods.each { |name| undef_method name if name =~ /\?|^\W+$/ }
|
35
35
|
|
data/test/minitest/test_bacon.rb
CHANGED
@@ -218,10 +218,12 @@ describe "Bacon" do
|
|
218
218
|
|
219
219
|
it "should have should.be.identical_to/same_as" do
|
220
220
|
lambda { s = "string"; s.should.be.identical_to s }.should succeed
|
221
|
-
|
221
|
+
|
222
|
+
froze = "string".frozen?
|
223
|
+
lambda { "string".should.be.identical_to "string" }.should fail unless froze
|
222
224
|
|
223
225
|
lambda { s = "string"; s.should.be.same_as s }.should succeed
|
224
|
-
lambda { "string".should.be.same_as "string" }.should fail
|
226
|
+
lambda { "string".should.be.same_as "string" }.should fail unless froze
|
225
227
|
end
|
226
228
|
|
227
229
|
it "should have should.respond_to" do
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,17 @@
|
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain:
|
11
10
|
- |
|
12
11
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
12
|
+
MIIDPjCCAiagAwIBAgIBCTANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
13
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
14
|
+
GRYDY29tMB4XDTI1MDEwNjIzMjcwMVoXDTI2MDEwNjIzMjcwMVowRTETMBEGA1UE
|
16
15
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
16
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
17
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +21,14 @@ cert_chain:
|
|
22
21
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
22
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
23
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
24
|
+
AQAC0WQJcPOWPFwkojhzweilRVjTJ19UiLhiBTw3C1wJO3LVdBkWDmnnhAmKuX4D
|
25
|
+
r7vjQvESlABGIPdutI1Yl7mrHQzTkfLfXvNN6MT0nLChPyIYauT6SZZxubwJrUfA
|
26
|
+
7R0c2CJTIboZ0XaGpLsXqHEF1c29H7TV1QvVuqKAN2mCjh4N82QVn+ZKtys28AwT
|
27
|
+
6GfQX2fqLoi4KSc7xIzHKaNzqxeOICmJofk9w5VZ2rRN6yes8jvFYwz9HR41wdj8
|
28
|
+
bwfinv7Yp5fA6AysuZLhCykyfDuZVRrUp0Vb68YCKsLjJly/Theak+euNTxvHsB+
|
29
|
+
al9oSgPPHICMEX65qvLywitx
|
31
30
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
31
|
+
date: 2025-01-10 00:00:00.000000000 Z
|
33
32
|
dependencies:
|
34
33
|
- !ruby/object:Gem::Dependency
|
35
34
|
name: minitest
|
@@ -105,7 +104,6 @@ licenses:
|
|
105
104
|
- MIT
|
106
105
|
metadata:
|
107
106
|
homepage_uri: https://github.com/seattlerb/minitest-bacon
|
108
|
-
post_install_message:
|
109
107
|
rdoc_options:
|
110
108
|
- "--main"
|
111
109
|
- README.txt
|
@@ -122,8 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
120
|
- !ruby/object:Gem::Version
|
123
121
|
version: '0'
|
124
122
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
126
|
-
signing_key:
|
123
|
+
rubygems_version: 3.6.2
|
127
124
|
specification_version: 4
|
128
125
|
summary: minitest-bacon extends minitest with bacon-like functionality
|
129
126
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|