Skip to content

Commit 2c33682

Browse files
committed
Cut 2.23.1
1 parent 4f31403 commit 2c33682

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
## master (unreleased)
1111

12+
## 2.23.1 (2023-12-25)
13+
1214
### Bug fixes
1315

1416
* [#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][])

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: rubocop-rails
22
title: RuboCop Rails
33
# We always provide version without patch here (e.g. 1.1),
44
# as patch versions should not appear in the docs.
5-
version: ~
5+
version: '2.23'
66
nav:
77
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_rails.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
////
2+
Do NOT edit this file by hand directly, as it is automatically generated.
3+
4+
Please make any necessary changes to the cop documentation within the source files themselves.
5+
////
6+
17
= Rails
28
39
== Rails/ActionControllerFlashBeforeRender
@@ -1118,7 +1124,7 @@ Checks legacy syntax usage of `tag`
11181124
11191125
NOTE: Allow `tag` when the first argument is a variable because
11201126
`tag(name)` is simpler rather than `tag.public_send(name)`.
1121-
And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 2.0)
1127+
And this cop will be renamed to something like `LegacyTag` in the future. (e.g. RuboCop Rails 3.0)
11221128
11231129
=== Examples
11241130

lib/rubocop/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RuboCop
44
module Rails
55
# This module holds the RuboCop Rails version information.
66
module Version
7-
STRING = '2.23.0'
7+
STRING = '2.23.1'
88

99
def self.document_version
1010
STRING.match('\d+\.\d+').to_s

relnotes/v2.23.1.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Bug fixes
2+
3+
* [#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][])
4+
5+
[@bquorning]: https://github.com/bquorning

0 commit comments

Comments
 (0)