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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b4f1697f4fcbba2dcb21acb917705fa323f711cb9d8228b0bd4910ea629ba40
4
- data.tar.gz: e25145a37b29d74198e51b73e4c00eeeb9b0b2b09adc365ac523714bc4d79055
3
+ metadata.gz: 2d401e2ee48b3c9ea14b1ced4582ca501b5215bfd32283cbfa22ea6a3a013285
4
+ data.tar.gz: 28872324cf699eea26ac419cec67fba683bc75be6b335943471a82854b762109
5
5
  SHA512:
6
- metadata.gz: b390db66abe4a3cc89a88574aafb202c5c8b94847a41eac5d0749360e9d1f61c96cd2e332a5a793e6f69fa0ee39ab8874581941ca083e9d6685c6237977122f3
7
- data.tar.gz: 004ad44ccac55b16fb434a22b62785f57b7de51947f2ea29f314261a2e35659ecdd3a99e96f10fca90ac9821d62e9a148ad6442b1e8754f6c23aedc12318f643
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, dep.length - 1].join(":"),
137
+ name: dep[0..1].join(":"),
134
138
  requirement: version,
135
139
  type: type
136
140
  }
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "6.9.5"
2
+ VERSION = "6.9.6"
3
3
  end
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.5
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: []