mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
Add homepage field as output to the gemspec metadata (#215)
https://github.com/anchore/syft/issues/214 Signed-off-by: Toure <tdunnon@gmail.com>
This commit is contained in:
parent
1fc46291a6
commit
8d25d44ea9
@ -21,6 +21,7 @@ func TestParseGemspec(t *testing.T) {
|
||||
Files: []string{"exe/bundle", "exe/bundler"},
|
||||
Authors: []string{"André Arko", "Samuel Giddins", "Colby Swandale", "Hiroshi Shibata", "David Rodríguez", "Grey Baker", "Stephanie Morillo", "Chris Morris", "James Wen", "Tim Moore", "André Medeiros", "Jessica Lynn Suttles", "Terence Lee", "Carl Lerche", "Yehuda Katz"},
|
||||
Licenses: []string{"MIT"},
|
||||
Homepage: "https://bundler.io",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -6,4 +6,5 @@ type GemMetadata struct {
|
||||
Files []string `mapstructure:"files" json:"files"`
|
||||
Authors []string `mapstructure:"authors" json:"authors"`
|
||||
Licenses []string `mapstructure:"licenses" json:"licenses"`
|
||||
Homepage string `mapstructure:"homepage" json:"homepage"`
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user