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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d79550851ea469111afa11278eb65d96055ad0aa5bc1a70d00bf82d9ea84b44
4
- data.tar.gz: 0c903febe2ab97e073615d7bddbbdbd76dfad94f2039179017bc07760614b6e4
3
+ metadata.gz: 694c16875566407ff41f6d791d7499de4a4686231e8f24b3c0393d14039d764c
4
+ data.tar.gz: 49873d42c52d18fe55e95a32f98b1f5b115a46aa12ebd8df0247a78173953c60
5
5
  SHA512:
6
- metadata.gz: 49e79d0f080044bd3e3fe5700f147ba88f0581b13ce655438298481fc9a3a257c35c12b80ae40aff6fde5f4281eb39eaba294a93fcae78c4955433a6feeec558
7
- data.tar.gz: c428a2570f2124f4d7271233c34fa22618672f2512afdfa74950dd3d7412b7ee3cf2cb35d55a4de60db682ddb92081c5bdf5e6dbed8b21173c45b034e4715056
6
+ metadata.gz: a0bce586e02b70dd48a48819970c6b51198048a8ee7b6310f5959e56b13772ada9925524f1718add10e392e0a52b64907a39eeeffedb6a8cd22486e15daf84c4
7
+ data.tar.gz: ddb03108be865151c7c39e78a57f7988c49333bd086ca333f4b54ecd13a55b6d8f82fe0ac0a64a869ea96c0b28bca910c3558bd783dc193ffdc650dd0649b0cb
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- Version 0.10.0
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.0...HEAD
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
- "lib/spandx/rubygems/index/#{key_for(name)}/data"
37
+ ".index/#{key_for(name)}/rubygems"
35
38
  end
36
39
 
37
40
  def lines_in(io)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spandx
4
- VERSION = '0.10.0'
4
+ VERSION = '0.10.1'
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.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mo khan