dependabot-python 0.185.0 → 0.187.0

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: b986adec04ff40ee07d0ebda17f57a69a68dae94c2504856bf9910bb1b9fe45a
4
- data.tar.gz: dae115db199671229978f135274b19b73131e81ab9d2f1e04bc8be808724e41a
3
+ metadata.gz: 6f8b398135b3f0c4a6595a5a34f38c4390b5ab13bd0d95c23d536a79523fe9ac
4
+ data.tar.gz: ddccc7249e80b01e5c7bdcf287382f22b1e3eccb39c63df15e6a02e189134c54
5
5
  SHA512:
6
- metadata.gz: 276e569022376a70800da9d5a6069fe8775f339b4303578e373a28c01acb53c8b80e5f70d837cb69c4a3776dfec87ae35e9b1da16d8bf87abfe9cf07934ee388
7
- data.tar.gz: 15f4150a811b8a626919cc66264adddfe9d78305c089f3508d879030bd0ab8056e9e36fb153079725f4efe7e63bdfb31c5d623e5899a787daeb147d313a78272
6
+ metadata.gz: 9bb8e69829a9b642a25eb85ef069e56ace7aff9635c2d677f0c193159436f86dfd4bbb346d3be3bac2b9c2c1d14e012393f9a2b71fb13aeab7aa4d26b58bd3a7
7
+ data.tar.gz: aa4b6632372658869b87faf56ef90361389f97d7a597873cec7803784bfeff5020a93ab5ff4d58d5e20583668e92a2e7aab9aa99a473ffb232acf753f833198d
@@ -1,6 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "excon"
4
+ require "uri"
5
+
4
6
  require "dependabot/metadata_finders"
5
7
  require "dependabot/metadata_finders/base"
6
8
  require "dependabot/shared_helpers"
@@ -107,8 +109,10 @@ module Dependabot
107
109
  homepage_url = pypi_listing.dig("info", "home_page")
108
110
 
109
111
  return unless homepage_url
110
- return if homepage_url.include?("pypi.python.org")
111
- return if homepage_url.include?("pypi.org")
112
+ return if [
113
+ "pypi.org",
114
+ "pypi.python.org"
115
+ ].include?(URI(homepage_url).host)
112
116
 
113
117
  @homepage_response ||=
114
118
  begin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.185.0
4
+ version: 0.187.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-09 00:00:00.000000000 Z
11
+ date: 2022-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.185.0
19
+ version: 0.187.0
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.185.0
26
+ version: 0.187.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement