dependabot-pub 0.202.0 → 0.205.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: f1d79e08d287048fc605414f67a828684ae343338e445044bae871309dfff3cb
4
- data.tar.gz: 0cbe2a518b29bb2fa7106bbb9af7fc9a0a238b9bb0e44af7ff1fc3acd1bf7027
3
+ metadata.gz: 1c6f91e7b29d2c8d1dc528513b5a8e554f2378b2251d31130eda7dc0431e3d3f
4
+ data.tar.gz: c0aaf6a2ec3822e702f307c4d4b7ba8b0c7f4497bd56a592b476a9c306bddd1f
5
5
  SHA512:
6
- metadata.gz: 9fddbcbd12913944326996014762af23f000db3b132e54f9c4c31eee11b393fdb7987b548c9d22ff501e411215cf04da2bd4916ef5b1ca7e9c67c0bc8cca3255
7
- data.tar.gz: 109fb67960f7850879fe1a51b89fe82a658d5c2020f8783c24f24b08bf82b72bbb805be2faa459ca40ff2daa61a9297475bf20b8b64ae8d1d160e2e02517b61b
6
+ metadata.gz: bdcabdd564b8a55f7dde1bfa987d197d7b085f2a14b375feb3a0de74d64e2b1a90db695d0390ea4ad3702efd811e4f8cae57eb88c4800cbd4db898545fb64427
7
+ data.tar.gz: bafa69cb7cdbfc6c62d86487b55f8230d30ffa0c5eef1b9441b55faae9f2a1940a0c162cd4f1fe2f0bd2abfd246a3d82e5768052c9314d6e6ff60ee9150d6403
@@ -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.202.0
4
+ version: 0.205.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-26 00:00:00.000000000 Z
11
+ date: 2022-08-04 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.202.0
19
+ version: 0.205.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.202.0
26
+ version: 0.205.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement