Commit 335f90b
Auto merge of #1910 - rubygems:seg-finish-resolve-respects-activated, r=indirect
Allow Gem.finish_resolve to respect already-activated specs
# Description:
Previously, if a gem was already activated, `finish_resolve` wouldn't consider the activated dependency as a requirement, always leading to a hard error.
This makes finish_resolve work as you'd respect.
# Tasks:
- [x] Describe the problem / feature
- [x] Write tests
- [x] Write code to solve the problem
- [ ] Get code review from coworkers / friends
I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
(cherry picked from commit fd24f01)1 parent 2502ab2 commit 335f90b
File tree
3 files changed
+27
-0
lines changed- lib
- rubygems
- test/rubygems
3 files changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
| 1501 | + | |
| 1502 | + | |
1501 | 1503 | | |
1502 | 1504 | | |
1503 | 1505 | | |
| |||
1514 | 1516 | | |
1515 | 1517 | | |
1516 | 1518 | | |
| 1519 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
78 | 101 | | |
79 | 102 | | |
80 | 103 | | |
| |||
0 commit comments