mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 23:46:35 +01:00
Follow convention for naming catalogers (#2277)
* follow convention for naming catalogers Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix cataloger name example Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Package ruby bundler provides a concrete Cataloger implementation for Ruby Gemfile.lock bundler files.
|
||||
Package ruby provides a concrete Cataloger implementation relating to packages within the Ruby language ecosystem.
|
||||
*/
|
||||
package ruby
|
||||
|
||||
@@ -15,7 +15,7 @@ func NewGemFileLockCataloger() *generic.Cataloger {
|
||||
|
||||
// NewInstalledGemSpecCataloger returns a new Bundler cataloger object tailored for detecting installations of gems (e.g. Gemspec).
|
||||
func NewInstalledGemSpecCataloger() *generic.Cataloger {
|
||||
return generic.NewCataloger("ruby-gemspec-cataloger").
|
||||
return generic.NewCataloger("ruby-installed-gemspec-cataloger").
|
||||
WithParserByGlobs(parseGemSpecEntries, "**/specifications/**/*.gemspec")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user