minitest-bonus-assertions 3.0 → 3.1.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.
metadata CHANGED
@@ -1,141 +1,68 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-bonus-assertions
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.0'
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Ziegler
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: minitest
13
+ name: hoe
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: '5.10'
18
+ version: '4.0'
20
19
  type: :development
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: '5.10'
25
+ version: '4.0'
27
26
  - !ruby/object:Gem::Dependency
28
- name: hoe-doofus
27
+ name: hoe-halostatue
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: '1.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.0'
41
- - !ruby/object:Gem::Dependency
42
- name: hoe-gemspec2
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
32
+ version: '2.1'
33
+ - - ">="
46
34
  - !ruby/object:Gem::Version
47
- version: '1.1'
35
+ version: 2.1.1
48
36
  type: :development
49
37
  prerelease: false
50
38
  version_requirements: !ruby/object:Gem::Requirement
51
39
  requirements:
52
40
  - - "~>"
53
41
  - !ruby/object:Gem::Version
54
- version: '1.1'
55
- - !ruby/object:Gem::Dependency
56
- name: hoe-git
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
42
+ version: '2.1'
43
+ - - ">="
60
44
  - !ruby/object:Gem::Version
61
- version: '1.6'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.6'
45
+ version: 2.1.1
69
46
  - !ruby/object:Gem::Dependency
70
- name: hoe-travis
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.2'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.2'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest-around
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.3'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.3'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest-autotest
47
+ name: minitest
99
48
  requirement: !ruby/object:Gem::Requirement
100
49
  requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
50
+ - - ">="
109
51
  - !ruby/object:Gem::Version
110
- version: '1.0'
111
- - !ruby/object:Gem::Dependency
112
- name: minitest-bisect
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
52
+ version: '5.16'
53
+ - - "<"
116
54
  - !ruby/object:Gem::Version
117
- version: '1.2'
55
+ version: '7'
118
56
  type: :development
119
57
  prerelease: false
120
58
  version_requirements: !ruby/object:Gem::Requirement
121
59
  requirements:
122
- - - "~>"
60
+ - - ">="
123
61
  - !ruby/object:Gem::Version
124
- version: '1.2'
125
- - !ruby/object:Gem::Dependency
126
- name: minitest-bonus-assertions
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '2.0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
62
+ version: '5.16'
63
+ - - "<"
137
64
  - !ruby/object:Gem::Version
138
- version: '2.0'
65
+ version: '7'
139
66
  - !ruby/object:Gem::Dependency
140
67
  name: minitest-focus
141
68
  requirement: !ruby/object:Gem::Requirement
@@ -150,145 +77,138 @@ dependencies:
150
77
  - - "~>"
151
78
  - !ruby/object:Gem::Version
152
79
  version: '1.1'
153
- - !ruby/object:Gem::Dependency
154
- name: minitest-moar
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.0'
167
- - !ruby/object:Gem::Dependency
168
- name: minitest-pretty_diff
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '0.1'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '0.1'
181
80
  - !ruby/object:Gem::Dependency
182
81
  name: rake
183
82
  requirement: !ruby/object:Gem::Requirement
184
83
  requirements:
185
- - - "~>"
84
+ - - ">="
186
85
  - !ruby/object:Gem::Version
187
86
  version: '10.0'
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: '14'
188
90
  type: :development
189
91
  prerelease: false
190
92
  version_requirements: !ruby/object:Gem::Requirement
191
93
  requirements:
192
- - - "~>"
94
+ - - ">="
193
95
  - !ruby/object:Gem::Version
194
96
  version: '10.0'
97
+ - - "<"
98
+ - !ruby/object:Gem::Version
99
+ version: '14'
195
100
  - !ruby/object:Gem::Dependency
196
- name: simplecov
101
+ name: rdoc
197
102
  requirement: !ruby/object:Gem::Requirement
198
103
  requirements:
199
- - - "~>"
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0.0'
107
+ - - "<"
200
108
  - !ruby/object:Gem::Version
201
- version: '0.7'
109
+ version: '7'
202
110
  type: :development
203
111
  prerelease: false
204
112
  version_requirements: !ruby/object:Gem::Requirement
205
113
  requirements:
206
- - - "~>"
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0.0'
117
+ - - "<"
207
118
  - !ruby/object:Gem::Version
208
- version: '0.7'
119
+ version: '7'
209
120
  - !ruby/object:Gem::Dependency
210
- name: coveralls
121
+ name: simplecov
211
122
  requirement: !ruby/object:Gem::Requirement
212
123
  requirements:
213
124
  - - "~>"
214
125
  - !ruby/object:Gem::Version
215
- version: '0.7'
126
+ version: '0.22'
216
127
  type: :development
217
128
  prerelease: false
218
129
  version_requirements: !ruby/object:Gem::Requirement
219
130
  requirements:
220
131
  - - "~>"
221
132
  - !ruby/object:Gem::Version
222
- version: '0.7'
133
+ version: '0.22'
223
134
  - !ruby/object:Gem::Dependency
224
- name: rdoc
135
+ name: simplecov-lcov
225
136
  requirement: !ruby/object:Gem::Requirement
226
137
  requirements:
227
138
  - - "~>"
228
139
  - !ruby/object:Gem::Version
229
- version: '4.0'
140
+ version: '0.8'
230
141
  type: :development
231
142
  prerelease: false
232
143
  version_requirements: !ruby/object:Gem::Requirement
233
144
  requirements:
234
145
  - - "~>"
235
146
  - !ruby/object:Gem::Version
236
- version: '4.0'
147
+ version: '0.8'
237
148
  - !ruby/object:Gem::Dependency
238
- name: hoe
149
+ name: standard
239
150
  requirement: !ruby/object:Gem::Requirement
240
151
  requirements:
241
152
  - - "~>"
242
153
  - !ruby/object:Gem::Version
243
- version: '3.16'
154
+ version: '1.0'
244
155
  type: :development
245
156
  prerelease: false
246
157
  version_requirements: !ruby/object:Gem::Requirement
247
158
  requirements:
248
159
  - - "~>"
249
160
  - !ruby/object:Gem::Version
