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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79c26ff1c6227ef41ae24c085ccb96310496cbcc1abe22b699923abdbdf65782
4
- data.tar.gz: 66bdc945e5121bd540c5195f2c440c4b9263cc0eb1318f185e37be714cb6066a
3
+ metadata.gz: 1d79550851ea469111afa11278eb65d96055ad0aa5bc1a70d00bf82d9ea84b44
4
+ data.tar.gz: 0c903febe2ab97e073615d7bddbbdbd76dfad94f2039179017bc07760614b6e4
5
5
  SHA512:
6
- metadata.gz: 6fd8df3eb4d2bc17ce5b8e2fc61c02a2e825b942cc370e5f05f8a5b3611d223df755b590e7a83ccdd535d6a21b36066c10b90400735acbe4957d97882d378655
7
- data.tar.gz: 7234556c740534481007edefde42319b091363865a238c0aa8656ce194fc0b1c80c37365eb287482310d1930511344019aadc3548912b2031af314098ad8ea7f
6
+ metadata.gz: 49e79d0f080044bd3e3fe5700f147ba88f0581b13ce655438298481fc9a3a257c35c12b80ae40aff6fde5f4281eb39eaba294a93fcae78c4955433a6feeec558
7
+ data.tar.gz: c428a2570f2124f4d7271233c34fa22618672f2512afdfa74950dd3d7412b7ee3cf2cb35d55a4de60db682ddb92081c5bdf5e6dbed8b21173c45b034e4715056
@@ -1,4 +1,4 @@
1
- Version 0.9.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.9.0...HEAD
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
@@ -11,6 +11,7 @@ module Spandx
11
11
 
12
12
  def execute(output: $stdout)
13
13
  [
14
+ 'https://github.com/mokhan/spandx-index.git',
14
15
  'https://github.com/mokhan/spandx-rubygems.git',
15
16
  'https://github.com/spdx/license-list-data.git',
16
17
  ].each do |url|
@@ -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
@@ -16,7 +16,8 @@ module Spandx
16
16
  ::Spandx::Core::Dependency.new(
17
17
  name: specification.name,
18
18
  version: specification.version.to_s,
19
- licenses: licenses_for(specification)
19
+ licenses: licenses_for(specification),
20
+ meta: specification
20
21
  )
21
22
  end
22
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spandx
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
5
5
  end
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.9.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-12 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable