bibliothecary 12.1.0 → 12.1.1
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/cargo.rb +1 -1
- data/lib/bibliothecary/runner.rb +2 -1
- data/lib/bibliothecary/version.rb +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8e2830107d4af8ea1786726bec39b1dca7fb5f1a1781c1a3920724051756cac
|
4
|
+
data.tar.gz: fd853b4548499189a52b54ebd43515260bbec6883ae96895e30aa5108d520deb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c5ae04b3ee683f011ec62de58abaf5d859f7449e513a2ec66dc95d7d3baf55c6385d8c2743c0f96f3b730ae78e1f37610d3192b5bcaaff3fb21d7fea27e5a8a
|
7
|
+
data.tar.gz: 49b5202b66e8dbc1b1c77f207e5e6d7b0b4e69927a162083db94b0012815e6e892ea43df287c71285c97d9f9223e4ceca449c992a09e33be10d6b2cd901657f0
|
@@ -48,7 +48,7 @@ module Bibliothecary
|
|
48
48
|
def self.parse_lockfile(file_contents, options: {})
|
49
49
|
manifest = Tomlrb.parse(file_contents)
|
50
50
|
manifest.fetch("package", []).map do |dependency|
|
51
|
-
next if !
|
51
|
+
next if !dependency["source"] || !dependency["source"].start_with?("registry+")
|
52
52
|
|
53
53
|
Dependency.new(
|
54
54
|
name: dependency["name"],
|
data/lib/bibliothecary/runner.rb
CHANGED
@@ -138,7 +138,8 @@ module Bibliothecary
|
|
138
138
|
end
|
139
139
|
allowed_file_list = allowed_file_list.reject { |f| ignored_files.include?(f) }
|
140
140
|
package_managers.map do |pm|
|
141
|
-
|
141
|
+
# (skip rubocop false positive, since match? is a custom method)
|
142
|
+
allowed_file_list.select do |file_path| # rubocop:disable Style/SelectByRegexp
|
142
143
|
# this is a call to match? without file contents, which will skip
|
143
144
|
# ambiguous filenames that are only possibly a manifest
|
144
145
|
pm.match?(file_path)
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibliothecary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.1.
|
4
|
+
version: 12.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-02-21 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: commander
|
@@ -122,7 +121,6 @@ dependencies:
|
|
122
121
|
- - ">="
|
123
122
|
- !ruby/object:Gem::Version
|
124
123
|
version: '0'
|
125
|
-
description:
|
126
124
|
email:
|
127
125
|
- andrewnez@gmail.com
|
128
126
|
executables:
|
@@ -196,7 +194,6 @@ licenses:
|
|
196
194
|
- AGPL-3.0
|
197
195
|
metadata:
|
198
196
|
rubygems_mfa_required: 'true'
|
199
|
-
post_install_message:
|
200
197
|
rdoc_options: []
|
201
198
|
require_paths:
|
202
199
|
- lib
|
@@ -211,8 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
208
|
- !ruby/object:Gem::Version
|
212
209
|
version: '0'
|
213
210
|
requirements: []
|
214
|
-
rubygems_version: 3.
|
215
|
-
signing_key:
|
211
|
+
rubygems_version: 3.6.3
|
216
212
|
specification_version: 4
|
217
213
|
summary: Find and parse manifests
|
218
214
|
test_files: []
|