File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Master (Unreleased)
4
4
5
+ ## 3.1.0 (2024-10-01)
6
+
5
7
- Add ` RSpec/StringAsInstanceDoubleConstant ` to check for and correct strings used as instance_doubles. ([ @corsonknowles ] )
6
8
- Fix false-positive for ` RSpec/UnspecifiedException ` when a method is literally named ` raise_exception ` . ([ @aarestad ] )
7
9
- Fix false-positive for ` RSpec/UnspecifiedException ` when ` not_to raise_error ` is used within a block. ([ @aarestad ] , [ @G-Rath ] )
Original file line number Diff line number Diff line change @@ -933,7 +933,7 @@ RSpec/StringAsInstanceDoubleConstant:
933
933
Description : Do not use a string as `instance_double` constant.
934
934
Enabled : pending
935
935
Safe : false
936
- VersionAdded : " <<next>> "
936
+ VersionAdded : ' 3.1 '
937
937
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StringAsInstanceDoubleConstant
938
938
939
939
RSpec/StubbedMock :
Original file line number Diff line number Diff line change 1
1
name : rubocop-rspec
2
2
title : RuboCop RSpec
3
- version : ~
3
+ version : ' 3.1 '
4
4
nav :
5
5
- modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change @@ -5501,7 +5501,7 @@ spec/models/user.rb # shared_examples_for 'foo'
5501
5501
| Pending
5502
5502
| No
5503
5503
| Always (Unsafe)
5504
- | <<next>>
5504
+ | 3.1
5505
5505
| -
5506
5506
|===
5507
5507
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module RuboCop
4
4
module RSpec
5
5
# Version information for the RSpec RuboCop plugin.
6
6
module Version
7
- STRING = '3.0.5 '
7
+ STRING = '3.1.0 '
8
8
end
9
9
end
10
10
end
You can’t perform that action at this time.
0 commit comments