spandx 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -2
- data/lib/spandx/cli/commands/index/update.rb +1 -0
- data/lib/spandx/core/dependency.rb +3 -2
- data/lib/spandx/rubygems/parsers/gemfile_lock.rb +2 -1
- data/lib/spandx/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d79550851ea469111afa11278eb65d96055ad0aa5bc1a70d00bf82d9ea84b44
|
|
4
|
+
data.tar.gz: 0c903febe2ab97e073615d7bddbbdbd76dfad94f2039179017bc07760614b6e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49e79d0f080044bd3e3fe5700f147ba88f0581b13ce655438298481fc9a3a257c35c12b80ae40aff6fde5f4281eb39eaba294a93fcae78c4955433a6feeec558
|
|
7
|
+
data.tar.gz: c428a2570f2124f4d7271233c34fa22618672f2512afdfa74950dd3d7412b7ee3cf2cb35d55a4de60db682ddb92081c5bdf5e6dbed8b21173c45b034e4715056
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Version 0.
|
|
1
|
+
Version 0.10.0
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.10.0] - 2020-03-16
|
|
13
|
+
### Added
|
|
14
|
+
- Include additional ruby gem spec metadata.
|
|
15
|
+
- Install `spandx-index` as an index source
|
|
16
|
+
|
|
12
17
|
## [0.9.0] - 2020-03-12
|
|
13
18
|
### Added
|
|
14
19
|
- Add `--airgap` option to disable network traffic during scan.
|
|
@@ -101,7 +106,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
101
106
|
### Added
|
|
102
107
|
- Provide ruby API to the latest SPDX catalogue.
|
|
103
108
|
|
|
104
|
-
[Unreleased]: https://github.com/mokhan/spandx/compare/v0.
|
|
109
|
+
[Unreleased]: https://github.com/mokhan/spandx/compare/v0.10.0...HEAD
|
|
110
|
+
[0.10.0]: https://github.com/mokhan/spandx/compare/v0.9.0...v0.10.0
|
|
105
111
|
[0.9.0]: https://github.com/mokhan/spandx/compare/v0.8.0...v0.9.0
|
|
106
112
|
[0.8.0]: https://github.com/mokhan/spandx/compare/v0.7.0...v0.8.0
|
|
107
113
|
[0.7.0]: https://github.com/mokhan/spandx/compare/v0.6.0...v0.7.0
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
module Spandx
|
|
4
4
|
module Core
|
|
5
5
|
class Dependency
|
|
6
|
-
attr_reader :name, :version, :licenses
|
|
6
|
+
attr_reader :name, :meta, :version, :licenses
|
|
7
7
|
|
|
8
|
-
def initialize(name:, version:, licenses: [])
|
|
8
|
+
def initialize(name:, version:, licenses: [], meta: {})
|
|
9
9
|
@name = name
|
|
10
10
|
@version = version
|
|
11
11
|
@licenses = licenses
|
|
12
|
+
@meta = meta
|
|
12
13
|
end
|
|
13
14
|
|
|
14
15
|
def to_h
|
data/lib/spandx/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spandx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mo khan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|