Skip to content

Commit 056ee5a

Browse files
committed
Bump version to 2.0.0
- Add explicit dependency on rubocop-ast >= 1.1.0. - Rename the "Change log" to "Changelog". - Remove mention of "potentially breaking" changes. All changes between 1.x and 2.0 should be regarded as potentially breaking, so no need to highlight one over the rest. - Link to the upgrade document from README.
1 parent cc09e7d commit 056ee5a

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

CHANGELOG.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
# Change log
1+
# Changelog
22

33
## Master (Unreleased)
44

5+
## 2.0.0 (2020-11-06)
6+
57
* Remove deprecated class `::RuboCop::Cop::RSpec::Cop`. ([@bquorning][])
68
* Retire `RSpec/InvalidPredicateMatcher` cop. ([@pirj][])
79
* Remove the code responsible for filtering files to inspect. ([@pirj][])
810
* Make RSpec language elements configurable. ([@sl4vr][])
911
* Remove `CustomIncludeMethods` `RSpec/EmptyExampleGroup` option in favour of the new RSpec DSL configuration. ([@pirj][])
10-
* Enabled pending cops (`RSpec/StubbedMock'). ([@pirj][])
12+
* Enabled pending cop (`RSpec/StubbedMock`). ([@pirj][])
1113

1214
## 2.0.0.pre (2020-10-22)
1315

1416
* Update RuboCop dependency to v1.0.0. ([@bquorning][])
15-
* **(Potentially breaking)** Change namespace of several cops (`Capybara/*` -> `RSpec/Capybara/*`, `FactoryBot/*` -> `RSpec/FactoryBot/*`, `Rails/*` -> `RSpec/Rails/*`). ([@pirj][], [@bquorning][])
17+
* Change namespace of several cops (`Capybara/*` -> `RSpec/Capybara/*`, `FactoryBot/*` -> `RSpec/FactoryBot/*`, `Rails/*` -> `RSpec/Rails/*`). ([@pirj][], [@bquorning][])
1618

1719
## 1.44.1 (2020-10-20)
1820

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ or if you use bundler put this in your `Gemfile`
2323
gem 'rubocop-rspec', require: false
2424
```
2525

26+
### Upgrading to RuboCop RSpec v2.x
27+
28+
Read all the details in our [Upgrade to Version 2.x](https://docs.rubocop.org/rubocop-rspec/2.0/upgrade_to_version_2.html) document.
29+
2630
## Usage
2731

2832
You need to tell RuboCop to load the RSpec extension. There are three

docs/antora.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rubocop-rspec
22
title: RuboCop RSpec
3-
version: master
3+
version: '2.0'
44
nav:
55
- modules/ROOT/nav.adoc

lib/rubocop/rspec/version.rb

+1-1
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 = '2.0.0.pre'
7+
STRING = '2.0.0'
88
end
99
end
1010
end

rubocop-rspec.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Gem::Specification.new do |spec|
3737
}
3838

3939
spec.add_runtime_dependency 'rubocop', '~> 1.0'
40+
spec.add_runtime_dependency 'rubocop-ast', '>= 1.1.0'
4041

4142
spec.add_development_dependency 'rack'
4243
spec.add_development_dependency 'rake'

0 commit comments

Comments
 (0)