dependabot-go_modules 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: 9ed6d1a0a30d19de547408cb92568062fb6a7a1e7dac483ae3217ecf4577c26d
4
- data.tar.gz: d6a7ad8c626d54f8d36a48427e8974d884d20e5fe5076633d0e0d9359a59aa26
3
+ metadata.gz: 01faf55513629335b535bea7fbce9186a18ddc523214a3c549a98b108488c8e4
4
+ data.tar.gz: 2620b36940d86038bf9e1749d6d54f89d42af7e36b6d24a8cf32298648a566d5
5
5
  SHA512:
6
- metadata.gz: fc2e5b2495cabe7ae0b2553d71d17ba951452eda3e389f17daf5c01c76f3ebc6007886417326a2e10f4f37bddad91628d24bf4d893ecd2c04d6901ab8d0b4809
7
- data.tar.gz: dbf831357d90dd76acc82a830e1ae0b871f7c6db79124cc14e33e696ad2b15c6df7f9c601144b3f9248f7dd6f588ad6283ff20f69e7a73b0e54de6da2332209c
6
+ metadata.gz: 03e465942f41fcf49cb70eb3fbe31cf4b9a1aae0c187fad671912b6e79f95f6d979893827221ed1ac89d4bc0d3ac71c47df7a364e1f55c69827d64b41d08f7af
7
+ data.tar.gz: 6ddbc061448c13a1507479da8d5a8113f32936f39e6ac59ba22ba1a383fb189d78542079743b29bd36caab8194434290594b0fc6a6298deab45b17f09bb856dc
@@ -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.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