dependabot-pub 0.201.1 → 0.204.0

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: 2ba3dca916beb78986c220e48c846b4b3b53422d15364d931047ba694ac2ddf5
4
- data.tar.gz: c79030cf1682e33fcedd5a036799537d78ed92506517e5d67cc7ca6359865026
3
+ metadata.gz: 21a7dbf5249b8d3cf620bda5db3b557e59413060e269be4622fa3822c2e228d9
4
+ data.tar.gz: 83021282190af8652fc6397edf0bf756fd411b6ab4c75a997fd192bb4e335f79
5
5
  SHA512:
6
- metadata.gz: 40b135334703195e9c8962737dda1ae30a5182ab23130d2425dc658bb5608f9cd88d1b60400b056ab23099e39284f08f21028aca777031ceba9d882f954e657d
7
- data.tar.gz: 65018b401c8053b20a1cfcf204a3e3ba592090297ce126e749f0865922ec5ef6de946c751181288b80d5f48d0cc62f66ab63d7b372f4c7e26bc6b08e0ef9e987
6
+ metadata.gz: a9e4bcd51676165c67ab0cd3e200e7f84c16a7d0a705c472ace9fd5efce1d78f3528011c7d2ab2ed55b4d3e415605a6b28405e7c3200bcd5afb561a1bda018a6
7
+ data.tar.gz: 1deb6b57b04e1f2357a2a5195199a9db260c0ac49cc919b0a68abc95fbd012d9073d3993ebb4363ea1951870619fe8261d9af1793d86ca10df463fa7351f4987
@@ -3,7 +3,7 @@
3
3
  require "excon"
4
4
  require "dependabot/metadata_finders"
5
5
  require "dependabot/metadata_finders/base"
6
- require "dependabot/shared_helpers"
6
+ require "dependabot/registry_client"
7
7
 
8
8
  module Dependabot
9
9
  module Pub
@@ -31,12 +31,7 @@ module Dependabot
31
31
  end
32
32
 
33
33
  def repository_listing(repository_url)
34
- response = Excon.get(
35
- "#{repository_url}/api/packages/#{dependency.name}",
36
- idempotent: true,
37
- **SharedHelpers.excon_defaults
38
- )
39
-
34
+ response = Dependabot::RegistryClient.get(url: "#{repository_url}/api/packages/#{dependency.name}")
40
35
  JSON.parse(response.body)
41
36
  end
42
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.201.1
4
+ version: 0.204.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-03 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.201.1
19
+ version: 0.204.0
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.201.1
26
+ version: 0.204.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement