minitest-unordered 1.0.1 → 1.0.2
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 +6 -0
- data/lib/minitest/unordered.rb +6 -6
- data/test/test_minitest_unordered.rb +5 -5
- metadata +5 -6
- metadata.gz.sig +2 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b623be942180e27247cab585cec930f13b7bf8c6
|
4
|
+
data.tar.gz: b4cd68ef15137434fa21e9268ce2d241f511d288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c7678d23866b127e8c8f7e3973906a60d67c4411ed542677c619ac5398cc9a54e51485016dc5a9d1f162d34ed6316a95a760af8bf797d6ed91b2993a426226a
|
7
|
+
data.tar.gz: aa9ad81686e1fad732ac7d9c152efe00c748f5bf775c83c207fe8b67039a22007b2ba5b78326aeba30f52d82364c676582c7a4731400521f778b21040d99819e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/minitest/unordered.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require "minitest/unit"
|
2
2
|
require "minitest/spec"
|
3
3
|
|
4
|
-
module
|
5
|
-
VERSION = "1.0.
|
4
|
+
module Minitest::Unordered
|
5
|
+
VERSION = "1.0.2"
|
6
6
|
|
7
7
|
##
|
8
8
|
# Fails unless +a+ contains the same contents as +b+, regardless
|
@@ -32,11 +32,11 @@ module MiniTest::Unit::Unordered
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
class
|
36
|
-
include
|
35
|
+
class Minitest::Test
|
36
|
+
include Minitest::Unordered
|
37
37
|
end
|
38
38
|
|
39
|
-
module
|
39
|
+
module Minitest::Spec::Unordered
|
40
40
|
##
|
41
41
|
# See MiniTest::Assertions#assert_equal_unordered
|
42
42
|
#
|
@@ -48,5 +48,5 @@ module MiniTest::Spec::Unordered
|
|
48
48
|
end
|
49
49
|
|
50
50
|
class Object # :nodoc:
|
51
|
-
include
|
51
|
+
include Minitest::Spec::Unordered
|
52
52
|
end
|
@@ -1,18 +1,18 @@
|
|
1
1
|
require "minitest/autorun"
|
2
2
|
require "minitest/unordered"
|
3
3
|
|
4
|
-
class TestMinitestUnordered <
|
4
|
+
class TestMinitestUnordered < Minitest::Test
|
5
5
|
def setup
|
6
6
|
super
|
7
7
|
|
8
|
-
|
8
|
+
Minitest::Test.reset
|
9
9
|
|
10
|
-
@tc =
|
10
|
+
@tc = Minitest::Test.new 'fake tc'
|
11
11
|
@assertion_count = 1
|
12
12
|
end
|
13
13
|
|
14
14
|
def teardown
|
15
|
-
assert_equal @assertion_count, @tc.
|
15
|
+
assert_equal @assertion_count, @tc.assertions
|
16
16
|
end
|
17
17
|
|
18
18
|
def test_assert_equal_unordered_when_comparable_elements
|
@@ -97,6 +97,6 @@ describe MiniTest::Spec::Unordered do
|
|
97
97
|
exp = "msg.\nExpected [1, 2] to be equivalent to [1, 2, 3]."
|
98
98
|
assert_equal exp, e.message
|
99
99
|
|
100
|
-
self.
|
100
|
+
self.assertions.must_equal 14
|
101
101
|
end
|
102
102
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-unordered
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tuomas Kareinen
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
31
31
|
VpzF30vNaJK6ZT7xlIsIlwmH
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: minitest
|
@@ -38,14 +38,14 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - ~>
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '5.
|
41
|
+
version: '5.8'
|
42
42
|
type: :development
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '5.
|
48
|
+
version: '5.8'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rdoc
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,5 +122,4 @@ signing_key:
|
|
122
122
|
specification_version: 4
|
123
123
|
summary: Adds a new assertion to minitest for checking the contents of a collection,
|
124
124
|
ignoring element order.
|
125
|
-
test_files:
|
126
|
-
- test/test_minitest_unordered.rb
|
125
|
+
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1,5 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
��>��b����b+k�R2�m�Y���JnKh�������cE�!� �`�(�od�@3�\�J[q�!bz>��D�gD��a��:8mhql0��s�Ò�ܮx��
|
4
|
-
2�n@_�V��^ٙ�x����Q~�&�}����q�d�����g��v�E�M&�W
|
5
|
-
ϖ���q��
|
1
|
+
�7{5+�F�dG�G�YMngp
|
2
|
+
��1_��GQ��!���|'.@3YUW�J�X��P_�%�<Ss��f�Zk�L�������]�
|