Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
Make rubysec cve be an array
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfpessoa committed Nov 2, 2018
1 parent fd5435d commit 325a748
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Restore yavdb cache
type: cache-restore
keys:
- crawler-yavdb-cache-1-{{ checksum "/tmp/yavdb.cache.log" }}
- crawler-yavdb-cache-1-
- 1-crawler-yavdb-cache-{{ checksum "/tmp/yavdb.cache.log" }}
- 1-crawler-yavdb-cache-

- name: Bundle Install
type: shell
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Save yavdb cache
type: cache-save
key: crawler-yavdb-cache-1-{{ checksum "/tmp/yavdb.cache.log" }}
key: 1-crawler-yavdb-cache-{{ checksum "/tmp/yavdb.cache.log" }}
paths:
- ~/.yavdb/cache

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
yavdb (0.4.2)
yavdb (0.4.3)
json (~> 2.1)
kramdown (~> 1.17)
oga (~> 2.15)
Expand Down
2 changes: 1 addition & 1 deletion lib/yavdb/sources/ruby_advisory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def create(_file_path, advisory_hash)
clean_version(advisory_hash['patched_versions']),
severity,
PACKAGE_MANAGER,
cve,
cve && [cve],
nil, #:cwe
advisory_hash['osvdb'],
nil, #:cvss_v2_vector
Expand Down
2 changes: 1 addition & 1 deletion lib/yavdb/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

module YAVDB

VERSION = '0.4.2'
VERSION = '0.4.3'

end

0 comments on commit 325a748

Please sign in to comment.