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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0048af79d6b4092f524263e2053f071567acce91
4
- data.tar.gz: c5f6a975e68e114a6e063d39109947a9fe5a5144
3
+ metadata.gz: 848feb6c9e853e8ca2de4f81e1737ec1c2f5387d
4
+ data.tar.gz: a9319b6e6fb835194b5705d2e92522c06dc77a02
5
5
  SHA512:
6
- metadata.gz: d4b0dc4788ab7971f9f82657adde0739918002ef9554f587899ddc6cb61f6a5214d351080cd9ef421385a4620a0986006d02d2f6df317274e59a281479cb04ba
7
- data.tar.gz: 060c73fc484cf6a17969f9fcfb740903c9ed02096a883eeb827a662e636a6a1e82e126eb2fd06b9499cc4539d2bd5d3f94c1ddbb1e467d1878ecdff734758853
6
+ metadata.gz: bbf593ccf24240bb03e550cb55854f5f2a9d3e80cf01ce7de7d8648e85bc55b729ca6da47bea66925355aa44c0ea5239023ead8432dbcfed59d4fedc819a1336
7
+ data.tar.gz: aa39a21ed1df14d3e2c76f3dd9c9e294286ab3ea7ca0f363f417fee150fabc2e900a2d582d377d025974c7836901ee7206c97197129d68534bf26c65054620eb
data/Readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  Minitest + all the features you always wanted.
2
2
 
3
- ![Failure](https://dl.dropboxusercontent.com/u/2670385/Web/maxitest-failure.png)
3
+ ![Failure](assets/failure.png?raw=true)
4
4
 
5
5
  Features
6
6
  ========
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
- self.failures = [Minitest::Skip.new("Maxitest::Interrupted")]
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
@@ -1,3 +1,3 @@
1
1
  module Maxitest
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
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.0
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: 2016-12-09 00:00:00.000000000 Z
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.11.0
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.11.0
32
+ version: 5.12.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bump
35
35
  requirement: !ruby/object:Gem::Requirement