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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0dbcee666f0bade61cdab50c1adf3feccd919c961db92df409845b0d8930a8f
4
- data.tar.gz: cff0b5d9c69db6d9438c7d976e503096d75f8ea8991f318e800fdbb8caccc323
3
+ metadata.gz: d8e2830107d4af8ea1786726bec39b1dca7fb5f1a1781c1a3920724051756cac
4
+ data.tar.gz: fd853b4548499189a52b54ebd43515260bbec6883ae96895e30aa5108d520deb
5
5
  SHA512:
6
- metadata.gz: 2e1299ec112f03c1322b7084c65e14685a74b778c11cd82c0bde376d7f3ca06be08a01f76139b4237d78671fcfd91779edf7f457e756c98f7344b3f4712594de
7
- data.tar.gz: 82388cba64ac674b92b77d364c05787f4ab2effd2dcd244c860b06d2761be4ba30f42a70adf3b3e80cb2d48e11fa12deedac46323447bd887db4d703a8bd9467
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 !(dependency["source"]) || !dependency["source"].start_with?("registry+")
51
+ next if !dependency["source"] || !dependency["source"].start_with?("registry+")
52
52
 
53
53
  Dependency.new(
54
54
  name: dependency["name"],
@@ -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
- allowed_file_list.select do |file_path| # rubocop:disable Style/SelectByRegexp (this is a rubocop false positive, match? is a custom method)
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bibliothecary
4
- VERSION = "12.1.0"
4
+ VERSION = "12.1.1"
5
5
  end
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.0
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-01-30 00:00:00.000000000 Z
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.4.19
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: []