forked from dependabot/dependabot-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dependabot#5484 from dependabot/pavera/add-multi-l…
…evel-wildcards Add support for multi-level wildcard paths in composer
- Loading branch information
Showing
6 changed files
with
174 additions
and
3 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
18 changes: 18 additions & 0 deletions
18
composer/spec/fixtures/github/composer_json_with_nested_path_deps.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "composer.json", | ||
"path": "composer.json", | ||
"sha": "5c7b3419e0056515122b981f1566ebe22c208251", | ||
"size": 594, | ||
"url": "https://api.github.com/repos/gocardless/bump/contents/composer.json?ref=master", | ||
"html_url": "https://github.com/gocardless/bump/blob/master/composer.json", | ||
"git_url": "https://api.github.com/repos/gocardless/bump/git/blobs/5c7b3419e0056515122b981f1566ebe22c208251", | ||
"download_url": "https://raw.githubusercontent.com/gocardless/bump/master/composer.json?token=ABMwe0apDiKCctWHnEHnszRBAebVHjQnks5WJWD9wA%3D%3D", | ||
"type": "file", | ||
"content": "ewogICAgInJlcG9zaXRvcmllcyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJ0eXBlIjogInBhdGgiLAogICAgICAgICAgICAidXJsIjogImNvbXBvbmVudHMvKi8qIiwKICAgICAgICAgICAgIm9wdGlvbnMiOiB7CiAgICAgICAgICAgICAgICAic3ltbGluayI6IGZhbHNlCiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICBdLAogICAgInJlcXVpcmUiOiB7CiAgICAgICAgIm1vbm9sb2cvbW9ub2xvZyI6ICIxLjAuKiIsCiAgICAgICAgInN5bWZvbnkvcG9seWZpbGwtbWJzdHJpbmciOiAiMS4wLioiCiAgICB9Cn0K\n", | ||
"encoding": "base64", | ||
"_links": { | ||
"self": "https://api.github.com/repos/gocardless/bump/contents/composer.json?ref=master", | ||
"git": "https://api.github.com/repos/gocardless/bump/git/blobs/5c7b3419e0056515122b981f1566ebe22c208251", | ||
"html": "https://github.com/gocardless/bump/blob/master/composer.json" | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
composer/spec/fixtures/github/contents_ruby_nested_path_directory_one.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"name": "another-dep", | ||
"path": "another-dep", | ||
"sha": "7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"size": 917, | ||
"url": "https://api.github.com/repos/gocardless/business/contents/vendor1/another-dep?ref=master", | ||
"html_url": "https://github.com/gocardless/business/blob/master/vendor1/another-dep", | ||
"git_url": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"download_url": "https://raw.githubusercontent.com/gocardless/business/master/vendor1/another-dep", | ||
"type": "dir", | ||
"_links": { | ||
"self": "https://api.github.com/repos/gocardless/business/contents/vendor1/another-dep?ref=master", | ||
"git": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"html": "https://github.com/gocardless/business/blob/master/vendor1/another-dep" | ||
} | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
composer/spec/fixtures/github/contents_ruby_nested_path_directory_two.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"name": "bump-core", | ||
"path": "bump-core", | ||
"sha": "7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"size": 917, | ||
"url": "https://api.github.com/repos/gocardless/business/contents/vendor2/bump-core?ref=master", | ||
"html_url": "https://github.com/gocardless/business/blob/master/vendor2/bump-core", | ||
"git_url": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"download_url": "https://raw.githubusercontent.com/gocardless/business/master/vendor2/bump-core", | ||
"type": "dir", | ||
"_links": { | ||
"self": "https://api.github.com/repos/gocardless/business/contents/vendor2/bump-core?ref=master", | ||
"git": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"html": "https://github.com/gocardless/business/blob/master/vendor2/bump-core" | ||
} | ||
} | ||
] |
34 changes: 34 additions & 0 deletions
34
composer/spec/fixtures/github/contents_ruby_nested_path_top_level.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
{ | ||
"name": "vendor1", | ||
"path": "vendor1", | ||
"sha": "7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"size": 917, | ||
"url": "https://api.github.com/repos/gocardless/business/contents/vendor1?ref=master", | ||
"html_url": "https://github.com/gocardless/business/blob/master/vendor1", | ||
"git_url": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"download_url": "https://raw.githubusercontent.com/gocardless/business/master/vendor1", | ||
"type": "dir", | ||
"_links": { | ||
"self": "https://api.github.com/repos/gocardless/business/contents/vendor1?ref=master", | ||
"git": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"html": "https://github.com/gocardless/business/blob/master/vendor1" | ||
} | ||
}, | ||
{ | ||
"name": "vendor2", | ||
"path": "vendor2", | ||
"sha": "7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"size": 917, | ||
"url": "https://api.github.com/repos/gocardless/business/contents/vendor2?ref=master", | ||
"html_url": "https://github.com/gocardless/business/blob/master/vendor2", | ||
"git_url": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"download_url": "https://raw.githubusercontent.com/gocardless/business/master/vendor2", | ||
"type": "dir", | ||
"_links": { | ||
"self": "https://api.github.com/repos/gocardless/business/contents/vendor2?ref=master", | ||
"git": "https://api.github.com/repos/gocardless/business/git/blobs/7ac321e0e1b20c05042f3af419beb322db0e4cc1", | ||
"html": "https://github.com/gocardless/business/blob/master/vendor2" | ||
} | ||
} | ||
] |