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 +4 -4
- data/helpers/go.mod +1 -1
- data/lib/dependabot/go_modules/file_updater/go_mod_updater.rb +3 -4
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54dcdaafa57bacc4fc4bd6b856a5a13250897502948d8c75e40e3f7944524c35
|
4
|
+
data.tar.gz: 671acdeee18fc1612e2de4cf1bf4fbbcc5a17b33f60e8c16130fbc06e20f45a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5ea5895cfffcde7b81a7043336eee552b94753586a5efe22afdc133419a37c15a1cdd6876ddd8ae91e5d2ea75f51fea463e7f036e97518ea6f3407c6a838c06
|
7
|
+
data.tar.gz: df677728da899beb38980ac2a73eed16a64e82fee24898e83b62c78bfeb9f65455db8ebac35de60df252cfc2810ef6a29bc120ba92b2485f7f369e70faa807af
|
data/helpers/go.mod
CHANGED
@@ -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
|
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
|
-
|
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
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
225
|
+
version: 2.7.0
|
226
226
|
requirements: []
|
227
227
|
rubygems_version: 3.2.32
|
228
228
|
signing_key:
|