dependabot-go_modules 0.97.3 → 0.97.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7be449f45048e8ff16f561c11740722510d9f99bc22fabce5be0ee13981d48f
|
4
|
+
data.tar.gz: 2e4ba921e257ce7baf130167f45598262d8e3312695f9670a7e8daec50e8f792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 894c256675c10c038e7e4fb3922e8d41a9049d0981f992f9ac4ffc83ddd94248800efaa0b7fe53320cde18e7c87ee2b2351f5c3f5e33b8588088929dd73855bc
|
7
|
+
data.tar.gz: 3571b29b322c061744a98495b997c12ae2deebde9f6f35279d874011d0a00af699c1b05d0a7f1594f883cf94db70ae6eba4929e54cf782c3c5b47eb44a1d2aa5
|
@@ -71,9 +71,10 @@ module Dependabot
|
|
71
71
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
72
72
|
File.write("go.mod", go_mod.content)
|
73
73
|
|
74
|
-
command = "
|
75
|
-
command += " &&
|
76
|
-
|
74
|
+
command = "go mod edit -print > /dev/null"
|
75
|
+
command += " && go list -m -json all"
|
76
|
+
env = { "GO111MODULE" => "on" }
|
77
|
+
stdout, stderr, status = Open3.capture3(env, command)
|
77
78
|
handle_parser_error(path, stderr) unless status.success?
|
78
79
|
stdout
|
79
80
|
rescue Dependabot::DependencyFileNotResolvable
|
@@ -31,7 +31,8 @@ module Dependabot
|
|
31
31
|
end
|
32
32
|
|
33
33
|
SharedHelpers.run_helper_subprocess(
|
34
|
-
command:
|
34
|
+
command: NativeHelpers.helper_path,
|
35
|
+
env: { "GO111MODULE" => "on" },
|
35
36
|
function: "updateDependencyFile",
|
36
37
|
args: { dependencies: deps }
|
37
38
|
)
|
@@ -52,8 +53,8 @@ module Dependabot
|
|
52
53
|
File.write("go.sum", go_sum.content)
|
53
54
|
File.write("main.go", dummy_main_go)
|
54
55
|
|
55
|
-
|
56
|
-
_, stderr, status = Open3.capture3(
|
56
|
+
env = { "GO111MODULE" => "on" }
|
57
|
+
_, stderr, status = Open3.capture3(env, "go get -d")
|
57
58
|
unless status.success?
|
58
59
|
handle_subprocess_error(go_sum.path, stderr)
|
59
60
|
end
|
@@ -41,7 +41,8 @@ module Dependabot
|
|
41
41
|
File.write("go.mod", go_mod.content)
|
42
42
|
|
43
43
|
SharedHelpers.run_helper_subprocess(
|
44
|
-
command:
|
44
|
+
command: NativeHelpers.helper_path,
|
45
|
+
env: { "GO111MODULE" => "on" },
|
45
46
|
function: "getUpdatedVersion",
|
46
47
|
args: {
|
47
48
|
dependency: {
|
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.97.
|
4
|
+
version: 0.97.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-12 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.97.
|
19
|
+
version: 0.97.4
|
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.97.
|
26
|
+
version: 0.97.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|