gems-validator 0.5.8 → 0.5.9

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: b5472b33f721cf9b4af442267af194d2515735e13440bd7edf04f62d4d048843
4
- data.tar.gz: bd050caa8bea44cd101284a02a414a8351fd9dbf22a05a55a83ca7cb71e226ea
3
+ metadata.gz: c4b807d3c198adb32a30b179f39cfb83ae6e74cbb3109b66ec0a67f8c7eda049
4
+ data.tar.gz: d32a149ec241a376c59bfaca1346e5d00aa4613277aa7d7c37564033d411f061
5
5
  SHA512:
6
- metadata.gz: c471208da108b33687ca99d55a7eba546074d3511807162e28627ae760cdb0d8770c61b6e12d19b54fb18eb17671584094294eb0374514a8d92d4853f93c5189
7
- data.tar.gz: fbceed9d826bd79dd7de2c4a60a1bb663830d89d3f9105077ef691d26d98e44879621f22495184d6f794ad92d2a1665f8d6dbb81a60d28b793909ece7d2c2c98
6
+ metadata.gz: e0449aac65a025df07b9e799841cf01e779b10fe3b07c7d843991abcccfadadf21732e597421d5fbf467951a59104e78aa905998703885731be8c99343b1a327
7
+ data.tar.gz: fc7f4b4d5245c35b259ee22fdcfeb14eb2efe28e5d306c721e49ddcf92305ac2ed884d79631ba6373059a520917d1797970ab848103a77636bd768474db8a436
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gems-validator (0.5.8)
4
+ gems-validator (0.5.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -33,7 +33,7 @@ module GemsValidator
33
33
 
34
34
  def generate_data()
35
35
 
36
- @audit_response["results"].map do |audit_item|
36
+ @audit_response["results"]&.map do |audit_item|
37
37
  gem_name = audit_item["gem"]["name"]
38
38
  if (@audit_data[gem_name])
39
39
  @audit_data[gem_name]["vulnerabilities"].push({"title": audit_item["advisory"]["title"], "level": audit_item["advisory"]["criticality"], "url": audit_item["advisory"]["url"]})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemsValidator
4
- VERSION = "0.5.8"
4
+ VERSION = "0.5.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gems-validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - henriquesml