Skip to content

Commit 7f8ce4d

Browse files
authored
Clarify version to use with Rails 6.0 (#2498)
* Update README.md By reading the README, it wasn't clear to me what version I'm supposed to use with Rails 6.0 and, to me "Rails from 5.0 to 6.0" means Rails 6.0 is included. After I read [versioning-strategy](https://github.com/rspec/rspec-rails/blob/main/rfcs/versioning-strategy.md), I understand rspec-rails 5.x have to used for Rails 6 and above. Also, the reasons of this rule wasn't clear.
1 parent ba2d66a commit 7f8ce4d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ 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.
12-
Use **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
13-
Use **[`rspec-rails` 1.x][]** for Rails 2.x.
11+
According to [RSpec Rails new versioning strategy][] use:
12+
* **[`rspec-rails` 5.x][]** for Rails 6.x.
13+
* **[`rspec-rails` 4.x][]** for Rails from 5.x or 6.x.
14+
* **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
15+
* **[`rspec-rails` 1.x][]** for Rails 2.x.
1416

1517
[Build Status]: https://secure.travis-ci.org/rspec/rspec-rails.svg?branch=main
1618
[travis-ci]: https://travis-ci.org/rspec/rspec-rails
@@ -23,6 +25,8 @@ Use **[`rspec-rails` 1.x][]** for Rails 2.x.
2325
[`rspec-rails` 1.x]: https://github.com/dchelimsky/rspec-rails
2426
[`rspec-rails` 3.x]: https://github.com/rspec/rspec-rails/tree/3-9-maintenance
2527
[`rspec-rails` 4.x]: https://github.com/rspec/rspec-rails/tree/4-1-maintenance
28+
[`rspec-rails` 5.x]: https://github.com/rspec/rspec-rails/tree/5-0-maintenance
29+
[RSpec Rails new versioning strategy]: https://github.com/rspec/rspec-rails/blob/main/rfcs/versioning-strategy.md
2630

2731
## Installation
2832

0 commit comments

Comments
 (0)