dependabot-python 0.120.1 → 0.120.2

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: 5dfb0d371130bb92775065dbe1b354b7535bd4f17693adfa8c3ae7995b49c7a8
4
- data.tar.gz: 0efb436c58a3c63d6009014c091e2e8b098b3a4189daa76cb2dfc95f713e07e0
3
+ metadata.gz: ffb7683dcdcab0d2e0c32de66b23a43dd88eec7d7b877a06783e2b479abba30a
4
+ data.tar.gz: eea4192899cc4731708c6dbd9eef609ab69bb920054261ec89e0662b5884e35a
5
5
  SHA512:
6
- metadata.gz: 882c486664bc9ec9bc8e8e780e6baf0c725a96f21839e6826043d84e950520c839cfefb704bbd056031d09a6a7a875827bcbc20f4eec7acc83a0c5c342575249
7
- data.tar.gz: 29a2b3f11a87e980c4abe4ce0339b1364751cfdbcb84f7421133e64d9f55214753ef9b4d789d4c43dc91a9d9def3f47c0c9e0520526e81817fa087ae85a0063a
6
+ metadata.gz: ef43bc30da244612c3f384952f160ca6a88e77f9f6a3b4d8a0a1b540a00afbd1e74810b4c5aa449c466ea366abaa15bdb909334cab7fe5e92a62d43d054c6c52
7
+ data.tar.gz: f772512d07fef16c5ec89924e4e15fa666344aa85b75ea054f554b84082c95802b30a9a2aa2fe3169985b8f1236b1cc759aa002b5ace7beb54c7a05447bbe5c8
@@ -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
  )
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.120.1
4
+ version: 0.120.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.120.1
19
+ version: 0.120.2
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.120.1
26
+ version: 0.120.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement