Skip to content
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 instructions for gems installations from git repository #2828

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

rubysamurai
Copy link
Contributor

Use RSpec monorepo for all related RSpec libraries.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

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

Thanks!

README.md Outdated
if lib == 'rspec-rails'
gem lib, git: "https://github.com/rspec/rspec-rails"
else
gem lib, git: "https://github.com/rspec/rspec", glob: "#{lib}/#{lib}.gemspec"
Copy link
Member

Choose a reason for hiding this comment

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

Above it says that it requires "main" branch, but I believe this is the case with this notation as well.

It also corresponds to how we do it here ourselves

gem lib, git: "https://github.com/rspec/rspec", glob: "#{lib}/#{lib}.gemspec"

Copy link
Member

Choose a reason for hiding this comment

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

To be honest this is out of date, you don't need to run against the main branch of the other libraries to run rspec-rails from git.

Copy link
Member

@pirj pirj Jan 10, 2025

Choose a reason for hiding this comment

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

Fair enough. And we don't have to run our rspec-rails CI against them, too, right?

Copy link
Member

Choose a reason for hiding this comment

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

We do need git main on CI, but only on CI.

@rubysamurai Would you be up to simplify this section of the README?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pirj I just did. Thanks for the review!

@JonRowe JonRowe merged commit 1965116 into rspec:main Jan 18, 2025
16 of 20 checks passed
@JonRowe
Copy link
Member

JonRowe commented Jan 18, 2025

Thanks, merged despite build failure because I fixed that elsewhere and this is only readme

JonRowe pushed a commit that referenced this pull request Feb 5, 2025
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.

None yet

3 participants