Skip to content

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

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

akcrono
Copy link

@akcrono akcrono commented Feb 1, 2021

Addresses #2452

README.md Outdated
Comment on lines 34 to 39
# 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'
Copy link
Member

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.

Copy link
Author

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.

@pirj
Copy link
Member

pirj commented Feb 2, 2021

Thank you for your contribution, but we do not maintain the previous versions.

@pirj pirj closed this Feb 2, 2021
@JonRowe
Copy link
Member

JonRowe commented Feb 2, 2021

I think updating the readme is a reasonable ask here.

@JonRowe JonRowe reopened this Feb 2, 2021
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
Copy link
Member

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)

Copy link
Member

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good points

@JonRowe JonRowe merged commit 63a54a3 into rspec:3-9-maintenance Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants