-
-
Notifications
You must be signed in to change notification settings - Fork 2k
[Source::Path] Sort gemspecs by relative depth #3428
Conversation
hah, clever. I was going to have two globs, the first only matching the top level. I think this is a better general solution |
Let me know if you want specs for this change -Samuel E. Giddins On Feb 23, 2015, at 6:25 PM, André Arko [email protected] wrote: hah, clever. I was going to have two globs, the first only matching the top level. I think this is a better general solution — |
I think the existing specs probably cover this sufficiently? Of course, I may regret saying that in a few weeks or months, so if you could add a spec that would be great. 👍 |
Hm, I can't use the premailer example to make a realworld spec, since only their development dependencies differ. |
👍 thanks @segiddins! A spec would be good, if only to make sure nobody breaks it again in the future. It might work to use the |
@TimMoore would be happy to -- any pointers on how to do that with |
@segiddins it can take a block, and yields a builder object that can be used to write files into the path. See https://github.com/bundler/bundler/blob/master/spec/install/path_spec.rb#L56 for example
|
@TimMoore updated with a spec + comments :) Turned out the issue was |
Yay specs! :) On Thu, Feb 26, 2015 at 4:13 PM, Samuel E. Giddins
|
LGTM 👍 |
[Source::Path] Sort gemspecs by relative depth
Attempts to close #3286, https://trello.com/c/DQx0OKJl/82-search-for-gemspecs-near-the-root-of-a-git-repo-first
\c @TimMoore