Skip to content

Commit

Permalink
Update Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Nov 20, 2022
1 parent 2a07001 commit 3865328
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 13 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

## master (unreleased)

### Bug fixes

* [#843](https://github.com/rubocop/rubocop-rails/issues/843): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` in multiline `if` branch before `redirect_to`. ([@koic][])
* [#841](https://github.com/rubocop/rubocop-rails/issues/841): Fix an error for `Rails/ActionOrder` when using unconventional order of multiple actions. ([@koic][])
* [#838](https://github.com/rubocop/rubocop-rails/issues/838): Fix an incorrect autocorrect for `Rails/ActionOrder` when using unconventional order of actions in conditions. ([@koic][])
* [#867](https://github.com/rubocop/rubocop-rails/pull/867): Fix autocorrection bug when `::Hash` is used on `Rails/IndexBy` and `Rails/IndexWith`. ([@r7kamura][])
* [#848](https://github.com/rubocop/rubocop-rails/issues/848): Fix a false positive for `Rails/FreezeTime` when using `travel_to` with an argument of `Time.new(...).in_time_zone`. ([@koic][])
* [#869](https://github.com/rubocop/rubocop-rails/pull/869): Fix false-positives that non Rails formats are offended on `Rails/ToSWithArgument`. ([@r7kamura][])
* [#866](https://github.com/rubocop/rubocop-rails/pull/866): Fix false-positives when constant is used with receiver on `Rails/DurationArithmetic`, `Rails/IndexBy`, `Rails/IndexWIth`, and `Rails/RequireDependency`. ([@r7kamura][])
* [#850](https://github.com/rubocop/rubocop-rails/pull/850): Fix default configuration for `Rails/I18nLazyLookup`. ([@vlad-pisanov][])
* [#837](https://github.com/rubocop/rubocop-rails/pull/837): Fix incorrect autocorrection of `Rails/ActionOrder` about comments. ([@r7kamura][])
* [#855](https://github.com/rubocop/rubocop-rails/pull/855): Fix Rails/RootPathnameMethods autocorrection for Pathname calls without parens. ([@gsamokovarov][])
* [#868](https://github.com/rubocop/rubocop-rails/pull/868): Support `::` prefixed constants on `Rails/ActionControllerFlashBeforeRender`, `Rails/ActionControllerTestCase`, `Rails/ApplicationController`, `Rails/ApplicationJob`, `Rails/ApplicationMailer`, `Rails/ApplicationRecord`, `Rails/DotSeparatedKeys`, `Rails/DynamicFindBy`, `Rails/FindEach`, `Rails/FreezeTime`, `Rails/HasManyOrHasOneDependent`, `Rails/HelperInstanceVariable`, `Rails/MailerName`, `Rails/MigrationClassName`, `Rails/Output`, `Rails/ReversibleMigrationMethodDefinition`, `Rails/ReversibleMigration`, `Rails/ShortI18n`, `Rails/SkipsModelValidations`, and `Rails/TimeZoneAssignment`. ([@r7kamura][])
* [#865](https://github.com/rubocop/rubocop-rails/pull/865): Support `::Rails` and `::File` on `Rails/FilePath` cop. ([@r7kamura][])

### Changes

* [#862](https://github.com/rubocop/rubocop-rails/pull/862): Ignore if number of arguments does not match on `Rails/DynamicFindBy`. ([@r7kamura][])

## 2.17.2 (2022-10-27)

### Bug fixes
Expand Down Expand Up @@ -743,3 +762,5 @@
[@niklas-hasselmeyer]: https://github.com/niklas-hasselmeyer
[@fsateler]: https://github.com/fsateler
[@jdufresne]: https://github.com/jdufresne
[@vlad-pisanov]: https://github.com/vlad-pisanov
[@gsamokovarov]: https://github.com/gsamokovarov

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_an_error_for_rails_action_order.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_autocorrection_bug_when_hash_is_used_on.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_false_positive_for_rails_freeze_time.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_false_positives_that_non_rails_formats.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_i18n_lazy_lookup_configuration.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_railsrootpathnamemethods.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_support_prefixed_constants_on_some_cops.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_support_rails_and_file_on_rails_file_path.md

This file was deleted.

0 comments on commit 3865328

Please sign in to comment.