spandx 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e7053e8bfb9564f28b5ebe1b4b2250966eaf94f0edc22503e76d6d2fca76427
4
- data.tar.gz: fb273d38a70bd4fa58d674c1a4f9032e76c0a1967c6d1390e78aa7671b37c3ca
3
+ metadata.gz: 9bc9c449db0cbce37e841c358d608953e9d9cde996aec5b8c4304457bce934a4
4
+ data.tar.gz: 28fe5ca88aa73cd47e1de6aa70bb49868a642896da10ddde3ecbcf6037fc612e
5
5
  SHA512:
6
- metadata.gz: f71bcfd8fd4fc3e0ce4081db8f397f3051ff58a1e76e5c214c410487b913163b584547b5a179d5140a45fb81be061676d3b65d52ad31ca7ae09389c69710d40a
7
- data.tar.gz: c56ea13c20421a44e2dc29a33420187c1dbe017b0c02d38c10aa3d65cd6ddd5764ccbca3f1f9e65662b41bb3bd02bb322aea60f560a85551f5d8116ac288f792
6
+ metadata.gz: 33d9b54d4efa74cb7a76032c13ece5be12e11ef52c2dc8d088bb2f78837a1b92c1f85c2e7b01df17d3dae0566dad4db24758d29dae438751e466d95fb06952cb
7
+ data.tar.gz: b9f35181f330a8782e314b1118b731f32f98844f51f01560b3fbf975daed4d63e13923082483fb8713fb38826e89abe0f3889e5f39d9695780a95536d132c4b9
@@ -1,4 +1,4 @@
1
- Version 0.1.6
1
+ Version 0.1.7
2
2
 
3
3
  # Changelog
4
4
 
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
  ### Added
12
12
  - nil
13
13
 
14
+ ## [0.1.7] - 2020-01-28
15
+ ### Added
16
+ - Handle `nil` licenses from rubygems.org API response
17
+
14
18
  ## [0.1.6] - 2020-01-27
15
19
  ### Added
16
20
  - Scan csproj files that depend on other project files
@@ -43,7 +47,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
43
47
  ### Added
44
48
  - Provide ruby API to the latest SPDX catalogue.
45
49
 
46
- [Unreleased]: https://github.com/mokhan/spandx/compare/v0.1.6...HEAD
50
+ [Unreleased]: https://github.com/mokhan/spandx/compare/v0.1.7...HEAD
51
+ [0.1.7]: https://github.com/mokhan/spandx/compare/v0.1.6...v0.1.7
47
52
  [0.1.6]: https://github.com/mokhan/spandx/compare/v0.1.5...v0.1.6
48
53
  [0.1.5]: https://github.com/mokhan/spandx/compare/v0.1.4...v0.1.5
49
54
  [0.1.4]: https://github.com/mokhan/spandx/compare/v0.1.3...v0.1.4
@@ -9,7 +9,7 @@ module Spandx
9
9
  end
10
10
 
11
11
  def licenses_for(name, version)
12
- details_on(name, version).fetch('licenses', [])
12
+ details_on(name, version)['licenses'] || []
13
13
  end
14
14
 
15
15
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spandx
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spandx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - mo khan