bibliothecary 8.6.1 → 8.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bibliothecary/parsers/maven.rb +7 -3
- data/lib/bibliothecary/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86361a7bec7e2b16e6d15548c35ce460a39378f241d010b42f743f9aee761dc6
|
|
4
|
+
data.tar.gz: b6b44dd4064c686006932e77abe0c3d8e792bb132f15b0ae2876bd054c38d43c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b371453204d2523671442fc45ec512f83f45eafb73f429f0a1b743fe5edc6bc23f65fc90c7110aadcb4ed24e7e50ed1b81863f50736355ac9068a274a242ca56
|
|
7
|
+
data.tar.gz: d94e3f5986f4d080d0b02d9a0349686220b4b3e9b96f91bd64050ad05dd6785cfbf823a2216b49ec78cec040f48bd3705212894e338efa2382da19ea848db833
|
|
@@ -268,11 +268,15 @@ module Bibliothecary
|
|
|
268
268
|
[].tap do |deps|
|
|
269
269
|
['dependencies/dependency', 'dependencyManagement/dependencies/dependency'].each do |deps_xpath|
|
|
270
270
|
xml.locate(deps_xpath).each do |dep|
|
|
271
|
-
|
|
271
|
+
dep_hash = {
|
|
272
272
|
name: "#{extract_pom_dep_info(xml, dep, 'groupId', parent_properties)}:#{extract_pom_dep_info(xml, dep, 'artifactId', parent_properties)}",
|
|
273
273
|
requirement: extract_pom_dep_info(xml, dep, 'version', parent_properties),
|
|
274
|
-
type: extract_pom_dep_info(xml, dep, 'scope', parent_properties) || 'runtime'
|
|
275
|
-
}
|
|
274
|
+
type: extract_pom_dep_info(xml, dep, 'scope', parent_properties) || 'runtime',
|
|
275
|
+
}
|
|
276
|
+
# optional field is, itself, optional, and will be either "true" or "false"
|
|
277
|
+
optional = extract_pom_dep_info(xml, dep, 'optional', parent_properties)
|
|
278
|
+
dep_hash[:optional] = optional == "true" unless optional.nil?
|
|
279
|
+
deps.push(dep_hash)
|
|
276
280
|
end
|
|
277
281
|
end
|
|
278
282
|
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.6.
|
|
4
|
+
version: 8.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Nesbitt
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tomlrb
|
|
@@ -248,7 +248,7 @@ dependencies:
|
|
|
248
248
|
- - ">="
|
|
249
249
|
- !ruby/object:Gem::Version
|
|
250
250
|
version: '0'
|
|
251
|
-
description:
|
|
251
|
+
description:
|
|
252
252
|
email:
|
|
253
253
|
- andrewnez@gmail.com
|
|
254
254
|
executables:
|
|
@@ -324,7 +324,7 @@ homepage: https://github.com/librariesio/bibliothecary
|
|
|
324
324
|
licenses:
|
|
325
325
|
- AGPL-3.0
|
|
326
326
|
metadata: {}
|
|
327
|
-
post_install_message:
|
|
327
|
+
post_install_message:
|
|
328
328
|
rdoc_options: []
|
|
329
329
|
require_paths:
|
|
330
330
|
- lib
|
|
@@ -340,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
340
340
|
version: '0'
|
|
341
341
|
requirements: []
|
|
342
342
|
rubygems_version: 3.1.6
|
|
343
|
-
signing_key:
|
|
343
|
+
signing_key:
|
|
344
344
|
specification_version: 4
|
|
345
345
|
summary: Find and parse manifests
|
|
346
346
|
test_files: []
|