Skip to content

Commit 1195037

Browse files
committed
Update readme to refer to 5.0
1 parent 1f9e3b5 commit 1195037

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ They’re also specifications (or _specs,_ for short):
88
detailed explanations of how the application is supposed to behave,
99
expressed in plain English.
1010

11+
Use **[`rspec-rails` 4.x][]** for Rails from 5.0 to 6.0.
1112
Use **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
1213
Use **[`rspec-rails` 1.x][]** for Rails 2.x.
1314

@@ -21,19 +22,20 @@ Use **[`rspec-rails` 1.x][]** for Rails 2.x.
2122
[Ruby on Rails]: https://rubyonrails.org/
2223
[`rspec-rails` 1.x]: https://github.com/dchelimsky/rspec-rails
2324
[`rspec-rails` 3.x]: https://github.com/rspec/rspec-rails/tree/3-9-maintenance
25+
[`rspec-rails` 4.x]: https://github.com/rspec/rspec-rails/tree/4-1-maintenance
2426

2527
## Installation
2628

27-
**IMPORTANT** This README / branch refers to the current development build.
28-
See the [`4-1-maintenance` branch on Github](https://github.com/rspec/rspec-rails/tree/4-0-maintenance) if you want or require the latest stable release.
29+
**IMPORTANT** This README / branch refers to the 5.0.x series of releases.
30+
See the [`main` branch on Github](https://github.com/rspec/rspec-rails/tree/main) for more up to date releases.
2931

3032
1. Add `rspec-rails` to **both** the `:development` and `:test` groups
3133
of your app’s `Gemfile`:
3234

3335
```ruby
34-
# Run against the latest stable release
36+
# Run against this stable release
3537
group :development, :test do
36-
gem 'rspec-rails', '~> 4.1.0'
38+
gem 'rspec-rails', '~> 5.0.0'
3739
end
3840

3941
# Or, run against the main branch

0 commit comments

Comments
 (0)