+41
-19
lines changedFilter options
+41
-19
lines changed Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ output by `rubocop -V`, include them as well. Here's an example:
39
39
40
40
```
41
41
$ [bundle exec] rubocop -V
42
-
1.79.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]
42
+
1.79.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]
43
43
- rubocop-performance 1.22.1
44
44
- rubocop-rspec 3.1.0
45
45
```
Original file line number Diff line number Diff line change
@@ -11,6 +11,8 @@
11
11
12
12
## master (unreleased)
13
13
14
+
## 1.79.2 (2025-08-05)
15
+
14
16
### Bug fixes
15
17
16
18
* [#11664](https://github.com/rubocop/rubocop/issues/11664): Cache wasn't getting used when using parallelization. ([@jvlara][])
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ do so.
17
17
18
18
```console
19
19
$ rubocop -V
20
-
1.79.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.79.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]
21
21
- rubocop-performance 1.22.1
22
22
- rubocop-rspec 3.1.0
23
23
```
Original file line number Diff line number Diff line change
@@ -868,7 +868,7 @@ end
868
868
| Name | Default value | Configurable values
869
869
870
870
| Categories
871
-
| `{"module_inclusion"=>["include", "prepend", "extend"]}`
871
+
| `{"module_inclusion" => ["include", "prepend", "extend"]}`
872
872
|
873
873
874
874
| ExpectedOrder
Original file line number Diff line number Diff line change
@@ -1122,11 +1122,11 @@ require 'my_debugger/start'
1122
1122
| Name | Default value | Configurable values
1123
1123
1124
1124
| DebuggerMethods
1125
-
| `{"Kernel"=>["binding.irb", "Kernel.binding.irb"], "Byebug"=>["byebug", "remote_byebug", "Kernel.byebug", "Kernel.remote_byebug"], "Capybara"=>["page.save_and_open_page", "page.save_and_open_screenshot", "page.save_page", "page.save_screenshot", "save_and_open_page", "save_and_open_screenshot", "save_page", "save_screenshot"], "debug.rb"=>["binding.b", "binding.break", "Kernel.binding.b", "Kernel.binding.break"], "Pry"=>["binding.pry", "binding.remote_pry", "binding.pry_remote", "Kernel.binding.pry", "Kernel.binding.remote_pry", "Kernel.binding.pry_remote", "Pry.rescue", "pry"], "Rails"=>["debugger", "Kernel.debugger"], "RubyJard"=>["jard"], "WebConsole"=>["binding.console"]}`
1125
+
| `{"Kernel" => ["binding.irb", "Kernel.binding.irb"], "Byebug" => ["byebug", "remote_byebug", "Kernel.byebug", "Kernel.remote_byebug"], "Capybara" => ["page.save_and_open_page", "page.save_and_open_screenshot", "page.save_page", "page.save_screenshot", "save_and_open_page", "save_and_open_screenshot", "save_page", "save_screenshot"], "debug.rb" => ["binding.b", "binding.break", "Kernel.binding.b", "Kernel.binding.break"], "Pry" => ["binding.pry", "binding.remote_pry", "binding.pry_remote", "Kernel.binding.pry", "Kernel.binding.remote_pry", "Kernel.binding.pry_remote", "Pry.rescue", "pry"], "Rails" => ["debugger", "Kernel.debugger"], "RubyJard" => ["jard"], "WebConsole" => ["binding.console"]}`
1126
1126
|
1127
1127
1128
1128
| DebuggerRequires
1129
-
| `{"debug.rb"=>["debug/open", "debug/start"]}`
1129
+
| `{"debug.rb" => ["debug/open", "debug/start"]}`
1130
1130
|
1131
1131
|===
1132
1132
@@ -1233,7 +1233,7 @@ Etc::Passwd
1233
1233
| Name | Default value | Configurable values
1234
1234
1235
1235
| DeprecatedConstants
1236
-
| `{"NIL"=>{"Alternative"=>"nil", "DeprecatedVersion"=>"2.4"}, "TRUE"=>{"Alternative"=>"true", "DeprecatedVersion"=>"2.4"}, "FALSE"=>{"Alternative"=>"false", "DeprecatedVersion"=>"2.4"}, "Net::HTTPServerException"=>{"Alternative"=>"Net::HTTPClientException", "DeprecatedVersion"=>"2.6"}, "Random::DEFAULT"=>{"Alternative"=>"Random.new", "DeprecatedVersion"=>"3.0"}, "Struct::Group"=>{"Alternative"=>"Etc::Group", "DeprecatedVersion"=>"3.0"}, "Struct::Passwd"=>{"Alternative"=>"Etc::Passwd", "DeprecatedVersion"=>"3.0"}}`
1236
+
| `{"NIL" => {"Alternative" => "nil", "DeprecatedVersion" => "2.4"}, "TRUE" => {"Alternative" => "true", "DeprecatedVersion" => "2.4"}, "FALSE" => {"Alternative" => "false", "DeprecatedVersion" => "2.4"}, "Net::HTTPServerException" => {"Alternative" => "Net::HTTPClientException", "DeprecatedVersion" => "2.6"}, "Random::DEFAULT" => {"Alternative" => "Random.new", "DeprecatedVersion" => "3.0"}, "Struct::Group" => {"Alternative" => "Etc::Group", "DeprecatedVersion" => "3.0"}, "Struct::Passwd" => {"Alternative" => "Etc::Passwd", "DeprecatedVersion" => "3.0"}}`
1237
1237
|
1238
1238
|===
1239
1239
@@ -7484,7 +7484,7 @@ values.sort { |*x| x[0] <=> x[1] }
7484
7484
| Name | Default value | Configurable values
7485
7485
7486
7486
| Methods
7487
-
| `{"chunk_while"=>2, "each_with_index"=>2, "each_with_object"=>2, "inject"=>2, "max"=>2, "min"=>2, "minmax"=>2, "reduce"=>2, "slice_when"=>2, "sort"=>2}`
7487
+
| `{"chunk_while" => 2, "each_with_index" => 2, "each_with_object" => 2, "inject" => 2, "max" => 2, "min" => 2, "minmax" => 2, "reduce" => 2, "slice_when" => 2, "sort" => 2}`
7488
7488
|
7489
7489
|===
7490
7490
Original file line number Diff line number Diff line change
@@ -806,7 +806,7 @@ TeslaVehicle
806
806
| Boolean
807
807
808
808
| FlaggedTerms
809
-
| `{"whitelist"=>{"Regex"=>/white[-_\s]?list/, "Suggestions"=>["allowlist", "permit"]}, "blacklist"=>{"Regex"=>/black[-_\s]?list/, "Suggestions"=>["denylist", "block"]}, "slave"=>{"WholeWord"=>true, "Suggestions"=>["replica", "secondary", "follower"]}}`
809
+
| `{"whitelist" => {"Regex" => /white[-_\s]?list/, "Suggestions" => ["allowlist", "permit"]}, "blacklist" => {"Regex" => /black[-_\s]?list/, "Suggestions" => ["denylist", "block"]}, "slave" => {"WholeWord" => true, "Suggestions" => ["replica", "secondary", "follower"]}}`
810
810
|
811
811
|===
812
812
Original file line number Diff line number Diff line change
@@ -2357,7 +2357,7 @@ items.include?
2357
2357
| Name | Default value | Configurable values
2358
2358
2359
2359
| PreferredMethods
2360
-
| `{"collect"=>"map", "collect!"=>"map!", "collect_concat"=>"flat_map", "inject"=>"reduce", "detect"=>"find", "find_all"=>"select", "member?"=>"include?"}`
2360
+
| `{"collect" => "map", "collect!" => "map!", "collect_concat" => "flat_map", "inject" => "reduce", "detect" => "find", "find_all" => "select", "member?" => "include?"}`
2361
2361
|
2362
2362
2363
2363
| MethodsAcceptingSymbol
@@ -8171,11 +8171,11 @@ end
8171
8171
| Name | Default value | Configurable values
8172
8172
8173
8173
| InverseMethods
8174
-
| `{:any?=>:none?, :even?=>:odd?, :===>:!=, :=~=>:!~, :<=>:>=, :>=>:<=}`
8174
+
| `{any?: :none?, even?: :odd?, "==": :!=, "=~": :!~, "<": :>=, ">": :<=}`
8175
8175
|
8176
8176
8177
8177
| InverseBlocks
8178
-
| `{:select=>:reject, :select!=>:reject!}`
8178
+
| `{select: :reject, select!: :reject!}`
8179
8179
|
8180
8180
|===
8181
8181
@@ -8253,7 +8253,7 @@ foo if !condition
8253
8253
| Name | Default value | Configurable values
8254
8254
8255
8255
| InverseMethods
8256
-
| `{:!==>:==, :>=>:<=, :<==>:>, :<=>:>=, :>==>:<, :!~=>:=~, :zero?=>:nonzero?, :nonzero?=>:zero?, :any?=>:none?, :none?=>:any?, :even?=>:odd?, :odd?=>:even?}`
8256
+
| `{"!=": :==, ">": :<=, "<=": :>, "<": :>=, ">=": :<, "!~": :=~, zero?: :nonzero?, nonzero?: :zero?, any?: :none?, none?: :any?, even?: :odd?, odd?: :even?}`
8257
8257
|
8258
8258
|===
8259
8259
@@ -12774,7 +12774,7 @@ default.
12774
12774
| Name | Default value | Configurable values
12775
12775
12776
12776
| PreferredDelimiters
12777
-
| `{"default"=>"()", "%i"=>"[]", "%I"=>"[]", "%r"=>"{}", "%w"=>"[]", "%W"=>"[]"}`
12777
+
| `{"default" => "()", "%i" => "[]", "%I" => "[]", "%r" => "{}", "%w" => "[]", "%W" => "[]"}`
12778
12778
|
12779
12779
|===
12780
12780
@@ -13260,7 +13260,7 @@ A.foo
13260
13260
| Name | Default value | Configurable values
13261
13261
13262
13262
| Methods
13263
-
| `{"join"=>"", "sum"=>0, "exit"=>true, "exit!"=>false, "split"=>" ", "chomp"=>"\n", "chomp!"=>"\n"}`
13263
+
| `{"join" => "", "sum" => 0, "exit" => true, "exit!" => false, "split" => " ", "chomp" => "\n", "chomp!" => "\n"}`
13264
13264
|
13265
13265
|===
13266
13266
@@ -16463,7 +16463,7 @@ end
16463
16463
| Name | Default value | Configurable values
16464
16464
16465
16465
| Methods
16466
-
| `{"reduce"=>["acc", "elem"]}`, `{"inject"=>["acc", "elem"]}`
16466
+
| `{"reduce" => ["acc", "elem"]}`, `{"inject" => ["acc", "elem"]}`
16467
16467
| Array
16468
16468
|===
16469
16469
@@ -17379,7 +17379,7 @@ from the `String` class.
17379
17379
| Name | Default value | Configurable values
17380
17380
17381
17381
| PreferredMethods
17382
-
| `{"intern"=>"to_sym"}`
17382
+
| `{"intern" => "to_sym"}`
17383
17383
|
17384
17384
|===
17385
17385
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ following to your `.pre-commit-config.yaml` file:
125
125
[source,yaml]
126
126
----
127
127
- repo: https://github.com/rubocop/rubocop
128
-
rev: v1.79.1
128
+
rev: v1.79.2
129
129
hooks:
130
130
- id: rubocop
131
131
----
@@ -136,7 +136,7 @@ entries in `additional_dependencies`:
136
136
[source,yaml]
137
137
----
138
138
- repo: https://github.com/rubocop/rubocop
139
-
rev: v1.79.1
139
+
rev: v1.79.2
140
140
hooks:
141
141
- id: rubocop
142
142
additional_dependencies:
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3
3
module RuboCop
4
4
# This module holds the RuboCop version information.
5
5
module Version
6
-
STRING = '1.79.1'
6
+
STRING = '1.79.2'
7
7
8
8
MSG = '%<version>s (using %<parser_version>s, ' \
9
9
'rubocop-ast %<rubocop_ast_version>s, ' \
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
1
+
### Bug fixes
2
+
3
+
* [#11664](https://github.com/rubocop/rubocop/issues/11664): Cache wasn't getting used when using parallelization. ([@jvlara][])
4
+
* [#14411](https://github.com/rubocop/rubocop/issues/14411): Fix false negatives for `Layout/EmptyLinesAroundClassBody` when a class body starts with a blank line and defines a multiline superclass. ([@koic][])
5
+
* [#14413](https://github.com/rubocop/rubocop/issues/14413): Fix a false positive for `Layout/EmptyLinesAroundArguments` with multiline strings that contain only whitespace. ([@earlopain][])
6
+
* [#14408](https://github.com/rubocop/rubocop/pull/14408): Fix false-positive for `Layout/EmptyLinesAfterModuleInclusion` when inclusion is called with modifier. ([@r7kamura][])
7
+
* [#14402](https://github.com/rubocop/rubocop/issues/14402): Fix false positives for `Lint/UselessAssignment` when duplicate assignments appear in `if` branch inside a loop and the variable is used outside `while` loop. ([@koic][])
8
+
* [#14416](https://github.com/rubocop/rubocop/issues/14416): Fix false positives for `Style/MapToHash` when using `to_h` with block argument. ([@koic][])
9
+
* [#14418](https://github.com/rubocop/rubocop/pull/14418): Fix false positives for `Style/MapToSet` when using `to_set` with block argument. ([@koic][])
10
+
* [#14420](https://github.com/rubocop/rubocop/issues/14420): Fix false positives for `Style/SafeNavigation` when ternary expression with operator method call with method chain. ([@koic][])
11
+
12
+
### Changes
13
+
14
+
* [#14407](https://github.com/rubocop/rubocop/pull/14407): Register offense for parentheses around method calls with blocks in `Style/RedundantParentheses`. ([@lovro-bikic][])
15
+
16
+
[@jvlara]: https://github.com/jvlara
17
+
[@koic]: https://github.com/koic
18
+
[@earlopain]: https://github.com/earlopain
19
+
[@r7kamura]: https://github.com/r7kamura
20
+
[@lovro-bikic]: https://github.com/lovro-bikic
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4