From 1e29b291dd47f82595b366cf4c161a42f30d6214 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Tue, 20 Jun 2023 00:33:16 +0900 Subject: [PATCH] Cut 2.20.2 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- lib/rubocop/rails/version.rb | 2 +- relnotes/v2.20.2.md | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 relnotes/v2.20.2.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 93a79d6fc4..1f02093ef5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ ## master (unreleased) +## 2.20.2 (2023-06-20) + ### Bug fixes * [#1028](https://github.com/rubocop/rubocop-rails/pull/1028): Fix an error for `Rails/UniqueValidationWithoutIndex` when the `presence: true` option is used alone for the `validates` method. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index 9e0ff48acb..cffb948bd1 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -2,6 +2,6 @@ name: rubocop-rails title: RuboCop Rails # We always provide version without patch here (e.g. 1.1), # as patch versions should not appear in the docs. -version: ~ +version: '2.20' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 9d402e374f..5aa54d932d 100644 --- a/lib/rubocop/rails/version.rb +++ b/lib/rubocop/rails/version.rb @@ -4,7 +4,7 @@ module RuboCop module Rails # This module holds the RuboCop Rails version information. module Version - STRING = '2.20.1' + STRING = '2.20.2' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.20.2.md b/relnotes/v2.20.2.md new file mode 100644 index 0000000000..8d32262085 --- /dev/null +++ b/relnotes/v2.20.2.md @@ -0,0 +1,5 @@ +### Bug fixes + +* [#1028](https://github.com/rubocop/rubocop-rails/pull/1028): Fix an error for `Rails/UniqueValidationWithoutIndex` when the `presence: true` option is used alone for the `validates` method. ([@koic][]) + +[@koic]: https://github.com/koic