From 45f91f29e74b7f3bf819392b962125a356128756 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 6 Oct 2021 19:10:40 +0900 Subject: [PATCH] Cut 2.12.3 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- lib/rubocop/rails/version.rb | 2 +- relnotes/v2.12.3.md | 14 ++++++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 relnotes/v2.12.3.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d086570b..f7aa59d55f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.12.3 (2021-10-06) + ### Bug fixes * [#556](https://github.com/rubocop/rubocop-rails/issues/556): Fix a false positive for `Rails/ContentTag` when using using the `tag` method with 3 or more arguments. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index 34b6c248ba..9317e6f5fa 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: master +version: '2.12' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 5206fffb3f..124207e71d 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.12.2' + STRING = '2.12.3' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.12.3.md b/relnotes/v2.12.3.md new file mode 100644 index 0000000000..0b7c6a02e6 --- /dev/null +++ b/relnotes/v2.12.3.md @@ -0,0 +1,14 @@ +### Bug fixes + +* [#556](https://github.com/rubocop/rubocop-rails/issues/556): Fix a false positive for `Rails/ContentTag` when using using the `tag` method with 3 or more arguments. ([@koic][]) +* [#551](https://github.com/rubocop/rubocop-rails/issues/551): Fix a false positive for `Rails/FindEach` when using `model.errors.where` in Rails 6.1. ([@koic][]) +* [#543](https://github.com/rubocop/rubocop-rails/issues/543): Fix an error for `Rails/ContentTag` when `tag` is not a top-level method. ([@koic][]) +* [#559](https://github.com/rubocop/rubocop-rails/issues/559): Fix an error for `Rails/RelativeDateConstant` when using multiple assignment. ([@koic][]) +* [#553](https://github.com/rubocop/rubocop-rails/pull/553): Fix a false positive for `Rails/ReversibleMigration` when using `t.remove` with `type` option in Rails 6.1. ([@koic][]) + +### Changes + +* [#546](https://github.com/rubocop/rubocop-rails/issues/546): Exclude `app/models` by default for `Rails/ContentTag`. ([@koic][]) +* [#570](https://github.com/rubocop/rubocop-rails/pull/570): Make `Rails/CreateTableWithTimestamps` respect `active_storage_variant_records` table of `db/migrate/*_create_active_storage_tables.active_storage.rb` auto-generated by `bin/rails active_storage:install` even if `created_at` is not specified. ([@koic][]) + +[@koic]: https://github.com/koic