-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make git_source work in nested groups
If you declare a `git_source` at the top level of your Gemfile or a spec in Appraisals, it will substitute the gem source in `gem` declarations. If you want to use those gem sources in nested groups declared with `group`, `platforms`, `platform`, `source`, `git`, or `path`, the `git_source` declarations from the top level aren't inherited, so they don't work like they do with bundler. Fortunately, in `BundlerDSL` there's a protected `git_sources` writer, and all the groups are also declared in that file. It should be easy enough to assign all of the group objects to a copy of the `git_sources`. That would make the substitutions work. Fixes #159.
- Loading branch information
1 parent
92d5134
commit a88ea24
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters