bibliothecary 8.7.0 → 8.7.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: 39af4653f19e0376f945656791b9dc2eb6e60f5d519a9a0e947e4623827376d2
4
- data.tar.gz: c2a6b01a1d14abffde071d07a95a28e851e85c61a89fe3ebb5239c82f2cef3fd
3
+ metadata.gz: 7f6b75ad41b078c913dc3170bba3fa22d3d885b17e3c27e961f9b5e084d539c7
4
+ data.tar.gz: 8354e96eb6e2473549e4cbae545a6a9d80fbb9dc49965a0cb75cc66a1e5aa5ca
5
5
  SHA512:
6
- metadata.gz: 5e923a36a18760a6f3acdc05f7330de7704c42f235fd1bbee880dc7d7ea3bf1604ea8ecd060f6984db7a32ac6b552d10cd19d8b6257153fc7c19f55430234661
7
- data.tar.gz: a65aed02e5de4338a4c48ce44f77b2119fee0a26be51c7bac1bd18cdf8a51ceebed0305e16b965483cf4d2452ba63f3557de93acd29b474428245d62bceac707
6
+ metadata.gz: f6ab5428cbf33ca11c0013b1af6b0c0314141af095cef19921ebddbbb2ada7db7d6534768be658ff2408a6cc8ce94b84cdf8038ecd75449a3bdc20860a329d62
7
+ data.tar.gz: 1c5ebfcbf76c589345a818b9a4f2a463a52aca2d2ed3fb0fb90d9b77644ac1b9a0262fb4a38c8f08fabfabb4561c1f2b14d4692e149e3fb0af0092d028b9d117
@@ -65,15 +65,17 @@ module Bibliothecary
65
65
 
66
66
  frameworks = {}
67
67
  manifest.fetch('dependencies',[]).each do |framework, deps|
68
- frameworks[framework] = deps.map do |name, details|
69
- {
70
- name: name,
71
- # 'resolved' has been set in all examples so far
72
- # so fallback to requested is pure paranoia
73
- requirement: details.fetch('resolved', details.fetch('requested', '*')),
74
- type: 'runtime'
75
- }
76
- end
68
+ frameworks[framework] = deps
69
+ .reject { |_name, details| details["type"] == "Project" } # Projects do not have versions
70
+ .map do |name, details|
71
+ {
72
+ name: name,
73
+ # 'resolved' has been set in all examples so far
74
+ # so fallback to requested is pure paranoia
75
+ requirement: details.fetch('resolved', details.fetch('requested', '*')),
76
+ type: 'runtime'
77
+ }
78
+ end
77
79
  end
78
80
 
79
81
  if frameworks.size > 0
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "8.7.0"
2
+ VERSION = "8.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliothecary
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.7.0
4
+ version: 8.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tomlrb