minitest 5.4.3 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +3 -5
- data/lib/minitest.rb +4 -3
- metadata +2 -2
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc08f3db9fc3efdaa4788d9a849a880c78cb1925
|
4
|
+
data.tar.gz: 08497412368dfdf01dacb30d4a0fcd84923fa86c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7423a34cc0132cc993499538a3a3cbce7e759f048512b1400d22f840437fa8822f9d64a68e9f8b923a2c487c7b85d2980178714e15201d1d01fb8789ae42f1f
|
7
|
+
data.tar.gz: 35b604f7c5454082008a7fc4af2154de2f22dd6ab071968e4f1bdd001bd392634b1afca043d110ad2f9376a798fe3b77f84a89e76d3bb169ce09d9d6533fa34f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -138,8 +138,7 @@ Define your tests as methods beginning with `test_`.
|
|
138
138
|
|
139
139
|
For matchers support check out:
|
140
140
|
|
141
|
-
https://github.com/
|
142
|
-
|
141
|
+
https://github.com/wojtekmach/minitest-matchers
|
143
142
|
=== Benchmarks
|
144
143
|
|
145
144
|
Add benchmarks to your tests.
|
@@ -239,7 +238,7 @@ Ideally, you'll use a rake task to run your tests, either piecemeal or
|
|
239
238
|
all at once. Both rake and rails ship with rake tasks for running your
|
240
239
|
tests. BUT! You don't have to:
|
241
240
|
|
242
|
-
% ruby -Ilib:test test/minitest/test_minitest_unit.rb
|
241
|
+
% ruby -Ilib:test test/minitest/test_minitest_unit.rb
|
243
242
|
Run options: --seed 37685
|
244
243
|
|
245
244
|
# Running:
|
@@ -469,8 +468,7 @@ minitest-metadata :: Annotate tests with metadata (key-value).
|
|
469
468
|
minitest-mongoid :: Mongoid assertion matchers for Minitest.
|
470
469
|
minitest-must_not :: Provides must_not as an alias for wont in
|
471
470
|
Minitest.
|
472
|
-
minitest-
|
473
|
-
Notification Center.
|
471
|
+
minitest-osx :: Reporter for the Mac OS X notification center.
|
474
472
|
minitest-parallel-db :: Run tests in parallel with a single database.
|
475
473
|
minitest-power_assert :: PowerAssert for Minitest.
|
476
474
|
minitest-predicates :: Adds support for .predicate? methods.
|
data/lib/minitest.rb
CHANGED
@@ -7,7 +7,7 @@ require "minitest/parallel"
|
|
7
7
|
# :include: README.txt
|
8
8
|
|
9
9
|
module Minitest
|
10
|
-
VERSION = "5.
|
10
|
+
VERSION = "5.5.0" # :nodoc:
|
11
11
|
ENCS = "".respond_to? :encoding # :nodoc:
|
12
12
|
|
13
13
|
@@installed_at_exit ||= false
|
@@ -166,7 +166,8 @@ module Minitest
|
|
166
166
|
exit
|
167
167
|
end
|
168
168
|
|
169
|
-
|
169
|
+
desc = "Sets random seed. Also via env. Eg: SEED=n rake"
|
170
|
+
opts.on "-s", "--seed SEED", Integer, desc do |m|
|
170
171
|
options[:seed] = m.to_i
|
171
172
|
end
|
172
173
|
|
@@ -203,7 +204,7 @@ module Minitest
|
|
203
204
|
|
204
205
|
unless options[:seed] then
|
205
206
|
srand
|
206
|
-
options[:seed] = srand % 0xFFFF
|
207
|
+
options[:seed] = (ENV["SEED"] || srand).to_i % 0xFFFF
|
207
208
|
orig_args << "--seed" << options[:seed].to_s
|
208
209
|
end
|
209
210
|
|
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
|
+
version: 5.5.0
|
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-12-12 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�k2��
|
1
|
+
��m�CoC�������4M����A��e���2a^`NE�������z�/�M4�qA�����y�%g�l����(8])�H
|
2
|
+
���?vX_�o���M�8��_tpe|�5E4R,r���_2P��iR ܦ��<}��px��:�Y�:ħm DgB��aƲ,�ǥ|��=�|��%�Isd^X�3�r^JV>8)�p� \��C_�?��8�[�Wr���G�������p�[߷ 5�mC�9 �\���%�z�j
|