minitest 5.4.2 → 5.4.3
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.tar.gz.sig +0 -0
- data/History.txt +7 -0
- data/README.txt +1 -1
- data/lib/minitest.rb +9 -3
- data/lib/minitest/parallel.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ffce3efb7c47f1d661b779ff6046b23e71c66eb
|
4
|
+
data.tar.gz: e0216e9d085bb54c5cc467ddcee65f564a545ec3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8a30ec16842681b9801e3866919b3355d19ce26a49dc53a4fe26e73166a413d2f006faf7363698266ef30be303fc51eb44e8dd266877bd4cfcbada3b0c9be65
|
7
|
+
data.tar.gz: 784f79313c0fc7f06f4b7bf2012deab2c6dfeebdc6ed9fb6c1d247b83b1ceb2c58ade6faa5b3e109dd5eb580c37c803dcb59005250fcd94afef8d71008997f28
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/lib/minitest.rb
CHANGED
@@ -7,7 +7,8 @@ require "minitest/parallel"
|
|
7
7
|
# :include: README.txt
|
8
8
|
|
9
9
|
module Minitest
|
10
|
-
VERSION = "5.4.
|
10
|
+
VERSION = "5.4.3" # :nodoc:
|
11
|
+
ENCS = "".respond_to? :encoding # :nodoc:
|
11
12
|
|
12
13
|
@@installed_at_exit ||= false
|
13
14
|
@@after_run = []
|
@@ -563,9 +564,14 @@ module Minitest
|
|
563
564
|
filtered_results = results.dup
|
564
565
|
filtered_results.reject!(&:skipped?) unless options[:verbose]
|
565
566
|
|
566
|
-
filtered_results.each_with_index.map
|
567
|
+
s = filtered_results.each_with_index.map { |result, i|
|
567
568
|
"\n%3d) %s" % [i+1, result]
|
568
|
-
|
569
|
+
}.join("\n") + "\n"
|
570
|
+
|
571
|
+
s.force_encoding(io.external_encoding) if
|
572
|
+
ENCS and io.external_encoding and s.encoding != io.external_encoding
|
573
|
+
|
574
|
+
s
|
569
575
|
end
|
570
576
|
|
571
577
|
alias to_s aggregated_results
|
data/lib/minitest/parallel.rb
CHANGED
@@ -8,7 +8,7 @@ module Minitest
|
|
8
8
|
@queue = Queue.new
|
9
9
|
@pool = size.times.map {
|
10
10
|
Thread.new(@queue) do |queue|
|
11
|
-
|
11
|
+
Thread.current.abort_on_exception = true
|
12
12
|
while job = queue.pop
|
13
13
|
klass, method, reporter = job
|
14
14
|
result = Minitest.run_one_method klass, method
|
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: 5.4.
|
4
|
+
version: 5.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
30
30
|
VpzF30vNaJK6ZT7xlIsIlwmH
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2014-
|
32
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
��%�m��S
|
2
|
+
�����f��dJ4��eL1U�a1�&�����irE�w��z4��Yl�'?ol�7��Ȍ?A���e��9�arK�u����C�n��1}�~��Z�:t#RZ�fw�`��.�� $�s6��5ؼs�!9���D�!�V����Pɜ����K�Hy!���rrܕ��?�Lъ�ݵ���_0��$��G�k�!
|
3
|
+
�k2��
|