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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c6db011cec167c3f5091b4bc3928b297862b2d3e74184db2c33a203374f8d67
4
- data.tar.gz: fe1c745f2e1202bfddfee708c512cbd34f928d6a429d8161f82394695d52b462
3
+ metadata.gz: 83898613996d764bcb4e3ed517da59a95132049e29e7e8afa25698d4a03f6276
4
+ data.tar.gz: e931b427480a4bbdaeaa4bf381141780e04d26cbd2a98c60e60f3a0431c3b4d6
5
5
  SHA512:
6
- metadata.gz: edd782d23e4e776350bf77cc1dadda0d78d89cf8816540ae8b20706b42f0dbefd7a3bb30fa9093afa23c5feb78dcbe1471139fc9471cde2c575f9cb5a658a71e
7
- data.tar.gz: 50c0fa97a5d5a73624cf59dde9fe5ee5f0e300230b725b1055c2b74908866d2d962c91764e3d248878237eea66b23ce170a0e70ba4829f00a7e4423a76dd6774
6
+ metadata.gz: fcd29c11e7cee080390e9dc3b6356fc74817835a8b9f8621d230d27ea497b81ba63abcf880799f948de6eb4768747a01dc46a0aa29841c1bd76d92cd990c2659
7
+ data.tar.gz: f41ece9bf750bddcf632be46f240f079074ce26c7cb69e24184002929f041ed326e1b383a3649ec680bb3d42e03c25a167b65eb93219511065c05622bee1bef3
@@ -9,6 +9,7 @@ jobs:
9
9
  fail-fast: false
10
10
  matrix:
11
11
  ruby:
12
+ - 2.5
12
13
  - 2.6
13
14
  - 2.7
14
15
  - 3.0
data/ChangeLog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.9.0.1 / 2021-08-31
2
+
3
+ * Add a workaround for Psych < 3.1.0 to support running on Ruby < 2.6.
4
+ (issue #319)
5
+
1
6
  ### 0.9.0 / 2021-08-31
2
7
 
3
8
  * Load advisory metadata using `YAML.safe_load`. (issue #302)
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
- YAML.safe_load(yaml, permitted_classes: [Date])
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)
@@ -18,6 +18,6 @@
18
18
  module Bundler
19
19
  module Audit
20
20
  # bundler-audit version
21
- VERSION = '0.9.0'
21
+ VERSION = '0.9.0.1'
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-audit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern