spandx 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/spandx/rubygems/offline_index.rb +4 -1
- data/lib/spandx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 694c16875566407ff41f6d791d7499de4a4686231e8f24b3c0393d14039d764c
|
4
|
+
data.tar.gz: 49873d42c52d18fe55e95a32f98b1f5b115a46aa12ebd8df0247a78173953c60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0bce586e02b70dd48a48819970c6b51198048a8ee7b6310f5959e56b13772ada9925524f1718add10e392e0a52b64907a39eeeffedb6a8cd22486e15daf84c4
|
7
|
+
data.tar.gz: ddb03108be865151c7c39e78a57f7988c49333bd086ca333f4b54ecd13a55b6d8f82fe0ac0a64a869ea96c0b28bca910c3558bd783dc193ffdc650dd0649b0cb
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Version 0.10.
|
1
|
+
Version 0.10.1
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
@@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
8
8
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
9
9
|
|
10
10
|
## [Unreleased]
|
11
|
+
## [0.10.1] - 2020-03-16
|
12
|
+
### Fixed
|
13
|
+
- Update location of `rubygems` index data
|
11
14
|
|
12
15
|
## [0.10.0] - 2020-03-16
|
13
16
|
### Added
|
@@ -106,7 +109,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
106
109
|
### Added
|
107
110
|
- Provide ruby API to the latest SPDX catalogue.
|
108
111
|
|
109
|
-
[Unreleased]: https://github.com/mokhan/spandx/compare/v0.10.
|
112
|
+
[Unreleased]: https://github.com/mokhan/spandx/compare/v0.10.1...HEAD
|
113
|
+
[0.10.1]: https://github.com/mokhan/spandx/compare/v0.10.0...v0.10.1
|
110
114
|
[0.10.0]: https://github.com/mokhan/spandx/compare/v0.9.0...v0.10.0
|
111
115
|
[0.9.0]: https://github.com/mokhan/spandx/compare/v0.8.0...v0.9.0
|
112
116
|
[0.8.0]: https://github.com/mokhan/spandx/compare/v0.7.0...v0.8.0
|
@@ -28,10 +28,13 @@ module Spandx
|
|
28
28
|
db.open(datafile_for(name)) do |io|
|
29
29
|
search_for("#{name}-#{version}", io, lines_in(io))
|
30
30
|
end
|
31
|
+
rescue Errno::ENOENT => error
|
32
|
+
Spandx.logger.error(error)
|
33
|
+
nil
|
31
34
|
end
|
32
35
|
|
33
36
|
def datafile_for(name)
|
34
|
-
"
|
37
|
+
".index/#{key_for(name)}/rubygems"
|
35
38
|
end
|
36
39
|
|
37
40
|
def lines_in(io)
|
data/lib/spandx/version.rb
CHANGED