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: 3e77ca766ac1043ad38f01aafffa2d0858efa3921c652b6936ccd0a001bde044
4
- data.tar.gz: 98b5fd9ce91cfbcba95e27584383d9926e853b434139c9e4cdb7675cb88d7de7
3
+ metadata.gz: e3c9cb407723b123f2ab30775a1b2aeba7a66a0f94e3d1f11528f1831ab27b1a
4
+ data.tar.gz: 3ff57130a7c54956270505ee554738a9b1e64bfc3d923d836688359a44069e3c
5
5
  SHA512:
6
- metadata.gz: 5f2c044d0b6a06d7134359a05c02254f3191ecda757f77a87dd81bd8d26b1e5eaf345137c6162ab6d622bc3a10217c6f7bc96c74900890a17a810026dfd437aa
7
- data.tar.gz: c409dd449358dffb2dd2afb482e9916a44c63b9fb5d8a0b3191ac29b25dded23f1699dde6a91ef187ffb9bf26fea22f65fe2fe9dc2a872849d339407a73db345
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'],
@@ -6,6 +6,6 @@ module Dev
6
6
  # Use 'v.v.v.pre.alpha.v' for pre-release vesions
7
7
  # Use 'v.v.v.beta.v for beta versions
8
8
  # Use semantic versioning for any releases (https://semver.org/)
9
- VERSION = '3.1.1'.freeze
9
+ VERSION = '3.1.2'.freeze
10
10
  end
11
11
  end
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.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-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport