dependabot-go_modules 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: 191f1c4b44d43f9b2f66adffff419748b509a5d8894ccc91eaf6f584317b69e3
4
- data.tar.gz: b74bedce0a5807a3555f3d06716e9caeb1e9ea27e00b68e9500d561b96bbb258
3
+ metadata.gz: a1dfe8cbe4628e0996b77ebbbb58f5383467a660336255c1c727ae748f0db61d
4
+ data.tar.gz: 945369071685baf2aa4e7ce1acc58b69fbd64dd5b29c81ca95d107466dacb46d
5
5
  SHA512:
6
- metadata.gz: 48112790ebd62bfb9b8e3e613ef860e7ce9f234530932717d39cb1d1c008934f9b6d006af03a47f2195e14c166aacae4b39d1ae9a42075dc1d4b6a53f58ef305
7
- data.tar.gz: ab17cd8e203c405fec79cb54d0a68130e17ca4dcf659ece3805e498eee9306697739afc4f563e3b588250ceadfbffdfc84418308cd4ebdacccb37ed0360f714c
6
+ metadata.gz: 3ad549479f81bc8111124ca4c3692d9762626f50909f7e2616cec9126dc92ebc44bbb2c537d6b43378094b8605b15db531c7d34657583ab9e52777ec00c4e9cd
7
+ data.tar.gz: 1416f8a4224bf84fc037911f6bc60fc5b9342e473d5fad56efa10304dd968e639fe05b6b0db77fc668406641caff6d77024a98ddd0561859209c00b4a2d6e059
@@ -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.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