dependabot-python 0.118.10 → 0.118.15

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: 14c71fc46abb6cec42bd01050da39422df024ca241f49f24bc6b2f894831f96d
4
- data.tar.gz: e9429e4ae27676d657c339a2e312fa9127a512e81dd2a2ab714c5a9384b5f197
3
+ metadata.gz: 98f692016f281c122e6018be16acab09fa3817a445b3865f3723cd3c85a10555
4
+ data.tar.gz: 5846928e7e4c0e6c19b20de3f03455e067c5f6bae34a640bb5a576989a7766fc
5
5
  SHA512:
6
- metadata.gz: 64a0ab9e68edc09360ab3ce3d0b98b70791b2fe61df9d843a11a962620f1b4c1179c31e4021d3b585e212727aed5c31c0d073f4cd169a7053726a1a8d25c3871
7
- data.tar.gz: b8846dfa2db83b34ee3995e090a254b2187232690622e0209d0ec0b19be1dad7b975b582ebb8acec37afa1a16c3e79abdf401b7769de3d8a2f0ea397f5a236d4
6
+ metadata.gz: f6bdf3e7c64edcdaeca914482a4f5a5af2e11c91555936090d6170daf3310fb720ceec75aaf02f66a63e5087a430362bf7b97cb5426506aafa352e853eeb449b
7
+ data.tar.gz: 5ebd6325a6fa0420ddf9d8683a17ffe3a1aee3c16e0fd24add26aa1c4f4c076ca9e768a25daea0cb25c53ee467d5c85184fa1b4a8cacb38336abe3ffa280d252
@@ -1,5 +1,5 @@
1
1
  pip==20.1.1
2
- pip-tools==5.3.0
2
+ pip-tools==5.3.1
3
3
  hashin==0.15.0
4
4
  pipenv==2018.11.26
5
5
  pipfile==0.0.2
@@ -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.10
4
+ version: 0.118.15
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-03 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.10
19
+ version: 0.118.15
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.10
26
+ version: 0.118.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement