Commit 4f97a47

mo khan <mo.khan@gmail.com>
2020-01-23 23:05:31
Exclude nil licenses tag: v0.1.5
1 parent 1d4a524
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
lib/spandx/version.rb
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Spandx
-  VERSION = '0.1.4'
+  VERSION = '0.1.5'
 end
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
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)