Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

[SpecSet] Sort by name in #tsort #5707

Merged
merged 2 commits into from
Jun 7, 2017
Merged

Conversation

segiddins
Copy link
Member

@segiddins segiddins commented Jun 6, 2017

Closes #5696

This is required for backwards compatibility, see
issue #5696 for an example. The issue is that previous versions of bundler would have the load path in one (correct) order, and master has them in another (correct) order. So some projects depend on the load path ordering when multiple gems have the same requirable file.

  • Test case

@segiddins segiddins added this to the 1.15.2 milestone Jun 6, 2017
@indirect
Copy link
Member

indirect commented Jun 6, 2017

Is the issue here that multiple gems have the same files, and a require needs to hit the correct gem first for things to work?

@segiddins
Copy link
Member Author

Is the issue here that multiple gems have the same files, and a require needs to hit the correct gem first for things to work?

Yup! updated PR description

@indirect
Copy link
Member

indirect commented Jun 6, 2017

Looks good. @bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 8165661 has been approved by indirect

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 8165661 with merge e32353b...

bundlerbot added a commit that referenced this pull request Jun 6, 2017
[SpecSet] Sort by name in #tsort

Closes #5696

This is required for backwards compatibility, see
issue #5696  for an example. The issue is that previous versions of bundler would have the load path in one (correct) order, and master has them in another (correct) order. So some projects depend on the load path ordering when multiple gems have the same requirable file.

- [x] Test case
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: indirect
Pushing e32353b to master...

@bundlerbot bundlerbot merged commit 8165661 into master Jun 7, 2017
@segiddins segiddins deleted the seg-sort-by-name-spec-set branch June 23, 2017 17:22
@schneems
Copy link
Contributor

Thanks for the fix!

segiddins pushed a commit that referenced this pull request Jul 17, 2017
[SpecSet] Sort by name in #tsort

Closes #5696

This is required for backwards compatibility, see
issue #5696  for an example. The issue is that previous versions of bundler would have the load path in one (correct) order, and master has them in another (correct) order. So some projects depend on the load path ordering when multiple gems have the same requirable file.

- [x] Test case

(cherry picked from commit e32353b)

# Conflicts:
#	spec/runtime/setup_spec.rb
@segiddins
Copy link
Member Author

Released in 1.15.2, sorry for the long delay

schneems added a commit to heroku/heroku-buildpack-ruby that referenced this pull request Jul 17, 2017
@schneems
Copy link
Contributor

No worries, today was the first time I've seen the bug in action. Thanks for the release. I'm going to push this out to Heroku as soon as I can heroku/heroku-buildpack-ruby#602.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants