bundler-audit 0.9.0 → 0.9.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/ChangeLog.md +5 -0
- data/README.md +2 -0
- data/lib/bundler/audit/advisory.rb +6 -1
- data/lib/bundler/audit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83898613996d764bcb4e3ed517da59a95132049e29e7e8afa25698d4a03f6276
|
4
|
+
data.tar.gz: e931b427480a4bbdaeaa4bf381141780e04d26cbd2a98c60e60f3a0431c3b4d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcd29c11e7cee080390e9dc3b6356fc74817835a8b9f8621d230d27ea497b81ba63abcf880799f948de6eb4768747a01dc46a0aa29841c1bd76d92cd990c2659
|
7
|
+
data.tar.gz: f41ece9bf750bddcf632be46f240f079074ce26c7cb69e24184002929f041ed326e1b383a3649ec680bb3d42e03c25a167b65eb93219511065c05622bee1bef3
|
data/.github/workflows/ruby.yml
CHANGED
data/ChangeLog.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# bundler-audit
|
2
|
+
|
2
3
|
[![CI](https://github.com/rubysec/bundler-audit/actions/workflows/ruby.yml/badge.svg)](https://github.com/rubysec/bundler-audit/actions/workflows/ruby.yml)
|
3
4
|
[![Code Climate](https://codeclimate.com/github/rubysec/bundler-audit.svg)](https://codeclimate.com/github/rubysec/bundler-audit)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/bundler-audit.svg)](https://badge.fury.io/rb/bundler-audit)
|
4
6
|
|
5
7
|
* [Homepage](https://github.com/rubysec/bundler-audit#readme)
|
6
8
|
* [Issues](https://github.com/rubysec/bundler-audit/issues)
|
@@ -49,7 +49,12 @@ module Bundler
|
|
49
49
|
def self.load(path)
|
50
50
|
id = File.basename(path).chomp('.yml')
|
51
51
|
data = File.open(path) do |yaml|
|
52
|
-
|
52
|
+
if Psych::VERSION >= '3.1.0'
|
53
|
+
YAML.safe_load(yaml, permitted_classes: [Date])
|
54
|
+
else
|
55
|
+
# XXX: psych < 3.1.0 YAML.safe_load calling convention
|
56
|
+
YAML.safe_load(yaml, [Date])
|
57
|
+
end
|
53
58
|
end
|
54
59
|
|
55
60
|
unless data.kind_of?(Hash)
|