maxitest 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +1 -1
- data/lib/maxitest/trap.rb +8 -1
- data/lib/maxitest/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 848feb6c9e853e8ca2de4f81e1737ec1c2f5387d
|
4
|
+
data.tar.gz: a9319b6e6fb835194b5705d2e92522c06dc77a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf593ccf24240bb03e550cb55854f5f2a9d3e80cf01ce7de7d8648e85bc55b729ca6da47bea66925355aa44c0ea5239023ead8432dbcfed59d4fedc819a1336
|
7
|
+
data.tar.gz: aa39a21ed1df14d3e2c76f3dd9c9e294286ab3ea7ca0f363f417fee150fabc2e900a2d582d377d025974c7836901ee7206c97197129d68534bf26c65054620eb
|
data/Readme.md
CHANGED
data/lib/maxitest/trap.rb
CHANGED
@@ -10,7 +10,14 @@ Minitest::Test.class_eval do
|
|
10
10
|
alias_method :run_without_stop, :run
|
11
11
|
def run
|
12
12
|
if Maxitest.interrupted
|
13
|
-
|
13
|
+
# only things with class `Minitest::Skip` get counted as skips
|
14
|
+
# we need to raise and capture to get a skip with a backtrace
|
15
|
+
skip = begin
|
16
|
+
raise Minitest::Skip, "Maxitest::Interrupted"
|
17
|
+
rescue Minitest::Skip
|
18
|
+
$!
|
19
|
+
end
|
20
|
+
self.failures = [skip]
|
14
21
|
self
|
15
22
|
else
|
16
23
|
run_without_stop
|
data/lib/maxitest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maxitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 5.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 5.
|
22
|
+
version: 5.12.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 5.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 5.
|
32
|
+
version: 5.12.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bump
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|