dependabot-pub 0.201.0 → 0.203.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: 6bb76003c824fb35320797cbfa9901982be33828a13c001a4b6fc9b6eabd14ac
4
- data.tar.gz: 262195ea6803920c39c7f71a6d40fc5cf64ceae0db8ccbf34a461abd23cc2da2
3
+ metadata.gz: 990982bf730ecc1068c2c7a8cf57a19531f6f6fd1094376175ed0890dd32ac84
4
+ data.tar.gz: 7090bd67dd45c5384e5694b58f5ede28220afdf65ae92ac32ee5d456bfac5c7d
5
5
  SHA512:
6
- metadata.gz: 35247e25d5e94778bacb75983f03421296ac65b38fe432e738fc43cf19e58e57ab7df2e4fce429add694d7118a94107e550d64e1fe45cffae40187732e0dee20
7
- data.tar.gz: d6c0f97997966b6f0b8761fa7bc54a3f6b0e4e497ba323d0498cc2ef4b5a9f42d883ea5941d2c64449bf3a8730f7049c5e385336be6decf16f489fc732ad4e53
6
+ metadata.gz: 2cb2c29a90bb0216f2007068b67c5c29cdddb8fd4d268ec93b0f8f45aee5e28dccc70aaf278c4b53e174e46d140b3ed0e7807b726d3ba286bce595dfa40493a7
7
+ data.tar.gz: 9dac946d66513829b6bea6bd9ade7532db58ac06a698d01520aae427460422707954b1e5eca0d3b6921bdfdd980b1d098e193766766cfe85f579eb39484e0a13
@@ -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.0
4
+ version: 0.203.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-22 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.0
19
+ version: 0.203.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.0
26
+ version: 0.203.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement