Skip to content

Commit 5e06176

Browse files
authored
Merge pull request #1963 from rubocop/release
Bump version to v3.1.0
2 parents dea7de9 + 34c042e commit 5e06176

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
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+
## 3.1.0 (2024-10-01)
6+
57
- Add `RSpec/StringAsInstanceDoubleConstant` to check for and correct strings used as instance_doubles. ([@corsonknowles])
68
- Fix false-positive for `RSpec/UnspecifiedException` when a method is literally named `raise_exception`. ([@aarestad])
79
- Fix false-positive for `RSpec/UnspecifiedException` when `not_to raise_error` is used within a block. ([@aarestad], [@G-Rath])

config/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ RSpec/StringAsInstanceDoubleConstant:
933933
Description: Do not use a string as `instance_double` constant.
934934
Enabled: pending
935935
Safe: false
936-
VersionAdded: "<<next>>"
936+
VersionAdded: '3.1'
937937
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StringAsInstanceDoubleConstant
938938

939939
RSpec/StubbedMock:

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rubocop-rspec
22
title: RuboCop RSpec
3-
version: ~
3+
version: '3.1'
44
nav:
55
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5501,7 +5501,7 @@ spec/models/user.rb # shared_examples_for 'foo'
55015501
| Pending
55025502
| No
55035503
| Always (Unsafe)
5504-
| <<next>>
5504+
| 3.1
55055505
| -
55065506
|===
55075507

lib/rubocop/rspec/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RuboCop
44
module RSpec
55
# Version information for the RSpec RuboCop plugin.
66
module Version
7-
STRING = '3.0.5'
7+
STRING = '3.1.0'
88
end
99
end
1010
end

0 commit comments

Comments
 (0)