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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf83ce2eee3ff72c5c46565c445c66fd9ed78d0a57986feb80437a43f2c948f3
4
- data.tar.gz: 4177c6b7a5b270c4f07128f88b16308e30b2f3f75e50b3367bc1c379576f349a
3
+ metadata.gz: 137de2598a6dc8e47bbaea1e232bb1c46e6efd9986e7307846fb371dc89439a2
4
+ data.tar.gz: ca97f6776e335b52dfc5f9b97d8bf24d8271d22cfd87d3f82f0e9c683e1a3dd9
5
5
  SHA512:
6
- metadata.gz: 6a3883e9ef9b6713b4f2607283f939c2e0c6523eeefbaac30471d23dafc67506d1a56e032bc7e02f1f7a60d8e10eebe58930325a6df8689d2d66978988cb6bd6
7
- data.tar.gz: 1cd8c5e10724a994155a1585f60453c36161b17774c0a1838e48a47d711728df0ee40de88c18780328c715e8af4cbd09c69684a0f5e989e715a05489f14d5803
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: dep[0..1].join(":"),
172
+ name: dep_name.join(":"),
165
173
  requirement: version,
166
174
  type: type
167
175
  }
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "8.3.2"
2
+ VERSION = "8.3.3"
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.3.2
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-05-26 00:00:00.000000000 Z
11
+ date: 2022-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tomlrb