dependabot-go_modules 0.180.3 → 0.181.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: 32d1e4c484ec110b6a12bffa0b07f7977b7240173752d31f4d165c862ac42bb2
4
- data.tar.gz: 5a3552d0e957e0c902d23ddc996d1cdc2d88707781a9de8206f23b94ede832d2
3
+ metadata.gz: a5fa8a3cc0b898064ee32f98b485a4b3e26478f5c277ce26b8974cb0882262d0
4
+ data.tar.gz: 78f7b4df6e872604859d102927f7815bb5362a61d626ace44fa9316531123e54
5
5
  SHA512:
6
- metadata.gz: cdc8a29f9d26b50bad526ff7a7ccd4acbd9a4bc4295e3e670f1cd58570f4519d55af88a20ecc02f3d1bfb318661cab93912a55d8cd2af80b153895f20abd9809
7
- data.tar.gz: 27d28ab7d9ff3df613f26b36933bf261513b8620e5bbc58a775aa9d9effc26cca48605f335a2ac11d557bb67502b68e375aa6f0c216731a1e706a8c13e645547
6
+ metadata.gz: a9086c013847f2cf10e213a68b395963335c87ae93e25072369beb273f407a2483aae8ccbf040031a51ef0a674ea3cf81509aa48b3ad3466643e2ed9b1f8086f
7
+ data.tar.gz: 780155a728dc66bd130b3224bacdd97a1a1b4ef9c40a12046452e46416076c105d32a8d764251af98c711b583a2d3a067e53a7b63abe3de5299e1398335b537a
data/helpers/go.mod CHANGED
@@ -2,4 +2,4 @@ module github.com/dependabot/dependabot-core/go_modules/helpers
2
2
 
3
3
  go 1.18
4
4
 
5
- require github.com/Masterminds/vcs v1.13.1
5
+ require github.com/Masterminds/vcs v1.13.3
data/helpers/go.sum CHANGED
@@ -1,2 +1,2 @@
1
- github.com/Masterminds/vcs v1.13.1 h1:NL3G1X7/7xduQtA2sJLpVpfHTNBALVNSjob6KEjPXNQ=
2
- github.com/Masterminds/vcs v1.13.1/go.mod h1:N09YCmOQr6RLxC6UNHzuVwAdodYbbnycGHSmwVJjcKA=
1
+ github.com/Masterminds/vcs v1.13.3 h1:IIA2aBdXvfbIM+yl/eTnL4hb1XwdpvuQLglAix1gweE=
2
+ github.com/Masterminds/vcs v1.13.3/go.mod h1:TiE7xuEjl1N4j016moRd6vezp6e6Lz23gypeXfzXeW8=
@@ -36,10 +36,6 @@ module Dependabot
36
36
  # Fetch the (optional) go.sum
37
37
  fetched_files << go_sum if go_sum
38
38
 
39
- # Fetch the main.go file if present, as this will later identify
40
- # this repo as an app.
41
- fetched_files << main if main
42
-
43
39
  fetched_files
44
40
  end
45
41
  end
@@ -51,27 +47,6 @@ module Dependabot
51
47
  def go_sum
52
48
  @go_sum ||= fetch_file_if_present("go.sum")
53
49
  end
54
-
55
- def main
56
- return @main if defined?(@main)
57
-
58
- go_files = Dir.glob("*.go")
59
-
60
- go_files.each do |filename|
61
- file_content = File.read(filename)
62
- next unless file_content.match?(/\s*package\s+main/)
63
-
64
- return @main = DependencyFile.new(
65
- name: Pathname.new(filename).cleanpath.to_path,
66
- directory: "/",
67
- type: "package_main",
68
- support_file: true,
69
- content: file_content
70
- )
71
- end
72
-
73
- nil
74
- end
75
50
  end
76
51
  end
77
52
  end
@@ -92,10 +92,6 @@ module Dependabot
92
92
  git_dependency?
93
93
  end
94
94
 
95
- def library?
96
- dependency_files.none? { |f| f.type == "package_main" }
97
- end
98
-
99
95
  def version_from_tag(tag)
100
96
  # To compare with the current version we either use the commit SHA
101
97
  # (if that's what the parser picked up) or the tag name.
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.180.3
4
+ version: 0.181.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-04-04 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.180.3
19
+ version: 0.181.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.180.3
26
+ version: 0.181.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: debase
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.4.1
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.4.1
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: debug
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +114,28 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 1.26.0
117
+ version: 1.27.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.27.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: ruby-debug-ide
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.7.3
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
136
  - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: 1.26.0
138
+ version: 0.7.3
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: simplecov
113
141
  requirement: !ruby/object:Gem::Requirement