diff options
| author | mo khan <mo.khan@gmail.com> | 2019-10-22 13:49:16 +0000 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-10-22 13:49:16 +0000 |
| commit | 4aae7a37f52586544d5c39304e5aed617d60edf7 (patch) | |
| tree | b8b0ccbbe7a3ce90c56925168efe855aa9b366d8 /lib | |
| parent | a6adceebeb1ca109439636f90459263ddc828682 (diff) | |
| parent | 906713a2c5e461522a7bec79b66dc75dcf7d4cce (diff) | |
Merge branch '13083-license-urls' into 'master'
Use user friendly URL instead of details URL.
See merge request gitlab-org/security-products/license-management!72
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/license/management/repository.rb | 2 | ||||
| -rw-r--r-- | lib/license/management/version.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/license/management/repository.rb b/lib/license/management/repository.rb index a478dd6..164653c 100644 --- a/lib/license/management/repository.rb +++ b/lib/license/management/repository.rb @@ -36,7 +36,7 @@ module License { 'id' => data['licenseId'], 'name' => data['name'], - 'url' => data['detailsUrl'] + 'url' => data['seeAlso'][-1] } else log_info("could not find license named `#{license.send(:short_name)}` in SPDX index") diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb index 7fec52d..8e65182 100644 --- a/lib/license/management/version.rb +++ b/lib/license/management/version.rb @@ -2,6 +2,6 @@ module License module Management - VERSION = '1.7.0' + VERSION = '1.7.1' end end |
