bibliothecary 8.3.2 → 8.3.3
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 +9 -1
- data/lib/bibliothecary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 137de2598a6dc8e47bbaea1e232bb1c46e6efd9986e7307846fb371dc89439a2
|
4
|
+
data.tar.gz: ca97f6776e335b52dfc5f9b97d8bf24d8271d22cfd87d3f82f0e9c683e1a3dd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 209aed3d49a29f62078f56bbb9c5ff7192adfd3c3c5f432cdb6993901f53e68c01451b6f5965a57cd3cfb30d0a25a3bb3435e6c96e4a7e7f26e097d00596cd01
|
7
|
+
data.tar.gz: 562ba360db10d9864ab9d18a90c9a10f5acd8e408eaef5c69be5afa99e0229a3078ba35b6919b63a91f523a6c3c7619b26006a8e56b337e9f004d264e4dbbd83
|
@@ -159,9 +159,17 @@ module Bibliothecary
|
|
159
159
|
# \--- org.springframework.security:spring-security-test (n)
|
160
160
|
next unless dep.length >= 3
|
161
161
|
|
162
|
+
dep_name = if dep.count == 6
|
163
|
+
# get name from renamed package resolution "org:name:version -> renamed_org:name:version"
|
164
|
+
dep[-3..-2]
|
165
|
+
else
|
166
|
+
# get name from version conflict resolution ("org:name:version -> version") and no-resolution ("org:name:version")
|
167
|
+
dep[0..1]
|
168
|
+
end
|
169
|
+
|
162
170
|
version = dep[-1]
|
163
171
|
{
|
164
|
-
name:
|
172
|
+
name: dep_name.join(":"),
|
165
173
|
requirement: version,
|
166
174
|
type: type
|
167
175
|
}
|
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.3.
|
4
|
+
version: 8.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tomlrb
|