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 rack-test dependency constraint #29859

Merged
merged 1 commit into from
Jul 24, 2017
Merged

Update rack-test dependency constraint #29859

merged 1 commit into from
Jul 24, 2017

Conversation

dwightwatson
Copy link
Contributor

Summary

This updates the dependency constraint for rack-test in actionpack. rack-test is the only gem that appears as outdated when running bundle outdated on a fresh installation of Rails.

I've checked the changelog for rack-test and it doesn't appear to have breaking changes, and the actionpack tests passed locally for me after the change.

Other Information

This is my first Rails PR so I hope I'm doing it right - wasn't sure whether I should commit the updated Gemfile.lock as well or if I needed to update the changelog. Happy to be pointed in the right direction for any changes.

@rails-bot
Copy link

Thanks for the pull request, and welcome! The Rails team is excited to review your changes, and you should hear from @sgrif (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

This repository is being automatically checked for code quality issues using Code Climate. You can see results for this analysis in the PR status below. Newly introduced issues should be fixed before a Pull Request is considered ready to review.

Please see the contribution instructions for more information.

@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
s.add_dependency "activesupport", version

s.add_dependency "rack", "~> 2.0"
s.add_dependency "rack-test", "~> 0.6.3"
s.add_dependency "rack-test", "~> 0.7.0"
Copy link
Member

Choose a reason for hiding this comment

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

Is there any reason to disallow 0.6.3? If not this should be s.add_dependency "rack-test", ">= 0.6.3"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, that's fair - updated. Thank you.

@rafaelfranca
Copy link
Member

Cloud you squash your commits?

@dwightwatson
Copy link
Contributor Author

Of course, done.

xtina-starr pushed a commit to xtina-starr/rails that referenced this pull request Jul 24, 2017
@rafaelfranca rafaelfranca merged commit de550be into rails:master Jul 24, 2017
@dwightwatson dwightwatson deleted the feature/rack-test branch July 25, 2017 03:08
@mvz
Copy link

mvz commented Aug 4, 2017

This is not part of 5.1.3 😞

@rafaelfranca
Copy link
Member

@mvz why do you need it in 5.1? Is there anything in rack-test that require us to backport?

@mvz
Copy link

mvz commented Aug 5, 2017

@rafaelfranca only for the reason given for this PR:

rack-test is the only gem that appears as outdated when running bundle outdated on a fresh installation of Rails.

@rafaelfranca
Copy link
Member

Done

rafaelfranca added a commit that referenced this pull request Aug 8, 2017
Update rack-test dependency constraint
@mvz
Copy link

mvz commented Aug 9, 2017

Awesome, thanks!

@morgoth
Copy link
Member

morgoth commented Sep 18, 2017

This caused regression in new release #30570 because of rack/rack-test#200

toby-brilliant added a commit to BrilliantTechnology/rails that referenced this pull request Nov 21, 2022
Backport [rails#29859](rails#29859) to enable rack-test upgrades.

`Rack-test` is by far our oldest dependency and is pinned by our Rails version. Given that we've forked Rails anyways, we may as well loosen this constraint of this test dependency (which has been done on Rails master anyways since Rails 5.2).
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

6 participants