firespring_dev_commands 3.1.1 → 3.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3c9cb407723b123f2ab30775a1b2aeba7a66a0f94e3d1f11528f1831ab27b1a
|
4
|
+
data.tar.gz: 3ff57130a7c54956270505ee554738a9b1e64bfc3d923d836688359a44069e3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122cffa07a1b2e269843c7b84ec5982691ef6c7d6fb93f4e8368e898a30ae018c80d2c9bf25f95dca54f6e3ea641f9f7bddf26958ec06f2df435345f4f6fe02f
|
7
|
+
data.tar.gz: e339f2b8583c553ede84b0cb0bbc1e1162627e925c456982bc77b5ef60bf65111b21f170cbea95226119dc9e1033043f81285746af29e30d865b6d81fd6c25d0
|
@@ -16,6 +16,10 @@ module Dev
|
|
16
16
|
def to_report
|
17
17
|
Dev::Audit::Report.new(
|
18
18
|
data['advisories'].map do |_, v|
|
19
|
+
# If there are multiple advisories for the same package, v changes from an array into a hash
|
20
|
+
v = v.values if v.is_a?(Hash)
|
21
|
+
|
22
|
+
# Iterate over the advisories and turn them into report items
|
19
23
|
v.map do |it|
|
20
24
|
Dev::Audit::Report::Item.new(
|
21
25
|
id: it['advisoryId'],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firespring_dev_commands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|