dependabot-go_modules 0.200.0 → 0.202.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: ba4b8b33195c0adb82b2fabccb87d3c3a91f91fca7fa53eb042aaa6c9142a4a0
4
- data.tar.gz: 3b5dc3462f37b1d6b04275e8e0163ffaae6a736a00e854bb61a326a60a674850
3
+ metadata.gz: 0b49992e16d2d77c40e97e0526190d971a394b509faf0f47fde383d2ca86d434
4
+ data.tar.gz: d3367aec3f308b048b5d53f2d51283032aba5cb14399cc0449db7b76721b713f
5
5
  SHA512:
6
- metadata.gz: 33d40191d477adc16d43f020e849138abb0728648803827e5f9826021861014260b8ee20d24f912abf1087ec6b6212856e40e8762f515677c633123b6baa026c
7
- data.tar.gz: bd21ea6acaccecb3fa5a89baccb344b53e2d8159c7f7ff6fd21324d4ba758dbefa2d6d9f09ed08585b72f77b362da333f379f46d9c4e96a6aca24c73747fdcca
6
+ metadata.gz: 0ce66946189bc614eaf5a1dd4e17ebe901e8741bcc5f055300b697bd2d88a3ea536ff5c90d5a371e62e13667c56f628049254a9df158f856101ffa0b0e493cc9
7
+ data.tar.gz: bb200fce2f08872094df39c2fa4f9332d7fd46a13bd97d9e4c07359fea24715b83b32cb3833c70012271fcbddfcfcb8572bdcfb6f5119f33e590854aaf8861d2
@@ -3,7 +3,7 @@
3
3
  require "excon"
4
4
  require "nokogiri"
5
5
 
6
- require "dependabot/shared_helpers"
6
+ require "dependabot/registry_client"
7
7
  require "dependabot/source"
8
8
  require "dependabot/go_modules/native_helpers"
9
9
 
@@ -58,11 +58,7 @@ module Dependabot
58
58
  def self.fetch_path_metadata(path)
59
59
  # TODO: This is not robust! Instead, we should shell out to Go and
60
60
  # use https://github.com/Masterminds/vcs.
61
- response = Excon.get(
62
- "https://#{path}?go-get=1",
63
- idempotent: true,
64
- **SharedHelpers.excon_defaults
65
- )
61
+ response = Dependabot::RegistryClient.get(url: "https://#{path}?go-get=1")
66
62
 
67
63
  return unless response.status == 200
68
64
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-go_modules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.200.0
4
+ version: 0.202.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-21 00:00:00.000000000 Z
11
+ date: 2022-07-26 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.200.0
19
+ version: 0.202.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.200.0
26
+ version: 0.202.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement