From f10f7e0d494b0ee15e2b2225b178cf24338c528e Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 16 Apr 2023 13:28:42 +0900 Subject: [PATCH] Cut 2.19.1 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_rails.adoc | 4 ++++ lib/rubocop/rails/version.rb | 2 +- relnotes/v2.19.1.md | 5 +++++ 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 relnotes/v2.19.1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 7905ec66bd..59d979155c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ ## master (unreleased) +## 2.19.1 (2023-04-16) + ### Bug fixes * [#979](https://github.com/rubocop/rubocop-rails/issues/979): Fix an error for `Rails/ThreeStateBooleanColumn` when using `t.boolean` in `drop_table`. ([@koic][]) diff --git a/docs/antora.yml b/docs/antora.yml index 9e0ff48acb..3caa8ea625 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.19' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_rails.adoc b/docs/modules/ROOT/pages/cops_rails.adoc index 191cdbbd98..e1468f00c6 100644 --- a/docs/modules/ROOT/pages/cops_rails.adoc +++ b/docs/modules/ROOT/pages/cops_rails.adoc @@ -6685,3 +6685,7 @@ User.where.not('trashed = ? OR role = ?', true, 'admin') | `warning` | String |=== + +=== References + +* https://rails.rubystyle.guide/#where-not-with-multiple-attributes diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 887f195c0d..c2ea8c7a71 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.19.0' + STRING = '2.19.1' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.19.1.md b/relnotes/v2.19.1.md new file mode 100644 index 0000000000..b0696eef04 --- /dev/null +++ b/relnotes/v2.19.1.md @@ -0,0 +1,5 @@ +### Bug fixes + +* [#979](https://github.com/rubocop/rubocop-rails/issues/979): Fix an error for `Rails/ThreeStateBooleanColumn` when using `t.boolean` in `drop_table`. ([@koic][]) + +[@koic]: https://github.com/koic