Skip to content

Commit

Permalink
Cut 2.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Dec 25, 2023
1 parent 4f31403 commit 2c33682
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

## master (unreleased)

## 2.23.1 (2023-12-25)

### Bug fixes

* [#1221](https://github.com/rubocop/rubocop-rails/issues/1221): Fix an exception in `Rails/WhereNot` when calling `.where` on an implicit receiver (e.g. inside model code). ([@bquorning][])
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ~
version: '2.23'
nav:
- modules/ROOT/nav.adoc
8 changes: 7 additions & 1 deletion docs/modules/ROOT/pages/cops_rails.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
////
Do NOT edit this file by hand directly, as it is automatically generated.

Please make any necessary changes to the cop documentation within the source files themselves.
////
= Rails
== Rails/ActionControllerFlashBeforeRender
Expand Down Expand Up @@ -1118,7 +1124,7 @@ Checks legacy syntax usage of `tag`
NOTE: Allow `tag` when the first argument is a variable because
`tag(name)` is simpler rather than `tag.public_send(name)`.
And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 2.0)
And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 3.0)
=== Examples
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/rails/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module Rails
# This module holds the RuboCop Rails version information.
module Version
STRING = '2.23.0'
STRING = '2.23.1'

def self.document_version
STRING.match('\d+\.\d+').to_s
Expand Down
5 changes: 5 additions & 0 deletions relnotes/v2.23.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Bug fixes

* [#1221](https://github.com/rubocop/rubocop-rails/issues/1221): Fix an exception in `Rails/WhereNot` when calling `.where` on an implicit receiver (e.g. inside model code). ([@bquorning][])

[@bquorning]: https://github.com/bquorning

0 comments on commit 2c33682

Please sign in to comment.