dependabot-python 0.243.0 → 0.244.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: 2b21f11fc70d892878937bbee1ebb777bfe04b7d5a343d2532e95d7e0ffbfb31
4
- data.tar.gz: 1f801c4b70837b1beba89ef13fad5465d7cd3694e870b7651160d86d5feeace7
3
+ metadata.gz: 572ad61344effec5a3f97e56259e5eab9853f3570dca599fc497d8ed61ab6436
4
+ data.tar.gz: 5a854800d2ee8cf0b7566ebfa85918897e2cc645ac657a7b10f5e248dd2f759c
5
5
  SHA512:
6
- metadata.gz: 9bf132f27cdcb751c790c4bf789dc5226243075811cbf87567f255a8a0d4d6e4d0819f4faa433ba1c371468ae1be00eaf0434a22ac1bd967bae7dc5fb3811930
7
- data.tar.gz: f62aa6eaa2ec10aa079b9cfcdbb6dcc6191662a28ee2afe687d8c92241cf676b0aeb2dbda44a9229e51e494d44f7ae3c07bd95a5a67ab551a87b2e6d17606431
6
+ metadata.gz: 36f5c4038e345852234630038fc5269dc813676c930b02a2bfa77dcfac46b64b75b557b2e70ace086287ac4b03c00581e17c9de4d0122333cfeeff6f1d54a5f6
7
+ data.tar.gz: 1f282359beb86c09d86129b6f71488d46a3c005a075adb760bc173fc07772cf9c5a85aa88ff5d92bbb5971795810ad9c73c774d0af99712f0869f0cde52108bf
@@ -6,7 +6,7 @@ module Dependabot
6
6
  class AuthedUrlBuilder
7
7
  def self.authed_url(credential:)
8
8
  token = credential.fetch("token", nil)
9
- url = credential.fetch("index-url")
9
+ url = credential.fetch("index-url", nil)
10
10
  return url unless token
11
11
 
12
12
  basic_auth_details =
@@ -52,7 +52,7 @@ module Dependabot
52
52
  base_url = source["url"].sub(/\${.*}@/, "")
53
53
 
54
54
  source_cred = credentials
55
- .select { |cred| cred["type"] == "python_index" }
55
+ .select { |cred| cred["type"] == "python_index" && cred["index-url"] }
56
56
  .find { |c| c["index-url"].sub(/\${.*}@/, "") == base_url }
57
57
 
58
58
  return nil if source_cred.nil?
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.243.0
4
+ version: 0.244.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-13 00:00:00.000000000 Z
11
+ date: 2024-02-15 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.243.0
19
+ version: 0.244.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.243.0
26
+ version: 0.244.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -274,7 +274,7 @@ licenses:
274
274
  - Nonstandard
275
275
  metadata:
276
276
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
277
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.243.0
277
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.244.0
278
278
  post_install_message:
279
279
  rdoc_options: []
280
280
  require_paths: