sixarm_ruby_minitest_assert_equal_via_send 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data/Rakefile +10 -0
- data/lib/sixarm_ruby_minitest_assert_equal_via_send/minitest/assertions/equal_via_send.rb +45 -0
- data/lib/sixarm_ruby_minitest_assert_equal_via_send/minitest/expectations/equal_via_send.rb +10 -0
- data/lib/sixarm_ruby_minitest_assert_equal_via_send.rb +18 -0
- data/test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/assertions/equal_via_send_test.rb +202 -0
- data/test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/expectations/equal_via_send_test.rb +203 -0
- data/test/sixarm_ruby_minitest_assert_equal_via_send_test.rb +8 -0
- data.tar.gz.sig +0 -0
- metadata +215 -0
- metadata.gz.sig +3 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 993a6db79ff881c9a4faa2cf53997abf20e75f69
|
4
|
+
data.tar.gz: ef3025aa9d7f9f1352ccc2b95ed0525b074c2355
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d9445beb613cfd5a31e9af91060a4fc9f62052ddc2ddf02947fa2fb9fc5d1da159a9691195e804bc3997369a2a3fdc79525d8711e96d4e309a447a7c83e25743
|
7
|
+
data.tar.gz: 44403938b7449393c17ec274748ccc91cdd483692d66888dd853324f467bed1f71d5104d16dc28f780bbc4c1a7a7da8435bfc5e069cfceb10dbb4afdb2c3f531
|
checksums.yaml.gz.sig
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
�jl���h�Ϛ4���#CԻ>����d�n���|8���N�JQ���P~`�NX2��K|�b��<�|�y�=[U��*��PK��s�-ܕ�|jٯg������^0Fp���.`U�3,xɵ�6o/���}h����n�b,�RFA~܈��ٖ�
|
2
|
+
1��(?��<W���T�|��E�-UMf9�@�/t�.��%�Z���t���'���HH@�嵈;+ �}���*��?q��t�^���|�,�$]u������>�&P��]d8���N8v�/="E�� �s��Y=+C����,��X�s#�Ɵ��G{��q�&IQ����L����T���;�Qqp��̕!黇f��]u�9�{� ��q4���ƀ����)<��}xn٦߳����/�~�tRz�1:��B�p��V|�b6��Q+����`t���
|
data/Rakefile
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
=begin rdoc
|
3
|
+
Please see README
|
4
|
+
=end
|
5
|
+
|
6
|
+
module MiniTest::Assertions
|
7
|
+
|
8
|
+
##
|
9
|
+
# Succeeds when +expect_value+ and +equal_via_sends(:equal_via_send_symbol)+ are equal.
|
10
|
+
#
|
11
|
+
def assert_equal_via_send(expect, actual, send_args, msg = nil)
|
12
|
+
expect_value, actual_value = setup_equal_via_send(expect, actual, send_args, msg)
|
13
|
+
assert_equal(expect_value, actual_value, "Expected equal." + result_msg(expect_value, actual_value, send_args, msg))
|
14
|
+
end
|
15
|
+
|
16
|
+
##
|
17
|
+
# Succeeds when +expect_value+ and +equal_via_sends(:equal_via_send_symbol)+ are not equal.
|
18
|
+
|
19
|
+
def refute_equal_via_send(expect, actual, send_args, msg = nil)
|
20
|
+
expect_value, actual_value = setup_equal_via_send(expect, actual, send_args, msg)
|
21
|
+
refute_equal(expect_value, actual_value, "Expected not equal." + result_msg(expect_value, actual_value, send_args, msg))
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def setup_equal_via_send(expect, actual, send_args, msg = nil)
|
27
|
+
refute_nil(expect, "Expected `expect`, but got nil." + append_msg(msg))
|
28
|
+
refute_nil(actual, "Expected `actual`, but got nil." + append_msg(msg))
|
29
|
+
refute_nil(send_args, "Expected `send_args`, but got nil." + append_msg(msg))
|
30
|
+
expect_value = expect.send(*send_args)
|
31
|
+
refute_nil(expect_value, "Expected `expect_value`, but got nil." + append_msg(msg))
|
32
|
+
actual_value = actual.send(*send_args)
|
33
|
+
refute_nil(actual_value, "Expected `actual_value`, but got nil." + append_msg(msg))
|
34
|
+
return expect_value, actual_value
|
35
|
+
end
|
36
|
+
|
37
|
+
def append_msg(msg = nil)
|
38
|
+
msg ? " #{msg}" : ""
|
39
|
+
end
|
40
|
+
|
41
|
+
def result_msg(expect_value, actual_value, send_args, msg = nil)
|
42
|
+
" Send method:#{send_args ? send_args.first : send_args.inspect}. Expect value:#{expect_value.inspect}. Actual value:#{actual_value.inspect}" + append_msg(msg)
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
=begin rdoc
|
3
|
+
Please see README
|
4
|
+
=end
|
5
|
+
|
6
|
+
unless defined?(Minitest) then
|
7
|
+
# Minitest 5 and MiniTest 4 use different capitalizations.
|
8
|
+
module Minitest; end
|
9
|
+
MiniTest = Minitest # prevents minitest.rb from requiring back to us
|
10
|
+
require "minitest"
|
11
|
+
end
|
12
|
+
|
13
|
+
MiniTest = Minitest unless defined?(MiniTest)
|
14
|
+
|
15
|
+
require 'hashdiff'
|
16
|
+
|
17
|
+
require 'sixarm_ruby_minitest_assert_equal_via_send/minitest/assertions/equal_via_send'
|
18
|
+
require 'sixarm_ruby_minitest_assert_equal_via_send/minitest/expectations/equal_via_send'
|
data/test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/assertions/equal_via_send_test.rb
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require "sixarm_ruby_minitest_assert_equal_via_send"
|
3
|
+
|
4
|
+
class C
|
5
|
+
attr_accessor :x
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "Minitest" do
|
9
|
+
|
10
|
+
before do
|
11
|
+
@exp = C.new
|
12
|
+
@act = C.new
|
13
|
+
end
|
14
|
+
|
15
|
+
describe "Assertions" do
|
16
|
+
|
17
|
+
describe "#assert_equal_via_send" do
|
18
|
+
|
19
|
+
describe "with typical cases" do
|
20
|
+
|
21
|
+
specify "valid" do
|
22
|
+
@exp.x = :a
|
23
|
+
@act.x = :a
|
24
|
+
assert_equal_via_send(@exp, @act, [:x])
|
25
|
+
end
|
26
|
+
|
27
|
+
specify "invalid" do
|
28
|
+
@exp.x = :a
|
29
|
+
@act.x = :b
|
30
|
+
err = proc {
|
31
|
+
assert_equal_via_send(@exp, @act, [:x])
|
32
|
+
}.must_raise MiniTest::Assertion
|
33
|
+
err.message.must_match(/\bExpected equal\b/)
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
describe "with degenerate cases" do
|
39
|
+
|
40
|
+
describe "with `expect` nil" do
|
41
|
+
|
42
|
+
specify "raise" do
|
43
|
+
@exp = nil
|
44
|
+
@act.x = :a
|
45
|
+
err = proc {
|
46
|
+
assert_equal_via_send(@exp, @act, [:x])
|
47
|
+
}.must_raise MiniTest::Assertion
|
48
|
+
err.message.must_match(/\bExpected `expect`, but got nil\b/)
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
describe "with `actual` nil" do
|
54
|
+
|
55
|
+
specify "raise" do
|
56
|
+
@exp.x = :a
|
57
|
+
@act = nil
|
58
|
+
err = proc {
|
59
|
+
assert_equal_via_send(@exp, @act, [:x])
|
60
|
+
}.must_raise MiniTest::Assertion
|
61
|
+
err.message.must_match(/\bExpected `actual`, but got nil\b/)
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
describe "with `expect_value` nil" do
|
67
|
+
|
68
|
+
specify "raise" do
|
69
|
+
@exp.x = nil
|
70
|
+
@act.x = :a
|
71
|
+
err = proc {
|
72
|
+
assert_equal_via_send(@exp, @act, [:x])
|
73
|
+
}.must_raise MiniTest::Assertion
|
74
|
+
err.message.must_match(/\bExpected `expect_value`, but got nil\b/)
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
describe "with `actual_value` nil" do
|
80
|
+
|
81
|
+
specify "raise" do
|
82
|
+
@exp.x = :a
|
83
|
+
@act.x = nil
|
84
|
+
err = proc {
|
85
|
+
assert_equal_via_send(@exp, @act, [:x])
|
86
|
+
}.must_raise MiniTest::Assertion
|
87
|
+
err.message.must_match(/\bExpected `actual_value`, but got nil\b/)
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|
91
|
+
|
92
|
+
describe "with `send_args` nil" do
|
93
|
+
|
94
|
+
specify "raise" do
|
95
|
+
@exp.x = :a
|
96
|
+
@act.x = :a
|
97
|
+
err = proc {
|
98
|
+
assert_equal_via_send(@exp, @act, nil)
|
99
|
+
}.must_raise MiniTest::Assertion
|
100
|
+
err.message.must_match(/\bExpected `send_args`, but got nil\b/)
|
101
|
+
end
|
102
|
+
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
describe "#refute_equal_via_send" do
|
110
|
+
|
111
|
+
describe "with typical cases" do
|
112
|
+
|
113
|
+
specify "valid" do
|
114
|
+
@exp.x = :a
|
115
|
+
@act.x = :b
|
116
|
+
refute_equal_via_send(@exp, @act, [:x])
|
117
|
+
end
|
118
|
+
|
119
|
+
specify "invalid" do
|
120
|
+
@exp.x = :a
|
121
|
+
@act.x = :a
|
122
|
+
err = proc {
|
123
|
+
refute_equal_via_send(@exp, @act, [:x])
|
124
|
+
}.must_raise MiniTest::Assertion
|
125
|
+
err.message.must_match(/\bExpected not equal\b/)
|
126
|
+
end
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
describe "with degenerate cases" do
|
131
|
+
|
132
|
+
describe "with `expect` nil" do
|
133
|
+
|
134
|
+
specify "raise" do
|
135
|
+
@exp = nil
|
136
|
+
@act.x = :a
|
137
|
+
err = proc {
|
138
|
+
assert_equal_via_send(@exp, @act, [:x])
|
139
|
+
}.must_raise MiniTest::Assertion
|
140
|
+
err.message.must_match(/\bExpected `expect`, but got nil\b/)
|
141
|
+
end
|
142
|
+
|
143
|
+
end
|
144
|
+
|
145
|
+
describe "with `actual` nil" do
|
146
|
+
|
147
|
+
specify "raise" do
|
148
|
+
@exp.x = :a
|
149
|
+
@act = nil
|
150
|
+
err = proc {
|
151
|
+
assert_equal_via_send(@exp, @act, [:x])
|
152
|
+
}.must_raise MiniTest::Assertion
|
153
|
+
err.message.must_match(/\bExpected `actual`, but got nil\b/)
|
154
|
+
end
|
155
|
+
|
156
|
+
end
|
157
|
+
|
158
|
+
describe "with `expect_value` nil" do
|
159
|
+
|
160
|
+
specify "raise" do
|
161
|
+
@exp.x = nil
|
162
|
+
@act.x = :a
|
163
|
+
err = proc {
|
164
|
+
assert_equal_via_send(@exp, @act, [:x])
|
165
|
+
}.must_raise MiniTest::Assertion
|
166
|
+
err.message.must_match(/\bExpected `expect_value`, but got nil\b/)
|
167
|
+
end
|
168
|
+
|
169
|
+
end
|
170
|
+
|
171
|
+
describe "with `actual_value` nil" do
|
172
|
+
|
173
|
+
specify "raise" do
|
174
|
+
@exp.x = :a
|
175
|
+
@act.x = nil
|
176
|
+
err = proc {
|
177
|
+
assert_equal_via_send(@exp, @act, [:x])
|
178
|
+
}.must_raise MiniTest::Assertion
|
179
|
+
err.message.must_match(/\bExpected `actual_value`, but got nil\b/)
|
180
|
+
end
|
181
|
+
|
182
|
+
end
|
183
|
+
|
184
|
+
describe "with `send_args` nil" do
|
185
|
+
|
186
|
+
specify "raise" do
|
187
|
+
@exp.x = :a
|
188
|
+
@act.x = :a
|
189
|
+
err = proc {
|
190
|
+
assert_equal_via_send(@exp, @act, nil)
|
191
|
+
}.must_raise MiniTest::Assertion
|
192
|
+
err.message.must_match(/\bExpected `send_args`, but got nil\b/)
|
193
|
+
end
|
194
|
+
|
195
|
+
end
|
196
|
+
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
end
|
201
|
+
|
202
|
+
end
|
@@ -0,0 +1,203 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require "sixarm_ruby_minitest_assert_equal_via_send"
|
3
|
+
|
4
|
+
class C
|
5
|
+
attr_accessor :x
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "Minitest" do
|
9
|
+
|
10
|
+
before do
|
11
|
+
@exp = C.new
|
12
|
+
@act = C.new
|
13
|
+
end
|
14
|
+
|
15
|
+
describe "Expectations" do
|
16
|
+
|
17
|
+
describe "#must_equal_via_send" do
|
18
|
+
|
19
|
+
describe "with typical cases" do
|
20
|
+
|
21
|
+
specify "valid" do
|
22
|
+
@exp.x = :a
|
23
|
+
@act.x = :a
|
24
|
+
expect(@act).must_equal_via_send(@exp, [:x])
|
25
|
+
end
|
26
|
+
|
27
|
+
specify "invalid" do
|
28
|
+
@exp.x = :a
|
29
|
+
@act.x = :b
|
30
|
+
err = proc {
|
31
|
+
expect(@act).must_equal_via_send(@exp, [:x])
|
32
|
+
}.must_raise MiniTest::Assertion
|
33
|
+
err.message.must_match(/\bExpected equal\b/)
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
describe "with degenerate cases" do
|
39
|
+
|
40
|
+
describe "with `expect` nil" do
|
41
|
+
|
42
|
+
specify "raise" do
|
43
|
+
@exp = nil
|
44
|
+
@act.x = :a
|
45
|
+
err = proc {
|
46
|
+
expect(@act).must_equal_via_send(@exp, [:x])
|
47
|
+
}.must_raise MiniTest::Assertion
|
48
|
+
err.message.must_match(/\bExpected `expect`, but got nil\b/)
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
describe "with `actual` nil" do
|
54
|
+
|
55
|
+
specify "raise" do
|
56
|
+
@act = nil
|
57
|
+
@exp.x = :a
|
58
|
+
err = proc {
|
59
|
+
expect(@act).must_equal_via_send(@exp, [:x])
|
60
|
+
}.must_raise MiniTest::Assertion
|
61
|
+
err.message.must_match(/\bExpected `actual`, but got nil\b/)
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
describe "with `expect_value` nil" do
|
67
|
+
|
68
|
+
specify "raise" do
|
69
|
+
@exp.x = nil
|
70
|
+
@act.x = :a
|
71
|
+
err = proc {
|
72
|
+
expect(@act).must_equal_via_send(@exp, [:x])
|
73
|
+
}.must_raise MiniTest::Assertion
|
74
|
+
err.message.must_match(/\bExpected `expect_value`, but got nil\b/)
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
describe "with `actual_value` nil" do
|
80
|
+
|
81
|
+
specify "raise" do
|
82
|
+
@exp.x = :a
|
83
|
+
@act.x = nil
|
84
|
+
err = proc {
|
85
|
+
expect(@act).must_equal_via_send(@exp, [:x])
|
86
|
+
}.must_raise MiniTest::Assertion
|
87
|
+
err.message.must_match(/\bExpected `actual_value`, but got nil\b/)
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|
91
|
+
|
92
|
+
describe "with `send_args` nil" do
|
93
|
+
|
94
|
+
specify "raise" do
|
95
|
+
@act.x = :a
|
96
|
+
@exp.x = :a
|
97
|
+
err = proc {
|
98
|
+
expect(@act).must_equal_via_send(@exp, nil)
|
99
|
+
}.must_raise MiniTest::Assertion
|
100
|
+
err.message.must_match(/\bExpected `send_args`, but got nil\b/)
|
101
|
+
end
|
102
|
+
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
describe "#wont_equal_via_send" do
|
110
|
+
|
111
|
+
describe "with typical cases" do
|
112
|
+
|
113
|
+
specify "valid" do
|
114
|
+
@exp.x = :b
|
115
|
+
@act.x = :a
|
116
|
+
expect(@act).wont_equal_via_send(@exp, [:x])
|
117
|
+
end
|
118
|
+
|
119
|
+
specify "invalid" do
|
120
|
+
@exp.x = :a
|
121
|
+
@act.x = :a
|
122
|
+
err = proc {
|
123
|
+
expect(@act).wont_equal_via_send(@exp, [:x])
|
124
|
+
}.must_raise MiniTest::Assertion
|
125
|
+
err.message.must_match(/\bExpected not equal\b/)
|
126
|
+
end
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
describe "with degenerate cases" do
|
131
|
+
|
132
|
+
describe "with `expect` nil" do
|
133
|
+
|
134
|
+
specify "raise" do
|
135
|
+
@exp = nil
|
136
|
+
@act.x = :a
|
137
|
+
err = proc {
|
138
|
+
expect(@act).wont_equal_via_send(@exp, [:x])
|
139
|
+
}.must_raise MiniTest::Assertion
|
140
|
+
err.message.must_match(/\bExpected `expect`, but got nil\b/)
|
141
|
+
end
|
142
|
+
|
143
|
+
end
|
144
|
+
|
145
|
+
describe "with `actual` nil" do
|
146
|
+
|
147
|
+
specify "raise" do
|
148
|
+
@exp.x = :a
|
149
|
+
@act = nil
|
150
|
+
err = proc {
|
151
|
+
expect(@act).wont_equal_via_send(@exp, [:x])
|
152
|
+
}.must_raise MiniTest::Assertion
|
153
|
+
err.message.must_match(/\bExpected `actual`, but got nil\b/)
|
154
|
+
end
|
155
|
+
|
156
|
+
end
|
157
|
+
|
158
|
+
describe "with `expect_value` nil" do
|
159
|
+
|
160
|
+
specify "raise" do
|
161
|
+
@exp.x = nil
|
162
|
+
@act.x = :a
|
163
|
+
err = proc {
|
164
|
+
expect(@act).wont_equal_via_send(@exp, [:x])
|
165
|
+
}.must_raise MiniTest::Assertion
|
166
|
+
err.message.must_match(/\bExpected `expect_value`, but got nil\b/)
|
167
|
+
end
|
168
|
+
|
169
|
+
end
|
170
|
+
|
171
|
+
describe "with `actual_value` nil" do
|
172
|
+
|
173
|
+
specify "raise" do
|
174
|
+
@exp.x = :a
|
175
|
+
@act.x = nil
|
176
|
+
err = proc {
|
177
|
+
expect(@act).wont_equal_via_send(@exp, [:x])
|
178
|
+
}.must_raise MiniTest::Assertion
|
179
|
+
err.message.must_match(/\bExpected `actual_value`, but got nil\b/)
|
180
|
+
end
|
181
|
+
|
182
|
+
end
|
183
|
+
|
184
|
+
describe "with `send_args` nil" do
|
185
|
+
|
186
|
+
specify "raise" do
|
187
|
+
@exp.x = :a
|
188
|
+
@act.x = :a
|
189
|
+
err = proc {
|
190
|
+
expect(@act).wont_equal_via_send(@exp, nil)
|
191
|
+
}.must_raise MiniTest::Assertion
|
192
|
+
err.message.must_match(/\bExpected `send_args`, but got nil\b/)
|
193
|
+
end
|
194
|
+
|
195
|
+
end
|
196
|
+
|
197
|
+
end
|
198
|
+
|
199
|
+
end
|
200
|
+
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require "minitest/autorun"
|
3
|
+
require "simplecov"
|
4
|
+
SimpleCov.start
|
5
|
+
require "sixarm_ruby_minitest_assert_equal_via_send"
|
6
|
+
|
7
|
+
require "sixarm_ruby_minitest_assert_equal_via_send_test/minitest/assertions/equal_via_send_test"
|
8
|
+
require "sixarm_ruby_minitest_assert_equal_via_send_test/minitest/expectations/equal_via_send_test"
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,215 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sixarm_ruby_minitest_assert_equal_via_send
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- SixArm
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
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
|
45
|
+
n+ES/gQPOnvmVkLDGw==
|
46
|
+
-----END CERTIFICATE-----
|
47
|
+
date: 2017-11-29 00:00:00.000000000 Z
|
48
|
+
dependencies:
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: hashdiff
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.3.7
|
56
|
+
- - "<"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '2'
|
59
|
+
type: :runtime
|
60
|
+
prerelease: false
|
61
|
+
version_requirements: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 0.3.7
|
66
|
+
- - "<"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 12.2.1
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '13'
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 12.2.1
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '13'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: minitest
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 5.10.3
|
96
|
+
- - "<"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '6'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 5.10.3
|
106
|
+
- - "<"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '6'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: yard
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 0.9.9
|
116
|
+
- - "<"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '2'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.9.9
|
126
|
+
- - "<"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: simplecov
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 0.14.1
|
136
|
+
- - "<"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2'
|
139
|
+
type: :development
|
140
|
+
prerelease: false
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.14.1
|
146
|
+
- - "<"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '2'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: coveralls
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 0.8.21
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '2'
|
159
|
+
type: :development
|
160
|
+
prerelease: false
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 0.8.21
|
166
|
+
- - "<"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '2'
|
169
|
+
description: A Minitest assertion & expectation to compare two objects by sending
|
170
|
+
a message
|
171
|
+
email: sixarm@sixarm.com
|
172
|
+
executables: []
|
173
|
+
extensions: []
|
174
|
+
extra_rdoc_files: []
|
175
|
+
files:
|
176
|
+
- Rakefile
|
177
|
+
- lib/sixarm_ruby_minitest_assert_equal_via_send.rb
|
178
|
+
- lib/sixarm_ruby_minitest_assert_equal_via_send/minitest/assertions/equal_via_send.rb
|
179
|
+
- lib/sixarm_ruby_minitest_assert_equal_via_send/minitest/expectations/equal_via_send.rb
|
180
|
+
- test/sixarm_ruby_minitest_assert_equal_via_send_test.rb
|
181
|
+
- test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/assertions/equal_via_send_test.rb
|
182
|
+
- test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/expectations/equal_via_send_test.rb
|
183
|
+
homepage: http://sixarm.com/
|
184
|
+
licenses:
|
185
|
+
- Apache-2.0
|
186
|
+
- Artistic-2.0
|
187
|
+
- BSD-3-Clause
|
188
|
+
- GPL-3.0
|
189
|
+
- MIT
|
190
|
+
- MPL-2.0
|
191
|
+
metadata: {}
|
192
|
+
post_install_message:
|
193
|
+
rdoc_options: []
|
194
|
+
require_paths:
|
195
|
+
- lib
|
196
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
requirements: []
|
207
|
+
rubyforge_project:
|
208
|
+
rubygems_version: 2.6.13
|
209
|
+
signing_key:
|
210
|
+
specification_version: 4
|
211
|
+
summary: SixArm.com → Ruby → Minitest → assert_equal_via_send assert & expect
|
212
|
+
test_files:
|
213
|
+
- test/sixarm_ruby_minitest_assert_equal_via_send_test.rb
|
214
|
+
- test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/assertions/equal_via_send_test.rb
|
215
|
+
- test/sixarm_ruby_minitest_assert_equal_via_send_test/minitest/expectations/equal_via_send_test.rb
|
metadata.gz.sig
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
$�4�v�#H�X`-�̂@Aז��ȉNmÄ��%45d��k�y���c�qK3�R�
|
2
|
+
�FШ�P�?��A"O����U`2��������\�o��^�`iDk��NP#i^>c� ۵�}RR��ϩd��������G��P�W5&�r�}��YU�+���+���8
|
3
|
+
<���F[6�ʎB��&�^�ȁ�Hk>�穀�<{�yy,��Se�.3$���S�8�F_cTv�'�3���Qy�ir�CD=�;��73�ciBB�H��!�^��=Y���h���2��fQkJ� 9?pj>ڏ_����������q�zjS4�`Ts��E5�[c�\��L���&ܘ*���P���d4[~�����U2��|�T�T�:"���'���F���D�P*�Z�)�Oj!�3�r�5�)⇡qx�|6�iu�"���3�Ʃg���Y���ޖ�����
|