summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-23 16:05:31 -0700
committermo khan <mo.khan@gmail.com>2020-01-23 16:05:31 -0700
commit4f97a47341dff7c0e6cb17295cca2e2f22823082 (patch)
tree0435a7f4ac10bb8ad3fbebc94ade1ab4a022eaa7
parent1d4a5241a805db4a69aec7dbc478a2a9924d3f78 (diff)
Exclude nil licensesv0.1.5
-rw-r--r--CHANGELOG.md14
-rw-r--r--Gemfile.lock2
-rw-r--r--lib/spandx/dependency.rb2
-rw-r--r--lib/spandx/version.rb2
4 files changed, 13 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 449c074..cbc69db 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,15 +1,20 @@
-Version 0.1.4
+Version 0.1.5
# Changelog
+
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+- nil
+
+## [0.1.5] - 2020-01-23
### Added
+- Exclude `nil` licenses from report
-## [0.1.4] - 2020-01-22
+## [0.1.4] - 2020-01-23
### Added
- Add dependency on bundler
- Scan nuget `packages.config` files
@@ -31,8 +36,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Provide ruby API to the latest SPDX catalogue.
-[Unreleased]: https://github.com/mokhan/spandx/compare/v0.1.4...HEAD
-[0.1.3]: https://github.com/mokhan/spandx/compare/v0.1.3...v0.1.4
+[Unreleased]: https://github.com/mokhan/spandx/compare/v0.1.5...HEAD
+[0.1.5]: https://github.com/mokhan/spandx/compare/v0.1.4...v0.1.5
+[0.1.4]: https://github.com/mokhan/spandx/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/mokhan/spandx/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/mokhan/spandx/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/mokhan/spandx/compare/v0.1.0...v0.1.1
diff --git a/Gemfile.lock b/Gemfile.lock
index 9a159cf..05f1ae5 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- spandx (0.1.4)
+ spandx (0.1.5)
bundler (>= 1.16, < 3.0.0)
licensee (~> 9.13)
net-hippie (~> 0.3)
diff --git a/lib/spandx/dependency.rb b/lib/spandx/dependency.rb
index 061b476..6185b2b 100644
--- a/lib/spandx/dependency.rb
+++ b/lib/spandx/dependency.rb
@@ -14,7 +14,7 @@ module Spandx
{
name: name,
version: version,
- licenses: licenses.map(&:id)
+ licenses: licenses.compact.map(&:id)
}
end
end
diff --git a/lib/spandx/version.rb b/lib/spandx/version.rb
index 335049d..e4a5cc8 100644
--- a/lib/spandx/version.rb
+++ b/lib/spandx/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Spandx
- VERSION = '0.1.4'
+ VERSION = '0.1.5'
end