dependabot-python 0.95.42 → 0.95.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/python/metadata_finder.rb +7 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93c4fad6f3564cc8390a09f53e6e3ab4ff43f06caa5685bbcd6b1e20840c1d31
|
4
|
+
data.tar.gz: 54fbcaa9e73842ebb123d695daac58ef21349c1773b7737222238b52ee118d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77205a3f795eda5c7125593c16e2b171bcdc6b0abd8a0f4b0f238ed4c32387c254a802d0cf9b0b533b17a17bbfeb3cb1c380c7d4a8fe0b3ed10352bdd7272348
|
7
|
+
data.tar.gz: 1d4940b839526ba76eb96790634194b25cbe36ef0b63940dfa6d3f05f78b9af822cab4c87c6981a5d468ad3bf6a2971e9ad4a927500269e3899fbda2eae85f66
|
@@ -11,7 +11,10 @@ module Dependabot
|
|
11
11
|
MAIN_PYPI_URL = "https://pypi.org/pypi"
|
12
12
|
|
13
13
|
def homepage_url
|
14
|
-
pypi_listing.dig("info", "home_page") ||
|
14
|
+
pypi_listing.dig("info", "home_page") ||
|
15
|
+
pypi_listing.dig("info", "project_urls", "Homepage") ||
|
16
|
+
pypi_listing.dig("info", "project_urls", "homepage") ||
|
17
|
+
super
|
15
18
|
end
|
16
19
|
|
17
20
|
private
|
@@ -25,6 +28,9 @@ module Dependabot
|
|
25
28
|
pypi_listing.dig("info", "docs_url")
|
26
29
|
].compact
|
27
30
|
|
31
|
+
potential_source_urls +=
|
32
|
+
(pypi_listing.dig("info", "project_urls") || {}).values
|
33
|
+
|
28
34
|
source_url = potential_source_urls.find { |url| Source.from_url(url) }
|
29
35
|
source_url ||= source_from_description
|
30
36
|
source_url ||= source_from_homepage
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-python
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.95.
|
4
|
+
version: 0.95.43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.95.
|
19
|
+
version: 0.95.43
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.95.
|
26
|
+
version: 0.95.43
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|