dependabot-python 0.118.11 → 0.118.12

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: 2844692b3664fc81003147966e9e0ae95c3664f09ea786e7d25a69d3bc1b5cdd
4
+ data.tar.gz: '0829918ec1a85fcf597c38774c27ef802fa20180f182d1f9d1d86ce30f1d739d'
5
5
  SHA512:
6
- metadata.gz: b6a5bd38a586cb66a1acbc75908a28a0744c24c628e127d9485ff78d85a732ef7849eb99da1c156e98ed31ef967f4e154085104f1cdcd10647b4073e75aaba9b
7
- data.tar.gz: aed8d65f3aa7a0dc54c34e4789ca88f9904183eb87e6acbaba45f512ea1c491ab20a290b7023f2f810682a44fd077e8bce38d738153372f6c233c3d5579bafcc
6
+ metadata.gz: 179616f5a1c548a19e8cfdf8fc3cde06950069bfe2efb664054dedf0a7d973616e794ea775d4c75b4166978b2b60828cd75ea88b490c230f9cd2e61a85c6ab0a
7
+ data.tar.gz: 6a3466a1196404f3d266ec7cf10512f5c4df38c377ff40644941dc02ce546ae74bd56549dce4e638d3e433b277bf17dd391c621c88fef7fb24a9c36a82df5914
@@ -16,7 +16,10 @@ module Dependabot
16
16
  else token
17
17
  end
18
18
 
19
- basic_auth_details = basic_auth_details.gsub("@", "%40")
19
+ if basic_auth_details.include?(":")
20
+ username, _, password = basic_auth_details.partition(":")
21
+ basic_auth_details = "#{CGI.escape(username)}:#{CGI.escape(password)}"
22
+ end
20
23
 
21
24
  url.sub("://", "://#{basic_auth_details}@")
22
25
  end
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.12
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-07 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.12
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.12
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement