-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Update docs to use the correct branch name for older rails versions #2453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs to use the correct branch name for older rails versions #2453
Conversation
README.md
Outdated
# Or, run against the master branch | ||
# (requires master-branch versions of all related RSpec libraries) | ||
# Replace branch name with the appropriate branch for your rails version | ||
group :development, :test do | ||
%w[rspec-core rspec-expectations rspec-mocks rspec-rails rspec-support].each do |lib| | ||
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'master' | ||
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => '3-9-maintenance' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest on the 3-9-maintenance
branch is released and can be fetched from RubyGems with ~> 3.9
as described above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't mentioned with the block gem declaration.
Thank you for your contribution, but we do not maintain the previous versions. |
I think updating the readme is a reasonable ask here. |
README.md
Outdated
@@ -33,9 +33,10 @@ Use **[`rspec-rails` 1.x][]** for Rails 2.x. | |||
|
|||
# Or, run against the master branch | |||
# (requires master-branch versions of all related RSpec libraries) | |||
# Replace branch name with the appropriate branch for your rails version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole comment block should be:
# Or, run against the maintenance branch
# (requires the same maintenance branch for all related RSpec libraries)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally prehaps we should add:
# Note that 3.9 is end of life and all changes have been released.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good points
Addresses #2452