diff options
Diffstat (limited to 'spec/fixtures/expected/go/modules')
| -rw-r--r-- | spec/fixtures/expected/go/modules/v1.0.json | 12 | ||||
| -rw-r--r-- | spec/fixtures/expected/go/modules/v1.1.json | 20 | ||||
| -rw-r--r-- | spec/fixtures/expected/go/modules/v2.0.json | 18 | ||||
| -rw-r--r-- | spec/fixtures/expected/go/modules/v2.1.json | 16 |
4 files changed, 35 insertions, 31 deletions
diff --git a/spec/fixtures/expected/go/modules/v1.0.json b/spec/fixtures/expected/go/modules/v1.0.json index 1433dbf..4902d39 100644 --- a/spec/fixtures/expected/go/modules/v1.0.json +++ b/spec/fixtures/expected/go/modules/v1.0.json @@ -6,7 +6,7 @@ }, { "count": 2, - "name": "unknown" + "name": "New BSD" }, { "count": 1, @@ -18,7 +18,7 @@ }, { "count": 1, - "name": "New BSD" + "name": "Simplified BSD" } ], "dependencies": [ @@ -63,7 +63,8 @@ }, { "license": { - "name": "unknown" + "name": "New BSD", + "url": "http://opensource.org/licenses/BSD-3-Clause" }, "dependency": { "name": "github.com/pmezard/go-difflib", @@ -127,7 +128,8 @@ }, { "license": { - "name": "unknown" + "name": "Simplified BSD", + "url": "http://opensource.org/licenses/bsd-license" }, "dependency": { "name": "gopkg.in/check.v1", @@ -151,4 +153,4 @@ } } ] -}
\ No newline at end of file +} diff --git a/spec/fixtures/expected/go/modules/v1.1.json b/spec/fixtures/expected/go/modules/v1.1.json index 6316bec..f0b9112 100644 --- a/spec/fixtures/expected/go/modules/v1.1.json +++ b/spec/fixtures/expected/go/modules/v1.1.json @@ -7,7 +7,7 @@ }, { "count": 2, - "name": "unknown" + "name": "New BSD" }, { "count": 1, @@ -19,7 +19,7 @@ }, { "count": 1, - "name": "New BSD" + "name": "Simplified BSD" } ], "dependencies": [ @@ -83,12 +83,13 @@ { "licenses": [ { - "name": "unknown", - "url": "" + "name": "New BSD", + "url": "http://opensource.org/licenses/BSD-3-Clause" } ], "license": { - "name": "unknown" + "name": "New BSD", + "url": "http://opensource.org/licenses/BSD-3-Clause" }, "dependency": { "name": "github.com/pmezard/go-difflib", @@ -177,12 +178,13 @@ { "licenses": [ { - "name": "unknown", - "url": "" + "name": "Simplified BSD", + "url": "http://opensource.org/licenses/bsd-license" } ], "license": { - "name": "unknown" + "name": "Simplified BSD", + "url": "http://opensource.org/licenses/bsd-license" }, "dependency": { "name": "gopkg.in/check.v1", @@ -216,4 +218,4 @@ } } ] -}
\ No newline at end of file +} diff --git a/spec/fixtures/expected/go/modules/v2.0.json b/spec/fixtures/expected/go/modules/v2.0.json index 0e60fb8..49289a8 100644 --- a/spec/fixtures/expected/go/modules/v2.0.json +++ b/spec/fixtures/expected/go/modules/v2.0.json @@ -8,9 +8,9 @@ "count": 6 }, { - "id": "unknown", - "name": "unknown", - "url": "", + "id": "BSD-3-Clause", + "name": "BSD 3-Clause \"New\" or \"Revised\" License", + "url": "https://opensource.org/licenses/BSD-3-Clause", "count": 2 }, { @@ -20,9 +20,9 @@ "count": 1 }, { - "id": "BSD-3-Clause", - "name": "BSD 3-Clause \"New\" or \"Revised\" License", - "url": "https://opensource.org/licenses/BSD-3-Clause", + "id": "BSD-2-Clause", + "name": "BSD 2-Clause \"Simplified\" License", + "url": "https://opensource.org/licenses/BSD-2-Clause", "count": 1 }, { @@ -74,7 +74,7 @@ "." ], "licenses": [ - "unknown" + "BSD-3-Clause" ] }, { @@ -129,7 +129,7 @@ "." ], "licenses": [ - "unknown" + "BSD-2-Clause" ] }, { @@ -145,4 +145,4 @@ ] } ] -}
\ No newline at end of file +} diff --git a/spec/fixtures/expected/go/modules/v2.1.json b/spec/fixtures/expected/go/modules/v2.1.json index 1782d06..c86fe8e 100644 --- a/spec/fixtures/expected/go/modules/v2.1.json +++ b/spec/fixtures/expected/go/modules/v2.1.json @@ -7,6 +7,11 @@ "url": "https://opensource.org/licenses/Apache-2.0" }, { + "id": "BSD-2-Clause", + "name": "BSD 2-Clause \"Simplified\" License", + "url": "https://opensource.org/licenses/BSD-2-Clause" + }, + { "id": "BSD-3-Clause", "name": "BSD 3-Clause \"New\" or \"Revised\" License", "url": "https://opensource.org/licenses/BSD-3-Clause" @@ -20,11 +25,6 @@ "id": "MIT", "name": "MIT License", "url": "https://opensource.org/licenses/MIT" - }, - { - "id": "unknown", - "name": "unknown", - "url": "" } ], "dependencies": [ @@ -61,7 +61,7 @@ "package_manager": "go", "path": "go.sum", "licenses": [ - "unknown" + "BSD-3-Clause" ] }, { @@ -106,7 +106,7 @@ "package_manager": "go", "path": "go.sum", "licenses": [ - "unknown" + "BSD-2-Clause" ] }, { @@ -120,4 +120,4 @@ ] } ] -}
\ No newline at end of file +} |
