dependabot-go_modules 0.178.0 → 0.180.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: b095b8f018fb50d6a058940df031bf130abad44657bc7dc26beaa31468705dc6
4
- data.tar.gz: bff061ec4e4f5abdcfb2d84363ca45fbcd5a3e4368629259e1f7aaa29b7a14ab
3
+ metadata.gz: 54dcdaafa57bacc4fc4bd6b856a5a13250897502948d8c75e40e3f7944524c35
4
+ data.tar.gz: 671acdeee18fc1612e2de4cf1bf4fbbcc5a17b33f60e8c16130fbc06e20f45a7
5
5
  SHA512:
6
- metadata.gz: f10a8d6ab739d18f4da661c9af15594713abf5c8f78ecd18fda8c13661b0d0f543aafddc0b78ff057d386c503ba6470acca6ad846dfd5415b05e77cdf9457ad9
7
- data.tar.gz: 6a134574eed7fe12581680878cdcb154e5b6ba8ca180a1742920ed8a730d54d5ebe408c4ab8a304c781d5f153da3e055996d3ac21a276d4986e74c40cf8a9cb4
6
+ metadata.gz: a5ea5895cfffcde7b81a7043336eee552b94753586a5efe22afdc133419a37c15a1cdd6876ddd8ae91e5d2ea75f51fea463e7f036e97518ea6f3407c6a838c06
7
+ data.tar.gz: df677728da899beb38980ac2a73eed16a64e82fee24898e83b62c78bfeb9f65455db8ebac35de60df252cfc2810ef6a29bc120ba92b2485f7f369e70faa807af
data/helpers/go.mod CHANGED
@@ -1,5 +1,5 @@
1
1
  module github.com/dependabot/dependabot-core/go_modules/helpers
2
2
 
3
- go 1.17
3
+ go 1.18
4
4
 
5
5
  require github.com/Masterminds/vcs v1.13.1
@@ -14,7 +14,7 @@ module Dependabot
14
14
  RESOLVABILITY_ERROR_REGEXES = [
15
15
  # The checksum in go.sum does not match the downloaded content
16
16
  /verifying .*: checksum mismatch/.freeze,
17
- /go (?:get)?: .*: go.mod has post-v\d+ module path/
17
+ /go(?: get)?: .*: go.mod has post-v\d+ module path/
18
18
  ].freeze
19
19
 
20
20
  REPO_RESOLVABILITY_ERROR_REGEXES = [
@@ -162,8 +162,7 @@ module Dependabot
162
162
 
163
163
  File.write(tmp_go_file, "package dummypkg\n") unless package
164
164
 
165
- # TODO: go 1.18 will make `-d` the default behavior, so remove the flag then
166
- command = +"go get -d"
165
+ command = +"go get"
167
166
  # `go get` accepts multiple packages, each separated by a space
168
167
  dependencies.each do |dep|
169
168
  version = "v" + dep.version.sub(/^v/i, "")
@@ -195,7 +194,7 @@ module Dependabot
195
194
 
196
195
  def build_module_stubs(stub_paths)
197
196
  # Create a fake empty module for each local module so that
198
- # `go get -d` works, even if some modules have been `replace`d
197
+ # `go get` works, even if some modules have been `replace`d
199
198
  # with a local module that we don't have access to.
200
199
  stub_paths.each do |stub_path|
201
200
  Dir.mkdir(stub_path) unless Dir.exist?(stub_path)
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.178.0
4
+ version: 0.180.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-03-10 00:00:00.000000000 Z
11
+ date: 2022-03-18 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.178.0
19
+ version: 0.180.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.178.0
26
+ version: 0.180.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 6.0.0
159
+ version: 6.1.0
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 6.0.0
166
+ version: 6.1.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: webmock
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -217,12 +217,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
218
  - - ">="
219
219
  - !ruby/object:Gem::Version
220
- version: 2.5.0
220
+ version: 2.7.0
221
221
  required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  requirements:
223
223
  - - ">="
224
224
  - !ruby/object:Gem::Version
225
- version: 2.5.0
225
+ version: 2.7.0
226
226
  requirements: []
227
227
  rubygems_version: 3.2.32
228
228
  signing_key: