forked from anchore/syft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sections of interest for Gemfile.lock cataloger (anchore#1749)
- Updated tests to reflect the new sections being added to show they function properly. Closes anchore#1660 Signed-off-by: Shane Dell <[email protected]>
- Loading branch information
Showing
5 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ func TestParseGemfileLockEntries(t *testing.T) { | |
{Name: "coffee-script-source", Version: "1.7.0", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "erubis", Version: "2.7.0", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "execjs", Version: "2.0.2", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "google-cloud-errors", Version: "1.3.0", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "hike", Version: "1.2.3", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "i18n", Version: "0.6.9", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "jbuilder", Version: "2.0.7", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
|
@@ -59,7 +60,7 @@ func TestParseGemfileLockEntries(t *testing.T) { | |
{Name: "thread_safe", Version: "0.3.3", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "tilt", Version: "1.4.1", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "treetop", Version: "1.4.15", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "turbolinks", Version: "2.2.2", PURL: "pkg:gem/turbolinks@2.2.2", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "turbolinks", Version: "3.0.0", PURL: "pkg:gem/turbolinks@3.0.0", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "tzinfo", Version: "1.2.0", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "uglifier", Version: "2.5.0", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
{Name: "unicorn", Version: "4.8.3", PURL: "pkg:gem/[email protected]", Locations: locations, Language: pkg.Ruby, Type: pkg.GemPkg}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters