Skip to content

Commit 7c703f7

Browse files
committed
Cut 2.17.1
1 parent 196416a commit 7c703f7

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

CHANGELOG.md

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

33
## master (unreleased)
44

5+
## 2.17.1 (2022-10-25)
6+
57
### Bug fixes
68

79
* [#829](https://github.com/rubocop/rubocop-rails/pull/829): Revert "Extends `Rails/HttpStatus` cop to check `routes.rb`" introduced in 2.17.0. ([@jdufresne][])

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.17'
66
nav:
77
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_rails.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,15 +2527,13 @@ render json: { foo: 'bar' }, status: 200
25272527
render plain: 'foo/bar', status: 304
25282528
redirect_to root_url, status: 301
25292529
head 200
2530-
get '/foobar', to: redirect('/foobar/baz', status: 301)
25312530
25322531
# good
25332532
render :foo, status: :ok
25342533
render json: { foo: 'bar' }, status: :ok
25352534
render plain: 'foo/bar', status: :not_modified
25362535
redirect_to root_url, status: :moved_permanently
25372536
head :ok
2538-
get '/foobar', to: redirect('/foobar/baz', status: :moved_permanently)
25392537
----
25402538

25412539
==== EnforcedStyle: numeric
@@ -2548,15 +2546,13 @@ render json: { foo: 'bar' }, status: :not_found
25482546
render plain: 'foo/bar', status: :not_modified
25492547
redirect_to root_url, status: :moved_permanently
25502548
head :ok
2551-
get '/foobar', to: redirect('/foobar/baz', status: :moved_permanently)
25522549
25532550
# good
25542551
render :foo, status: 200
25552552
render json: { foo: 'bar' }, status: 404
25562553
render plain: 'foo/bar', status: 304
25572554
redirect_to root_url, status: 301
25582555
head 200
2559-
get '/foobar', to: redirect('/foobar/baz', status: 301)
25602556
----
25612557

25622558
=== Configurable attributes

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.17.0'
7+
STRING = '2.17.1'
88

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

relnotes/v2.17.1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Bug fixes
2+
3+
* [#829](https://github.com/rubocop/rubocop-rails/pull/829): Revert "Extends `Rails/HttpStatus` cop to check `routes.rb`" introduced in 2.17.0. ([@jdufresne][])
4+
* [#831](https://github.com/rubocop/rubocop-rails/pull/831): Fix a false positive for `Rails/Pluck` when using block argument in `[]`. ([@koic][])
5+
6+
[@jdufresne]: https://github.com/jdufresne
7+
[@koic]: https://github.com/koic

0 commit comments

Comments
 (0)