From addc9d3eab9eff9e2cd34dbf737e24ebad4ecc52 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 16 Dec 2020 09:21:36 +0900 Subject: [PATCH] Cut 2.9.1 --- CHANGELOG.md | 2 ++ docs/antora.yml | 2 +- lib/rubocop/rails/version.rb | 2 +- relnotes/v2.9.1.md | 13 +++++++++++++ 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 relnotes/v2.9.1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 89af8250a6..914c6bc5bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.9.1 (2020-12-16) + ### Bug fixes * [#408](https://github.com/rubocop-hq/rubocop-rails/pull/408): Fix bug in `Rails/FindEach` where config was ignored. ([@ghiculescu][]) diff --git a/docs/antora.yml b/docs/antora.yml index 34b6c248ba..21486ae3d7 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.9' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 075e781659..11c1f2eef3 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.9.0' + STRING = '2.9.1' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.9.1.md b/relnotes/v2.9.1.md new file mode 100644 index 0000000000..bc89493957 --- /dev/null +++ b/relnotes/v2.9.1.md @@ -0,0 +1,13 @@ +### Bug fixes + +* [#408](https://github.com/rubocop-hq/rubocop-rails/pull/408): Fix bug in `Rails/FindEach` where config was ignored. ([@ghiculescu][]) +* [#401](https://github.com/rubocop-hq/rubocop-rails/issues/401): Fix an error for `Rails/WhereEquals` using only named placeholder template without replacement argument. ([@koic][]) + +### Changes + +* [#404](https://github.com/rubocop-hq/rubocop-rails/issues/404): Make `Rails/HelperInstanceVariable` accepts of instance variables when a class which inherits `ActionView::Helpers::FormBuilder`. ([@koic][]) +* [#406](https://github.com/rubocop-hq/rubocop-rails/pull/406): Deconstruct "table.column" in `Rails/WhereEquals`. ([@mobilutz][]) + +[@ghiculescu]: https://github.com/ghiculescu +[@koic]: https://github.com/koic +[@mobilutz]: https://github.com/mobilutz