Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cataloging gemspec files #197

Closed
alfredodeza opened this issue Sep 30, 2020 · 0 comments · Fixed by #203
Closed

Support cataloging gemspec files #197

alfredodeza opened this issue Sep 30, 2020 · 0 comments · Fixed by #203
Assignees
Labels
enhancement New feature or request

Comments

@alfredodeza
Copy link
Contributor

alfredodeza commented Sep 30, 2020

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,
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants