Skip to content

Commit

Permalink
Cut 0.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jun 13, 2022
1 parent 4fc374b commit 00afb6a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

## master (unreleased)

## 0.20.1 (2022-06-13)

### Bug fixes

* [#175](https://github.com/rubocop/rubocop-minitest/pull/175): Fix raise error when using assert with block. ([@ippachi][])
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Expand Up @@ -2,6 +2,6 @@ name: rubocop-minitest
title: RuboCop Minitest
# We always provide version without patch here (e.g. 1.1),
# as patch versions should not appear in the docs.
version: ~
version: '0.20'
nav:
- modules/ROOT/nav.adoc
24 changes: 12 additions & 12 deletions docs/modules/ROOT/pages/cops_minitest.adoc
Expand Up @@ -619,7 +619,7 @@ and autocorrects them to use expect format.

=== Examples

==== EnforcedStyle: _
==== EnforcedStyle: any (default)

[source,ruby]
----
Expand All @@ -628,21 +628,21 @@ musts.must_equal expected_musts
wonts.wont_match expected_wonts
musts.must_raise TypeError
# good
_(musts).must_equal expected_musts
_(wonts).wont_match expected_wonts
_ { musts }.must_raise TypeError
expect(musts).must_equal expected_musts
expect(wonts).wont_match expected_wonts
expect { musts }.must_raise TypeError
value(musts).must_equal expected_musts
value(wonts).wont_match expected_wonts
value { musts }.must_raise TypeError
# good
_(musts).must_equal expected_musts
_(wonts).wont_match expected_wonts
_ { musts }.must_raise TypeError
----

==== EnforcedStyle: any (default)
==== EnforcedStyle: _

[source,ruby]
----
Expand All @@ -651,18 +651,18 @@ musts.must_equal expected_musts
wonts.wont_match expected_wonts
musts.must_raise TypeError
# good
_(musts).must_equal expected_musts
_(wonts).wont_match expected_wonts
_ { musts }.must_raise TypeError
expect(musts).must_equal expected_musts
expect(wonts).wont_match expected_wonts
expect { musts }.must_raise TypeError
value(musts).must_equal expected_musts
value(wonts).wont_match expected_wonts
value { musts }.must_raise TypeError
# good
_(musts).must_equal expected_musts
_(wonts).wont_match expected_wonts
_ { musts }.must_raise TypeError
----

==== EnforcedStyle: expect
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/minitest/version.rb
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module Minitest
# This module holds the RuboCop Minitest version information.
module Version
STRING = '0.20.0'
STRING = '0.20.1'

def self.document_version
STRING.match('\d+\.\d+').to_s
Expand Down
5 changes: 5 additions & 0 deletions relnotes/v0.20.1.md
@@ -0,0 +1,5 @@
### Bug fixes

* [#175](https://github.com/rubocop/rubocop-minitest/pull/175): Fix raise error when using assert with block. ([@ippachi][])

[@ippachi]: https://github.com/ippachi

0 comments on commit 00afb6a

Please sign in to comment.