mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
more gemspec tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
committed by
Toure Dunnon
parent
abdd00cd24
commit
1f0f6fa3e5
@@ -1,7 +1,9 @@
|
||||
package pkg
|
||||
|
||||
type GemMetadata struct {
|
||||
Name string `mapstructure:"name" json:"name"`
|
||||
Version string `mapstructure:"version" json:"version"`
|
||||
// TODO: add more fields from the gemspec
|
||||
Name string `mapstructure:"name" json:"name"`
|
||||
Version string `mapstructure:"version" json:"version"`
|
||||
Files []string `mapstructure:"files" json:"files"`
|
||||
Authors []string `mapstructure:"authors" json:"authors"`
|
||||
Licenses []string `mapstructure:"licenses" json:"licenses"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user