diff --git a/CHANGELOG.md b/CHANGELOG.md index de2e03f890..e2d4137e5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.12.2 (2021-09-11) + ### Bug fixes * [#541](https://github.com/rubocop/rubocop-rails/issues/541): Fix an error for `Rails/HasManyOrHasOneDependent` when using lambda argument and specifying `:dependent` strategy. ([@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 bb0281e28c..5206fffb3f 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.1' + STRING = '2.12.2' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.12.2.md b/relnotes/v2.12.2.md new file mode 100644 index 0000000000..83f5677c9e --- /dev/null +++ b/relnotes/v2.12.2.md @@ -0,0 +1,5 @@ +### Bug fixes + +* [#541](https://github.com/rubocop/rubocop-rails/issues/541): Fix an error for `Rails/HasManyOrHasOneDependent` when using lambda argument and specifying `:dependent` strategy. ([@koic][]) + +[@koic]: https://github.com/koic