mirror of
https://github.com/anchore/syft.git
synced 2026-10-11 21:57:22 +02: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:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user