diff --git a/CHANGELOG.md b/CHANGELOG.md index a981910f21..21013b4d91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.11.1 (2021-06-25) + ### Bug fixes * [#509](https://github.com/rubocop/rubocop-rails/pull/509): Fix an error for `Rails/ReflectionClassName` when using `class_name: to_s`. ([@skryukov][]) diff --git a/docs/antora.yml b/docs/antora.yml index 34b6c248ba..dd00a1f623 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.11' nav: - modules/ROOT/nav.adoc diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 76f6391b00..f2f99e167d 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.11.0' + STRING = '2.11.1' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.11.1.md b/relnotes/v2.11.1.md new file mode 100644 index 0000000000..f93db00f07 --- /dev/null +++ b/relnotes/v2.11.1.md @@ -0,0 +1,11 @@ +### Bug fixes + +* [#509](https://github.com/rubocop/rubocop-rails/pull/509): Fix an error for `Rails/ReflectionClassName` when using `class_name: to_s`. ([@skryukov][]) +* [#510](https://github.com/rubocop/rubocop-rails/pull/510): Fix an error for `Rails/FindBy` when calling `#first` or `#take` on a `Range` object. ([@johnsyweb][]) +* [#507](https://github.com/rubocop/rubocop-rails/pull/507): Fix an error for `Rails/FindBy` when calling `take` after block. ([@koic][]) +* [#504](https://github.com/rubocop/rubocop-rails/issues/504): Fix a false positive for `Rails/FindBy` when receiver is not an Active Record. ([@nvasilevski][]) + +[@skryukov]: https://github.com/skryukov +[@johnsyweb]: https://github.com/johnsyweb +[@koic]: https://github.com/koic +[@nvasilevski]: https://github.com/nvasilevski