Skip to content

Commit 2cd0ca2

Browse files
committed
Cut 1.71.2
1 parent b205529 commit 2cd0ca2

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ output by `rubocop -V`, include them as well. Here's an example:
3838

3939
```
4040
$ [bundle exec] rubocop -V
41-
1.71.1 (using Parser 3.3.5.0, rubocop-ast 1.32.3, analyzing as Ruby 3.3, running on ruby 3.3.5) [x86_64-linux]
41+
1.71.2 (using Parser 3.3.5.0, rubocop-ast 1.32.3, analyzing as Ruby 3.3, running on ruby 3.3.5) [x86_64-linux]
4242
- rubocop-performance 1.22.1
4343
- rubocop-rspec 3.1.0
4444
```

CHANGELOG.md

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

1212
## master (unreleased)
1313

14+
## 1.71.2 (2025-02-04)
15+
1416
### Bug fixes
1517

1618
* [#13782](https://github.com/rubocop/rubocop/pull/13782): Fix an error `Layout/ElseAlignment` when `else` is part of a numblock. ([@earlopain][])

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ do so.
1717

1818
```console
1919
$ rubocop -V
20-
1.71.1 (using Parser 3.3.5.0, rubocop-ast 1.32.3, analyzing as Ruby 3.3, running on ruby 3.3.5) [x86_64-linux]
20+
1.71.2 (using Parser 3.3.5.0, rubocop-ast 1.32.3, analyzing as Ruby 3.3, running on ruby 3.3.5) [x86_64-linux]
2121
- rubocop-performance 1.22.1
2222
- rubocop-rspec 3.1.0
2323
```

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: rubocop
22
title: RuboCop
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: '1.71'
66
nav:
77
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_layout.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,10 +1611,7 @@ def a
16111611
end
16121612
def b
16131613
end
1614-
----
16151614
1616-
[source,ruby]
1617-
----
16181615
# good
16191616
def a
16201617
end
@@ -1637,10 +1634,7 @@ class B
16371634
end
16381635
def b
16391636
end
1640-
----
16411637
1642-
[source,ruby]
1643-
----
16441638
# good
16451639
class A
16461640
end
@@ -1666,10 +1660,7 @@ module B
16661660
end
16671661
def b
16681662
end
1669-
----
16701663
1671-
[source,ruby]
1672-
----
16731664
# good
16741665
module A
16751666
end

docs/modules/ROOT/pages/cops_lint.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,10 +2371,7 @@ foo = ()
23712371
if ()
23722372
bar
23732373
end
2374-
----
23752374
2376-
[source,ruby]
2377-
----
23782375
# good
23792376
23802377
foo = (some_expression)

docs/modules/ROOT/pages/cops_style.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18379,10 +18379,7 @@ end
1837918379
1838018380
# good
1838118381
x += 1 until x > 10
18382-
----
1838318382
18384-
[source,ruby]
18385-
----
1838618383
# bad
1838718384
x += 100 while x < 500 # a long comment that makes code too long if it were a single line
1838818385

docs/modules/ROOT/pages/integration_with_other_tools.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ following to your `.pre-commit-config.yaml` file:
125125
[source,yaml]
126126
----
127127
- repo: https://github.com/rubocop/rubocop
128-
rev: v1.71.1
128+
rev: v1.71.2
129129
hooks:
130130
- id: rubocop
131131
----
@@ -136,7 +136,7 @@ entries in `additional_dependencies`:
136136
[source,yaml]
137137
----
138138
- repo: https://github.com/rubocop/rubocop
139-
rev: v1.71.1
139+
rev: v1.71.2
140140
hooks:
141141
- id: rubocop
142142
additional_dependencies:

lib/rubocop/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
# This module holds the RuboCop version information.
55
module Version
6-
STRING = '1.71.1'
6+
STRING = '1.71.2'
77

88
MSG = '%<version>s (using %<parser_version>s, ' \
99
'rubocop-ast %<rubocop_ast_version>s, ' \

relnotes/v1.71.2.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Bug fixes
2+
3+
* [#13782](https://github.com/rubocop/rubocop/pull/13782): Fix an error `Layout/ElseAlignment` when `else` is part of a numblock. ([@earlopain][])
4+
* [#13395](https://github.com/rubocop/rubocop/issues/13395): Fix a false positive for `Lint/UselessAssignment` when assigning in branch and block. ([@pCosta99][])
5+
* [#13783](https://github.com/rubocop/rubocop/pull/13783): Fix a false positive for `Lint/Void` when `each` numblock with conditional expressions that has multiple statements. ([@earlopain][])
6+
* [#13787](https://github.com/rubocop/rubocop/issues/13787): Fix incorrect autocorrect for `Style/ExplicitBlockArgument` when using arguments of `zsuper` in method definition. ([@koic][])
7+
* [#13785](https://github.com/rubocop/rubocop/pull/13785): Fix `Style/EachWithObject` cop error in case of single block argument. ([@viralpraxis][])
8+
* [#13781](https://github.com/rubocop/rubocop/pull/13781): Fix a false positive for `Lint/UnmodifiedReduceAccumulator` when omitting the accumulator in a nested numblock. ([@earlopain][])
9+
10+
[@earlopain]: https://github.com/earlopain
11+
[@pCosta99]: https://github.com/pCosta99
12+
[@koic]: https://github.com/koic
13+
[@viralpraxis]: https://github.com/viralpraxis

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy