mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
add acceptance test to cover gem cataloger + fix gem cataloger parent dir (#207)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -19,7 +19,7 @@ func NewGemFileLockCataloger() *common.GenericCataloger {
|
||||
// NewGemSpecCataloger returns a new Bundler cataloger object tailored for detecting installations of gems (e.g. Gemspec).
|
||||
func NewGemSpecCataloger() *common.GenericCataloger {
|
||||
globParsers := map[string]common.ParserFn{
|
||||
"**/specification/*.gemspec": parseGemSpecEntries,
|
||||
"**/specifications/*.gemspec": parseGemSpecEntries,
|
||||
}
|
||||
|
||||
return common.NewGenericCataloger(nil, globParsers, "ruby-gemspec-cataloger")
|
||||
|
||||
Reference in New Issue
Block a user