From 30e126af0b1f32f021c1ba43c8847d94e957b6ba Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 17 Sep 2022 15:51:10 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 8 ++++++++ changelog/fix_a_false_positive_for_rails_freeze_time.md | 1 - ...ve_for_rails_top_level_hash_with_indifferent_access.md | 1 - changelog/fix_an_error_for_rails_freeze_time.md | 1 - .../fix_an_incorrect_autocorrect_for_rails_freeze_time.md | 1 - ...correct_autocorrect_for_rails_root_pathname_methods.md | 1 - 6 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 changelog/fix_a_false_positive_for_rails_freeze_time.md delete mode 100644 changelog/fix_a_false_positive_for_rails_top_level_hash_with_indifferent_access.md delete mode 100644 changelog/fix_an_error_for_rails_freeze_time.md delete mode 100644 changelog/fix_an_incorrect_autocorrect_for_rails_freeze_time.md delete mode 100644 changelog/fix_an_incorrect_autocorrect_for_rails_root_pathname_methods.md diff --git a/CHANGELOG.md b/CHANGELOG.md index aad4695a9a..6ffae486d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## master (unreleased) +### Bug fixes + +* [#769](https://github.com/rubocop/rubocop-rails/issues/769): Fix a false positive for `Rails/FreezeTime` when using `travel_to` with an argument of `DateTime.new` with arguments. ([@koic][]) +* [#772](https://github.com/rubocop/rubocop-rails/pull/772): Fix a false positive for `Rails/TopLevelHashWithIndifferentAccess` when using `HashWithIndifferentAccess` under namespace module. ([@koic][]) +* [#762](https://github.com/rubocop/rubocop-rails/issues/762): Fix an error for `Rails/FreezeTime` when using `travel_to` with an argument of `current` method without receiver. ([@koic][]) +* [#764](https://github.com/rubocop/rubocop-rails/issues/764): Fix an incorrect autocorrect for `Rails/FreezeTime` when using `travel_to` with an argument of the current time and proc argument. ([@koic][]) +* [#763](https://github.com/rubocop/rubocop-rails/issues/763): Mark `Rails/RootPathnameMethods` as unsafe and fix an incorrect autocorrect when using `Dir.glob`. ([@koic][]) + ## 2.16.0 (2022-09-09) ### New features diff --git a/changelog/fix_a_false_positive_for_rails_freeze_time.md b/changelog/fix_a_false_positive_for_rails_freeze_time.md deleted file mode 100644 index f742efec43..0000000000 --- a/changelog/fix_a_false_positive_for_rails_freeze_time.md +++ /dev/null @@ -1 +0,0 @@ -* [#769](https://github.com/rubocop/rubocop-rails/issues/769): Fix a false positive for `Rails/FreezeTime` when using `travel_to` with an argument of `DateTime.new` with arguments. ([@koic][]) diff --git a/changelog/fix_a_false_positive_for_rails_top_level_hash_with_indifferent_access.md b/changelog/fix_a_false_positive_for_rails_top_level_hash_with_indifferent_access.md deleted file mode 100644 index 46a58bc2e0..0000000000 --- a/changelog/fix_a_false_positive_for_rails_top_level_hash_with_indifferent_access.md +++ /dev/null @@ -1 +0,0 @@ -* [#772](https://github.com/rubocop/rubocop-rails/pull/772): Fix a false positive for `Rails/TopLevelHashWithIndifferentAccess` when using `HashWithIndifferentAccess` under namespace module. ([@koic][]) diff --git a/changelog/fix_an_error_for_rails_freeze_time.md b/changelog/fix_an_error_for_rails_freeze_time.md deleted file mode 100644 index 9ec475c8fa..0000000000 --- a/changelog/fix_an_error_for_rails_freeze_time.md +++ /dev/null @@ -1 +0,0 @@ -* [#762](https://github.com/rubocop/rubocop-rails/issues/762): Fix an error for `Rails/FreezeTime` when using `travel_to` with an argument of `current` method without receiver. ([@koic][]) diff --git a/changelog/fix_an_incorrect_autocorrect_for_rails_freeze_time.md b/changelog/fix_an_incorrect_autocorrect_for_rails_freeze_time.md deleted file mode 100644 index 0fdd38a0df..0000000000 --- a/changelog/fix_an_incorrect_autocorrect_for_rails_freeze_time.md +++ /dev/null @@ -1 +0,0 @@ -* [#764](https://github.com/rubocop/rubocop-rails/issues/764): Fix an incorrect autocorrect for `Rails/FreezeTime` when using `travel_to` with an argument of the current time and proc argument. ([@koic][]) diff --git a/changelog/fix_an_incorrect_autocorrect_for_rails_root_pathname_methods.md b/changelog/fix_an_incorrect_autocorrect_for_rails_root_pathname_methods.md deleted file mode 100644 index 682f446323..0000000000 --- a/changelog/fix_an_incorrect_autocorrect_for_rails_root_pathname_methods.md +++ /dev/null @@ -1 +0,0 @@ -* [#763](https://github.com/rubocop/rubocop-rails/issues/763): Mark `Rails/RootPathnameMethods` as unsafe and fix an incorrect autocorrect when using `Dir.glob`. ([@koic][])