Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support cataloging gemspec files #197

@alfredodeza

Description

@alfredodeza

What would you like to be added: Cataloging Ruby packages installed by gem - which requires parsing of gemspec files.

Why is this needed: To support parity with Anchore Engine that does parse gemspec, specifically related to this issue anchore/anchore-engine#629

Additional context: A gemspec parser will need to be put in place, similar to this:

// New returns a new Bundler cataloger object.
func New() *Cataloger {
	globParsers := map[string]common.ParserFn{
		"**/Gemfile.lock": parseGemfileLockEntries,
		".*specifications.*\.gemspec$": parseGemSpecEntries,
	}

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions