From c07599f4fbf83f9f3f215e04cab05e0a7eb3fa19 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Fri, 18 Mar 2022 10:44:58 +0900 Subject: [PATCH] Cut 2.14.2 --- CHANGELOG.md | 2 ++ lib/rubocop/rails/version.rb | 2 +- relnotes/v2.14.2.md | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 relnotes/v2.14.2.md diff --git a/CHANGELOG.md b/CHANGELOG.md index ae9ba27552..dcd620400a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master (unreleased) +## 2.14.2 (2022-03-18) + ### Bug fixes * [#660](https://github.com/rubocop/rubocop-rails/issues/660): Fix a false positive for `Rails/MigrationClassName` when defining another class. ([@koic][]) diff --git a/lib/rubocop/rails/version.rb b/lib/rubocop/rails/version.rb index 431b0eb5be..3be9b485c1 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.14.1' + STRING = '2.14.2' def self.document_version STRING.match('\d+\.\d+').to_s diff --git a/relnotes/v2.14.2.md b/relnotes/v2.14.2.md new file mode 100644 index 0000000000..00822f269f --- /dev/null +++ b/relnotes/v2.14.2.md @@ -0,0 +1,11 @@ +### Bug fixes + +* [#660](https://github.com/rubocop/rubocop-rails/issues/660): Fix a false positive for `Rails/MigrationClassName` when defining another class. ([@koic][]) +* [#664](https://github.com/rubocop/rubocop-rails/issues/664): Fix a false positive for `Rails/MigrationClassName` when `ActiveSupport::Inflector` is applied to the class name and the case is different. ([@koic][]) +* [#658](https://github.com/rubocop/rubocop-rails/issues/658): Fix a false positive for `Rails/TransactionExitStatement` when `break` is used in `loop` in transactions. ([@koic][]) +* [#666](https://github.com/rubocop/rubocop-rails/pull/666): Fix an error for `Rails/TransactionExitStatement` when transaction block is empty. ([@koic][]) +* [#673](https://github.com/rubocop/rubocop-rails/pull/673): Fix a false negative for `Rails/TransactionExitStatement` when `return` or `throw` is used in a block in transactions. ([@Tietew][]) +* [#669](https://github.com/rubocop/rubocop-rails/issues/669): Fix a false positive for `Rails/TransactionExitStatement` when `return` is used in `rescue`. ([@koic][]) + +[@koic]: https://github.com/koic +[@Tietew]: https://github.com/Tietew