diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ea76a56..03edb70e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ ## master (unreleased) +## 0.31.1 (2023-09-03) + ### Bug fixes * [#256](/~https://github.com/rubocop/rubocop-minitest/issues/256): Fix a false positive for `Minitest/RefuteEqual` when `assert(!expected == actual)`. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index 02c36842..54776e57 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -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.31' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_minitest.adoc b/docs/modules/ROOT/pages/cops_minitest.adoc index 886fcb51..08c7248c 100644 --- a/docs/modules/ROOT/pages/cops_minitest.adoc +++ b/docs/modules/ROOT/pages/cops_minitest.adoc @@ -1232,7 +1232,6 @@ over `assert(expected != actual)` or `assert(! expected == actual)`. ---- # bad assert("rubocop-minitest" != actual) -assert(! "rubocop-minitest" == actual) # good refute_equal("rubocop-minitest", actual) diff --git a/lib/rubocop/minitest/version.rb b/lib/rubocop/minitest/version.rb index 7503fa4a..143ea2e2 100644 --- a/lib/rubocop/minitest/version.rb +++ b/lib/rubocop/minitest/version.rb @@ -4,7 +4,7 @@ module RuboCop module Minitest # This module holds the RuboCop Minitest version information. module Version - STRING = '0.31.0' + STRING = '0.31.1' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v0.31.1.md b/relnotes/v0.31.1.md new file mode 100644 index 00000000..b223a67e --- /dev/null +++ b/relnotes/v0.31.1.md @@ -0,0 +1,5 @@ +### Bug fixes + +* [#256](/~https://github.com/rubocop/rubocop-minitest/issues/256): Fix a false positive for `Minitest/RefuteEqual` when `assert(!expected == actual)`. ([@koic][]) + +[@koic]: /~https://github.com/koic