minitest 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/minitest/unit.rb +5 -3
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/minitest/unit.rb
CHANGED
@@ -313,7 +313,7 @@ module MiniTest
|
|
313
313
|
end
|
314
314
|
|
315
315
|
class Unit
|
316
|
-
VERSION = "1.4.
|
316
|
+
VERSION = "1.4.2"
|
317
317
|
|
318
318
|
attr_accessor :report, :failures, :errors, :skips
|
319
319
|
attr_accessor :test_count, :assertion_count
|
@@ -436,12 +436,14 @@ module MiniTest
|
|
436
436
|
PASSTHROUGH_EXCEPTIONS = [NoMemoryError, SignalException, Interrupt,
|
437
437
|
SystemExit]
|
438
438
|
|
439
|
+
SUPPORTS_INFO_SIGNAL = Signal.list['INFO']
|
440
|
+
|
439
441
|
def run runner
|
440
442
|
trap 'INFO' do
|
441
443
|
warn '%s#%s %.2fs' % [self.class, self.__name__,
|
442
444
|
(Time.now - runner.start_time)]
|
443
445
|
runner.status $stderr
|
444
|
-
end
|
446
|
+
end if SUPPORTS_INFO_SIGNAL
|
445
447
|
|
446
448
|
result = '.'
|
447
449
|
begin
|
@@ -462,7 +464,7 @@ module MiniTest
|
|
462
464
|
rescue Exception => e
|
463
465
|
result = runner.puke(self.class, self.__name__, e)
|
464
466
|
end
|
465
|
-
trap 'INFO', 'DEFAULT'
|
467
|
+
trap 'INFO', 'DEFAULT' if SUPPORTS_INFO_SIGNAL
|
466
468
|
end
|
467
469
|
result
|
468
470
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
FBHgymkyj/AOSqKRIpXPhjC6
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date: 2009-06-
|
33
|
+
date: 2009-06-25 00:00:00 -07:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 2.3.
|
44
|
+
version: 2.3.1
|
45
45
|
version:
|
46
46
|
description: |-
|
47
47
|
minitest/unit is a small and fast replacement for ruby's huge and slow
|
metadata.gz.sig
CHANGED
Binary file
|