dependabot-python 0.119.5 → 0.120.3

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: 4a1041f59aa8f3cd0dcec834a41a72efdfe4ae59fbbe1b396316ad709b6e770d
4
- data.tar.gz: 75553b63dfe8f6b94847825a129a932b3c74efe097f768827baeee22a1c4eefe
3
+ metadata.gz: 31e4de15fb0bfe0d99ba431a5a4809045a510ad7d43113305744eba3653a292d
4
+ data.tar.gz: 3e53d8adef6ce321b9034f3bce330933533dcff9fa39c9ce5d5de6504b252096
5
5
  SHA512:
6
- metadata.gz: 5f62732fdf96d0acddc61e5255613c41d5e3f26f51d235405c9b611de74751a7989e30135a28d576f8b9838bd1c2a7be1266872243998b9f6b1aa0869deaa39d
7
- data.tar.gz: '08beae963dc586c4df999c41286dd7d274561d7a8d5c1643adc102c3f176ee73a3d5c17655971b7ce4d7462e0e1b8e44b394f104cd363f2739dfbd6c10e4b421'
6
+ metadata.gz: d26d2c9a73b68f37592831347babe07f53a71f4bf169d5392eb2c64dfcec8afb8270081ecc85015722619b19b061f54cb9638d7de0a1ff0bcc58766573776d15
7
+ data.tar.gz: d190e8f662afb36f78a05adb04d42caeeda7a46463a2d87e86a5e3b8d4cc3acd1f4f1adb73d4ccf057d632bef750e87b017c652293b483835e3d9730274ed911
@@ -277,7 +277,7 @@ module Dependabot
277
277
  return false unless details
278
278
 
279
279
  index_response = Excon.get(
280
- "https://pypi.org/pypi/#{normalised_name(details['name'])}/json",
280
+ "https://pypi.org/pypi/#{normalised_name(details['name'])}/json/",
281
281
  idempotent: true,
282
282
  **SharedHelpers.excon_defaults
283
283
  )
@@ -8,7 +8,7 @@ module Dependabot
8
8
  module Python
9
9
  class UpdateChecker
10
10
  class IndexFinder
11
- PYPI_BASE_URL = "https://pypi.python.org/simple/"
11
+ PYPI_BASE_URL = "https://pypi.org/simple/"
12
12
  ENVIRONMENT_VARIABLE_REGEX = /\$\{.+\}/.freeze
13
13
 
14
14
  def initialize(dependency_files:, credentials:)
@@ -216,8 +216,7 @@ module Dependabot
216
216
  Excon.get(
217
217
  index_url + normalised_name + "/",
218
218
  idempotent: true,
219
- headers: { "Accept" => "text/html" },
220
- **SharedHelpers.excon_defaults
219
+ **SharedHelpers.excon_defaults(headers: { "Accept" => "text/html" })
221
220
  )
222
221
  end
223
222
 
@@ -225,8 +224,7 @@ module Dependabot
225
224
  Excon.get(
226
225
  index_url,
227
226
  idempotent: true,
228
- headers: { "Accept" => "text/html" },
229
- **SharedHelpers.excon_defaults
227
+ **SharedHelpers.excon_defaults(headers: { "Accept" => "text/html" })
230
228
  )
231
229
  end
232
230
 
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.119.5
4
+ version: 0.120.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-21 00:00:00.000000000 Z
11
+ date: 2020-09-28 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.119.5
19
+ version: 0.120.3
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.119.5
26
+ version: 0.120.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.90.0
103
+ version: 0.91.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.90.0
110
+ version: 0.91.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement