vrt 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module VRT
27
27
  id_list: id_list,
28
28
  mapping: mapping,
29
29
  key: key
30
- ) || default&.try(:[], key)
30
+ ) || default&.dig(key)
31
31
  end
32
32
  else
33
33
  get_key(id_list: id_list, mapping: mapping, key: @scheme) || default
@@ -1,3 +1,3 @@
1
1
  module Vrt
2
- VERSION = '0.5.1'.freeze
2
+ VERSION = '0.6.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vrt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barnett Klane
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-05-15 00:00:00.000000000 Z
13
+ date: 2018-09-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -58,16 +58,16 @@ dependencies:
58
58
  name: rubocop
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - "~>"
61
+ - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: '0.48'
63
+ version: 0.48.1
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - "~>"
68
+ - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: '0.48'
70
+ version: 0.48.1
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: pry
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -118,6 +118,15 @@ files:
118
118
  - lib/data/1.4/mappings/remediation_advice.schema.json
119
119
  - lib/data/1.4/vrt.schema.json
120
120
  - lib/data/1.4/vulnerability-rating-taxonomy.json
121
+ - lib/data/1.5/deprecated-node-mapping.json
122
+ - lib/data/1.5/mappings/cvss_v3.json
123
+ - lib/data/1.5/mappings/cvss_v3.schema.json
124
+ - lib/data/1.5/mappings/cwe.json
125
+ - lib/data/1.5/mappings/cwe.schema.json
126
+ - lib/data/1.5/mappings/remediation_advice.json
127
+ - lib/data/1.5/mappings/remediation_advice.schema.json
128
+ - lib/data/1.5/vrt.schema.json
129
+ - lib/data/1.5/vulnerability-rating-taxonomy.json
121
130
  - lib/generators/vrt.rb
122
131
  - lib/generators/vrt/install_generator.rb
123
132
  - lib/vrt.rb