bibliothecary 12.3.1 → 13.0.0
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/CHANGELOG.md +6 -0
- data/lib/bibliothecary/parsers/pypi.rb +0 -20
- data/lib/bibliothecary/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b8a1d72ed1c6410170cd105bd8fbac80589da11434227f6803c89d5903a6985
|
4
|
+
data.tar.gz: ee6c6623a6a53ae65ccc5009091fea4640188f37d89baf1a871a39fceecba988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43df91da96ccbd93aa7a9b69e0f6a111a1962b4515bb211488cedb26b148f0cb5c76c0e0ff29758ee23eeaa4015aa4d73d468625e85a3cb7f1e9b12a0b6370f9
|
7
|
+
data.tar.gz: 9826ee8c30e798b2d83decc6d25ec4dd673f24371a9992e60cf18bcef9eded7f7d492fc9b96caac3e378f0bec02a049d5ae4e66d0c9562587f1db70300c5b2aa
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
### Removed
|
15
15
|
|
16
|
+
## [13.0.0] - 2025-06-17
|
17
|
+
|
18
|
+
### Removed
|
19
|
+
|
20
|
+
- Removed parsing of environment.yml from Pypi parsing
|
21
|
+
|
16
22
|
## [12.3.1] - 2025-06-06
|
17
23
|
|
18
24
|
### Changed
|
@@ -72,15 +72,6 @@ module Bibliothecary
|
|
72
72
|
kind: "lockfile",
|
73
73
|
parser: :parse_poetry_lock,
|
74
74
|
},
|
75
|
-
# Pip dependencies can be embedded in conda environment files
|
76
|
-
match_filename("environment.yml") => {
|
77
|
-
parser: :parse_conda,
|
78
|
-
kind: "manifest",
|
79
|
-
},
|
80
|
-
match_filename("environment.yaml") => {
|
81
|
-
parser: :parse_conda,
|
82
|
-
kind: "manifest",
|
83
|
-
},
|
84
75
|
}
|
85
76
|
end
|
86
77
|
|
@@ -130,17 +121,6 @@ module Bibliothecary
|
|
130
121
|
end
|
131
122
|
end
|
132
123
|
|
133
|
-
def self.parse_conda(file_contents, options: {})
|
134
|
-
contents = YAML.safe_load(file_contents)
|
135
|
-
return [] unless contents
|
136
|
-
|
137
|
-
dependencies = contents["dependencies"]
|
138
|
-
pip = dependencies.find { |dep| dep.is_a?(Hash) && dep["pip"] }
|
139
|
-
return [] unless pip
|
140
|
-
|
141
|
-
Pypi.parse_requirements_txt(pip["pip"].join("\n"), options:)
|
142
|
-
end
|
143
|
-
|
144
124
|
def self.map_dependencies(packages, type, source = nil)
|
145
125
|
return [] unless packages
|
146
126
|
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibliothecary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 13.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Nesbitt
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-17 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: commander
|
@@ -135,6 +136,7 @@ dependencies:
|
|
135
136
|
- - ">="
|
136
137
|
- !ruby/object:Gem::Version
|
137
138
|
version: '0'
|
139
|
+
description:
|
138
140
|
email:
|
139
141
|
- andrewnez@gmail.com
|
140
142
|
executables:
|
@@ -208,6 +210,7 @@ licenses:
|
|
208
210
|
- AGPL-3.0
|
209
211
|
metadata:
|
210
212
|
rubygems_mfa_required: 'true'
|
213
|
+
post_install_message:
|
211
214
|
rdoc_options: []
|
212
215
|
require_paths:
|
213
216
|
- lib
|
@@ -222,7 +225,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
225
|
- !ruby/object:Gem::Version
|
223
226
|
version: '0'
|
224
227
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
228
|
+
rubygems_version: 3.4.19
|
229
|
+
signing_key:
|
226
230
|
specification_version: 4
|
227
231
|
summary: Find and parse manifests
|
228
232
|
test_files: []
|