minitest 5.4.3 → 5.5.0

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: 7ffce3efb7c47f1d661b779ff6046b23e71c66eb
4
- data.tar.gz: e0216e9d085bb54c5cc467ddcee65f564a545ec3
3
+ metadata.gz: fc08f3db9fc3efdaa4788d9a849a880c78cb1925
4
+ data.tar.gz: 08497412368dfdf01dacb30d4a0fcd84923fa86c
5
5
  SHA512:
6
- metadata.gz: d8a30ec16842681b9801e3866919b3355d19ce26a49dc53a4fe26e73166a413d2f006faf7363698266ef30be303fc51eb44e8dd266877bd4cfcbada3b0c9be65
7
- data.tar.gz: 784f79313c0fc7f06f4b7bf2012deab2c6dfeebdc6ed9fb6c1d247b83b1ceb2c58ade6faa5b3e109dd5eb580c37c803dcb59005250fcd94afef8d71008997f28
6
+ metadata.gz: d7423a34cc0132cc993499538a3a3cbce7e759f048512b1400d22f840437fa8822f9d64a68e9f8b923a2c487c7b85d2980178714e15201d1d01fb8789ae42f1f
7
+ data.tar.gz: 35b604f7c5454082008a7fc4af2154de2f22dd6ab071968e4f1bdd001bd392634b1afca043d110ad2f9376a798fe3b77f84a89e76d3bb169ce09d9d6533fa34f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 5.5.0 / 2014-12-12
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Allow seed to be given via ENV for rake test loader sadness: eg rake SEED=42.
6
+
1
7
  === 5.4.3 / 2014-11-11
2
8
 
3
9
  * 2 bug fixes:
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/zenspider/minitest-matchers
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-nc :: Test notifier for minitest via Mountain Lion's
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.
@@ -7,7 +7,7 @@ require "minitest/parallel"
7
7
  # :include: README.txt
8
8
 
9
9
  module Minitest
10
- VERSION = "5.4.3" # :nodoc:
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
- opts.on "-s", "--seed SEED", Integer, "Sets random seed" do |m|
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.3
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-11-11 00:00:00.000000000 Z
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
- ��%�m��S
2
- �����f��dJ4��eL1Ua1�&�����irEw��z4��Yl�'?ol7��Ȍ?A���e��9�arKu����C�n��1}�~��Z�:t#RZfw�`��.�� $�s6��5ؼs�!9���D�!�V����Pɜ����KHy!���rrܕ��?�Lъ�ݵ���_0 ��$��G�k�!
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^X3r^JV>8)p \��C_�?��8[ Wr���G�������p�[߷ 5�mC�9 �\���%�zj