250
- version: '3.16'
251
- description: |-
252
- Bonus assertions for {Minitest}[https://github.com/seattlerb/minitest],
253
- providing assertions I use frequently, supporting only Ruby 2.0 or better.
161
+ version: '1.0'
162
+ description: |
163
+ Bonus assertions for [Minitest][minitest], providing assertions I (used to) use
164
+ frequently, supporting only Ruby 2.0 or better.
165
+
166
+ > I have not used these regularly for tests in about ten years. They're still
167
+ > likely good, but I no longer consider them necessary.
168
+
169
+ ==== To Install:
254
170
  email:
255
171
  - halostatue@gmail.com
256
172
  executables: []
257
173
  extensions: []
258
174
  extra_rdoc_files:
259
- - Code-of-Conduct.rdoc
260
- - Contributing.rdoc
261
- - History.rdoc
262
- - Licence.rdoc
175
+ - CHANGELOG.md
176
+ - CODE_OF_CONDUCT.md
177
+ - CONTRIBUTING.md
178
+ - CONTRIBUTORS.md
179
+ - LICENCE.md
263
180
  - Manifest.txt
264
- - README.rdoc
181
+ - README.md
182
+ - SECURITY.md
183
+ - licences/dco.txt
265
184
  files:
266
- - ".autotest"
267
- - ".document"
268
- - ".gemtest"
269
- - ".minitest.rb"
270
- - ".travis.yml"
271
- - ".workenv"
272
- - Code-of-Conduct.rdoc
273
- - Contributing.rdoc
274
- - Gemfile
275
- - History.rdoc
276
- - Licence.rdoc
185
+ - CHANGELOG.md
186
+ - CODE_OF_CONDUCT.md
187
+ - CONTRIBUTING.md
188
+ - CONTRIBUTORS.md
189
+ - LICENCE.md
277
190
  - Manifest.txt
278
- - README.rdoc
191
+ - README.md
279
192
  - Rakefile
193
+ - SECURITY.md
280
194
  - lib/minitest-bonus-assertions.rb
281
195
  - lib/minitest/assertion_tests.rb
196
+ - lib/minitest/bonus_assertions.rb
197
+ - lib/minitest/bonus_assertions/version.rb
198
+ - licences/dco.txt
282
199
  - test/minitest_config.rb
283
200
  - test/test_minitest-bonus-assertions.rb
284
201
  homepage: https://github.com/halostatue/minitest-bonus-assertions
285
202
  licenses:
286
203
  - MIT
287
- metadata: {}
288
- post_install_message:
204
+ metadata:
205
+ source_code_uri: https://github.com/halostatue/minitest-bonus-assertions
206
+ bug_tracker_uri: https://github.com/halostatue/minitest-bonus-assertions/issues
207
+ changelog_uri: https://github.com/halostatue/minitest-bonus-assertions/blob/main/CHANGELOG.md
208
+ rubygems_mfa_required: 'true'
289
209
  rdoc_options:
290
210
  - "--main"
291
- - README.rdoc
211
+ - README.md
292
212
  require_paths:
293
213
  - lib
294
214
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -302,10 +222,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
222
  - !ruby/object:Gem::Version
303
223
  version: '0'
304
224
  requirements: []
305
- rubyforge_project:
306
- rubygems_version: 2.5.1
307
- signing_key:
225
+ rubygems_version: 3.6.9
308
226
  specification_version: 4
309
- summary: Bonus assertions for {Minitest}[https://github.com/seattlerb/minitest], providing
310
- assertions I use frequently, supporting only Ruby 2.0 or better.
227
+ summary: Bonus assertions for [Minitest][minitest], providing assertions I (used to)
228
+ use frequently, supporting only Ruby 2.0 or better
311
229
  test_files: []
data/.autotest DELETED
@@ -1,5 +0,0 @@
1
- # -*- ruby encoding: utf-8 -*-
2
-
3
- Autotest.add_hook :initialize do |at|
4
- at.testlib = ".minitest"
5
- end
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/.gemtest DELETED
@@ -1 +0,0 @@
1
-
data/.minitest.rb DELETED
@@ -1,2 +0,0 @@
1
- gem "minitest"
2
- require "minitest/autorun"
data/.travis.yml DELETED
@@ -1,30 +0,0 @@
1
- ---
2
- language: ruby
3
- rvm:
4
- - 2.4.1
5
- - 2.3.4
6
- - 2.2.3
7
- - 2.1.7
8
- - 2.0.0
9
- - jruby-9.0.5.0
10
- - jruby-9.1.6.0
11
- - ruby-head
12
- matrix:
13
- allow_failures:
14
- - rvm: jruby-head
15
- - rvm: ruby-head
16
- fast_finish: true
17
- gemfile:
18
- - Gemfile
19
- before_script:
20
- - rake travis:before -t
21
- script: rake travis
22
- after_script:
23
- - rake travis:after -t
24
- notifications:
25
- email:
26
- recipients:
27
- - halostatue@gmail.com
28
- on_success: change
29
- on_failure: always
30
- sudo: false
data/.workenv DELETED
@@ -1,5 +0,0 @@
1
- #! zsh
2
-
3
- --workenv-tab --first
4
- --workenv-tab --desc autotest autotest
5
- --workenv-tab --desc documents "fswatch -o *.rdoc lib/**/*.rb| xargs -n1 -I{} rake docs"
data/Contributing.rdoc DELETED
@@ -1,67 +0,0 @@
1
- == Contributing
2
-
3
- I value any contribution to minitest-bonus-assertions you can provide: a bug
4
- report, a feature request, or code contributions.
5
-
6
- As minitest-bonus-assertions is a mature codebase, there are a few guidelines:
7
-
8
- * Changes *will* *not* be accepted without tests. The test suite is written
9
- with {Minitest}[https://github.com/seattlerb/minitest] (of course).
10
- * Match my coding style.
11
- * Use a thoughtfully-named topic branch that contains your change. Rebase your
12
- commits into logical chunks as necessary.
13
- * Use {quality commit messages}[http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html].
14
- * Do not change the version number; when your patch is accepted and a release
15
- is made, the version will be updated at that point.
16
- * Submit a GitHub pull request with your changes.
17
- * New behaviours require new or updated documentation.
18
-
19
- === Test Dependencies
20
-
21
- minitest-bonus-assertions uses Ryan Davis’s
22
- {Hoe}[https://github.com/seattlerb/hoe] to manage the release process, and it
23
- adds a number of rake tasks. You will mostly be interested in:
24
-
25
- $ rake
26
-
27
- which runs the tests the same way that:
28
-
29
- $ rake test
30
- $ rake travis
31
-
32
- will do.
33
-
34
- To assist with the installation of the development dependencies for
35
- minitest-bonus-assertions, I have provided the simplest possible Gemfile
36
- pointing to the (generated) +minitest-bonus-assertions.gemspec+ file. This will
37
- permit you to do:
38
-
39
- $ bundle install
40
-
41
- to get the development dependencies. If you aleady have +hoe+ installed, you
42
- can accomplish the same thing with:
43
-
44
- $ rake newb
45
-
46
- This task will install any missing dependencies, run the tests/specs, and
47
- generate the RDoc.
48
-
49
- === Workflow
50
-
51
- Here's the most direct way to get your work merged into the project:
52
-
53
- * Fork the project.
54
- * Clone down your fork (<tt>git clone git://github.com/halostatue/minitest-bonus-assertions.git</tt>).
55
- * Create a topic branch to contain your change (<tt>git checkout -b my\_awesome\_feature</tt>).
56
- * Hack away, add tests. Not necessarily in that order.
57
- * Make sure everything still passes by running +rake+.
58
- * If necessary, rebase your commits into logical chunks, without errors.
59
- * Push the branch up (<tt>git push origin my\_awesome\_feature</tt>).
60
- * Create a pull request against halostatue/minitest-bonus-assertions and describe
61
- what your change does and the why you think it should be merged.
62
-
63
- === Contributors
64
-
65
- * Austin Ziegler forked minitest-bonus-assertions.
66
- * Ben Somers (@bensomers) created minitest-extra-assertions
67
- * Justin George (@jaggederest) added assert_between.
data/Gemfile DELETED
@@ -1,9 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- # NOTE: This file is present to keep Travis CI happy. Edits to it will not
4
- # be accepted.
5
-
6
- source "https://rubygems.org/"
7
- gemspec
8
-
9
- # vim: syntax=ruby
data/History.rdoc DELETED
@@ -1,48 +0,0 @@
1
- === 3.0 / 2017-04-26
2
-
3
- * 1 major enhancement
4
-
5
- * Dropped support for Ruby 1.9.
6
-
7
- * 1 minor enhancement
8
-
9
- * Added assertion +assert_result_equal+ (expectation +must_equal_result+) to
10
- be ready for Minitest 6. This will allow those who have legitimate cases
11
- where they do not know whether the expected is nil or not to have a
12
- meaningful test and silence deprecation warnings.
13
-
14
- === 2.0 / 2015-10-19
15
-
16
- * 1 major enhancement
17
-
18
- * Added Minitest::AssertionTests to assist with testing newly added
19
- assertions, even for other gems. Previously, a variant of what is provided
20
- was present in +test/minitest_config.rb+.
21
-
22
- * 2 minor enhancements
23
-
24
- * Made the expectation +must_be_between+ ready for the next version of
25
- Minitest by calling +assert_between+ on the test context (+ctx+) rather
26
- than on the bare object under test. Because of this change,
27
- minitest-bonus-assertions is now tested for compatibility only with
28
- minitest 5.8 or higher.
29
-
30
- * Added +assert_set_equal+ and +refute_set_equal+ (with expectation forms of
31
- +must_equal_set+ and +must_not_equal_set+) to test enumerable values for
32
- set equality.
33
-
34
- * 1 minor bugfix
35
-
36
- * The documentation for +assert_between+ was unclear; it is a
37
- boundary-exclusive test, not a boundary-inclusive test. That is, it is
38
- <tt>lo &lt; exp &lt; hi</tt>, not <tt>lo &lt;= exp &lt;= hi</tt>.
39
-
40
- * 1 governance change
41
-
42
- * This project now has a {Code of Conduct}[Code-of-Conduct_rdoc.html]
43
-
44
- === 1.0 / 2015-03-05
45
-
46
- * 1 major enhancement
47
-
48
- * Birthday!
data/Licence.rdoc DELETED
@@ -1,28 +0,0 @@
1
- == Licence
2
-
3
- This software is available under an MIT-style licence.
4
-
5
- * Copyright 2015–2017 Austin Ziegler
6
- * Copyright 2012 Ben Somers
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy of
9
- this software and associated documentation files (the "Software"), to deal in
10
- the Software without restriction, including without limitation the rights to
11
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
12
- of the Software, and to permit persons to whom the Software is furnished to do
13
- so, subject to the following conditions:
14
-
15
- * The names of its contributors may not be used to endorse or promote
16
- products derived from this software without specific prior written
17
- permission.
18
-
19
- The above copyright notice and this permission notice shall be included in all
20
- copies or substantial portions of the Software.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
- SOFTWARE.
data/README.rdoc DELETED
@@ -1,77 +0,0 @@
1
- = minitest-bonus-assertions
2
-
3
- code :: https://github.com/halostatue/minitest-bonus-assertions
4
- bugs :: https://github.com/halostatue/minitest-bonus-assertions/issues
5
- continuous integration :: {<img src="https://travis-ci.org/halostatue/minitest-bonus-assertions.png" />}[https://travis-ci.org/halostatue/minitest-bonus-assertions]
6
-
7
- == Description
8
-
9
- Bonus assertions for {Minitest}[https://github.com/seattlerb/minitest],
10
- providing assertions I use frequently, supporting only Ruby 2.0 or better.
11
-
12
- == Features
13
-
14
- New assertions:
15
-
16
- * +assert_false+: requires that the value be exactly +false+. (+must_be_false+)
17
- * +assert_true+: requires that the value be exactly +true+. (+must_be_true+)
18
- * +assert_between+: requires that the value be strictly between the low and
19
- high values provided, or the range (this test is boundary-exclusive).
20
- (+must_be_between+)
21
- * +assert_has_keys+/+refute_missing_keys+: requires that the object contains all
22
- of the keys expected. (+must_have_keys+)
23
- * +assert_missing_keys+/+refute_has_keys+: requires that the object *not* have
24
- any of the keys expected. (+must_not_have_keys+)
25
- * +assert_raises_with_message+: requires that the exception raised in the
26
- provided block has a specific message (tested with +assert_equal+).
27
- (+must_raise_with_message+)
28
- * +assert_set_equal+: requires that the actual enumerable have the same values
29
- as the expected enumerable, without regard to order and ignoring duplicate
30
- values. (+must_equal_set+)
31
- * +refute_set_equal+: requires that the actual enumerable *not* have the same
32
- values as the expected enumerable. (+must_not_equal_set+)
33
- * +assert_result_equal+: requires that the actual is equal to the result of
34
- evaluating an expression.
35
-
36
- I am also providing the Minitest-tester code I use as something that can be
37
- required by other developers. This should *only* be used to test Minitest
38
- assertions and extensions. For more information on Minitest::AssertionTests,
39
- see its documentation.
40
-
41
- == Background
42
-
43
- minitest-bonus-assertions started life as a patch to Ben Somer’s
44
- {minitest-extra-assertions}[https://github.com/bensomers/minitest-extra-assertions].
45
- There were some nice assertions included, but there were other changes that
46
- needed to be made to bring it up to support Minitest 5. There was also an
47
- override to the default +assert_match+ implementation meant to ease the
48
- transition from Test::Unit (the main reason he wrote this assertion plugin for
49
- Minitest in the first place). I do not believe this is sensible five major
50
- versions into Minitest: I removed it. Ben did not feel comfortable making this
51
- particular change, so I felt that the best way to provide the original
52
- assertions and my new assertions—without the +assert_match+ override—was to
53
- fork this as a new project. I am indebted to Ben and his contributors for
54
- writing these assertions in the first place.
55
-
56
- == Install
57
-
58
- Add it to your Gemfile:
59
-
60
- gem 'minitest-bonus-assertions', '~> 1.1'
61
-
62
- Or manually install:
63
-
64
- % gem install minitest-bonus-assertions
65
-
66
- == minitest-bonus-assertions Semantic Versioning
67
-
68
- minitest-bonus-assertions uses a {Semantic Versioning}[http://semver.org/]
69
- scheme with one change:
70
-
71
- * When PATCH is zero (+0+), it will be omitted from version references.
72
-
73
- :include: Code-of-Conduct.rdoc
74
-
75
- :include: Contributing.rdoc
76
-
77
- :include: Licence.rdoc
File without changes