dependabot-python 0.118.11 → 0.118.16

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: 9182c7153fa02da0392f82a0176f8a6d4d4b4d15a467eeca1c93e30ddc4a1f3b
4
- data.tar.gz: 5050a1a11d871fc0d080c7abc64e49379dd1a85c5f7f1ac92ceaa5861b160c48
3
+ metadata.gz: f32f30287d89c4e9feea3c96f08635f5fdc5c9cda92458efa006bc14d46c61cb
4
+ data.tar.gz: 5e8a2987acc7d43995d0a57992b6521f0414737f681a43d7ea491ba9a5c3a45f
5
5
  SHA512:
6
- metadata.gz: b6a5bd38a586cb66a1acbc75908a28a0744c24c628e127d9485ff78d85a732ef7849eb99da1c156e98ed31ef967f4e154085104f1cdcd10647b4073e75aaba9b
7
- data.tar.gz: aed8d65f3aa7a0dc54c34e4789ca88f9904183eb87e6acbaba45f512ea1c491ab20a290b7023f2f810682a44fd077e8bce38d738153372f6c233c3d5579bafcc
6
+ metadata.gz: '0354009fde048506e68a3d83987b9e082488987c8b64ca55589593504d29268e09015c528c1dbbfd166de90f8b0543f2146b546a4cc8fe52fe754f68f2547aea'
7
+ data.tar.gz: 1534109379dd95e8f28cb539851cad8176366501f9bbbb5ad9206ddae44c6e8606e4b8bffd0105f38b322c05a841e73fe749eb1eae45c733aabbab601f00e184
@@ -3,6 +3,7 @@
3
3
  module Dependabot
4
4
  module Python
5
5
  class AuthedUrlBuilder
6
+ # rubocop:disable Metrics/PerceivedComplexity
6
7
  def self.authed_url(credential:)
7
8
  token = credential.fetch("token", nil)
8
9
  url = credential.fetch("index-url")
@@ -16,10 +17,14 @@ module Dependabot
16
17
  else token
17
18
  end
18
19
 
19
- basic_auth_details = basic_auth_details.gsub("@", "%40")
20
+ if basic_auth_details.include?(":")
21
+ username, _, password = basic_auth_details.partition(":")
22
+ basic_auth_details = "#{CGI.escape(username)}:#{CGI.escape(password)}"
23
+ end
20
24
 
21
25
  url.sub("://", "://#{basic_auth_details}@")
22
26
  end
27
+ # rubocop:enable Metrics/PerceivedComplexity
23
28
  end
24
29
  end
25
30
  end
@@ -11,7 +11,7 @@ module Dependabot
11
11
  # the Dependabot container.
12
12
  SUPPORTED_VERSIONS = %w(
13
13
  3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
14
- 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.7.2 3.7.1 3.7.0
14
+ 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.7.2 3.7.1 3.7.0
15
15
  3.6.9 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.6.0
16
16
  3.5.7 3.5.6 3.5.5 3.5.4 3.5.3
17
17
  2.7.18 2.7.17 2.7.16 2.7.15 2.7.14 2.7.13
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.118.11
4
+ version: 0.118.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2020-08-20 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.118.11
19
+ version: 0.118.16
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.118.11
26
+ version: 0.118.16
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement