bibliothecary 6.9.5 → 6.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bibliothecary/parsers/maven.rb +7 -3
- data/lib/bibliothecary/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d401e2ee48b3c9ea14b1ced4582ca501b5215bfd32283cbfa22ea6a3a013285
|
4
|
+
data.tar.gz: 28872324cf699eea26ac419cec67fba683bc75be6b335943471a82854b762109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbe0b6dd4065ea9fadf9c2458988fde20d7198d1142dca84460191704e2a7e61e1f9e6d96bd088424fcc5386be6e2b6b9dae479f40bebd03f328d6c623e02140
|
7
|
+
data.tar.gz: 189db2576879293749a94eba6dbcef993e822e0d3fc26ac5e7b8d6de405ac7eb2ae6e513166428197bc6e6f0e718a6bd810d66f24f21cc60bf2ff2f3c25ac82a
|
@@ -126,11 +126,15 @@ module Bibliothecary
|
|
126
126
|
# org.springframework.boot:spring-boot-starter-web:2.1.0.M3 (*)
|
127
127
|
# Lines can end with (c), (n), or (*)
|
128
128
|
# to indicate that something was a dependency constraint (c), not resolved (n), or resolved previously (*).
|
129
|
-
dep = line.split(split)[1].sub(/(\((c|n|\*)\))$/, "").strip.split(":")
|
129
|
+
dep = line.split(split)[1].sub(/(\((c|n|\*)\))$/, "").sub(" -> ", ":").strip.split(":")
|
130
|
+
|
131
|
+
# A testImplementation line can look like this so just skip those
|
132
|
+
# \--- org.springframework.security:spring-security-test (n)
|
133
|
+
next unless dep.length >= 3
|
134
|
+
|
130
135
|
version = dep[-1]
|
131
|
-
version = version.split("->")[-1].strip if line.include?("->")
|
132
136
|
{
|
133
|
-
name: dep[0
|
137
|
+
name: dep[0..1].join(":"),
|
134
138
|
requirement: version,
|
135
139
|
type: type
|
136
140
|
}
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibliothecary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.9.
|
4
|
+
version: 6.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-01-22 00:00:00.000000000 Z
|
@@ -206,7 +206,7 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
-
description:
|
209
|
+
description:
|
210
210
|
email:
|
211
211
|
- andrewnez@gmail.com
|
212
212
|
executables:
|
@@ -273,7 +273,7 @@ homepage: https://github.com/librariesio/bibliothecary
|
|
273
273
|
licenses:
|
274
274
|
- AGPL-3.0
|
275
275
|
metadata: {}
|
276
|
-
post_install_message:
|
276
|
+
post_install_message:
|
277
277
|
rdoc_options: []
|
278
278
|
require_paths:
|
279
279
|
- lib
|
@@ -289,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
289
|
version: '0'
|
290
290
|
requirements: []
|
291
291
|
rubygems_version: 3.1.2
|
292
|
-
signing_key:
|
292
|
+
signing_key:
|
293
293
|
specification_version: 4
|
294
294
|
summary: Find and parse manifests
|
295
295
|
test_files: []
|