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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cbd3ff3ba6cc58fe71a75423e7f1c8e32ebaea72f465b4dfee2ac7e4b3e7941
4
- data.tar.gz: 8618909fe1d0100ec64f6cc8ce386c3f7dd454b9335b6e532d0e05395a6fd475
3
+ metadata.gz: 93c4fad6f3564cc8390a09f53e6e3ab4ff43f06caa5685bbcd6b1e20840c1d31
4
+ data.tar.gz: 54fbcaa9e73842ebb123d695daac58ef21349c1773b7737222238b52ee118d37
5
5
  SHA512:
6
- metadata.gz: 6f13deb2dd22a9bea5e5a0ba9f52485f874d93e01dd4df4cb86d1848a3dc5216cff37014657428fc1bf5c1e851b4be0d3d7174086ae6424f544ab47a85fcd986
7
- data.tar.gz: 64134e46c51646086bafba3283f06618e0670d196d0be668ad5c60d8338aba2ac8be50bb4ffa717f80d0679646ac43b73ee49207bf5fdde38b0627d1956fc42a
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") || super
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.42
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.42
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.42
26
+ version: 0.95.43
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement