dependabot-go_modules 0.180.4 → 0.182.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: 2858e01a474f3fa096b01e8fe836e9d82789a002845ff26da12918fb328d93d9
4
- data.tar.gz: e6889027a881a65957c9160bd12f1528e9be8e66e4b548ae3d79095c1f899566
3
+ metadata.gz: 871f2350abef6180c9e06a29f39a08ff67acd0c1c5073440f28fc8c1cb9bfd1d
4
+ data.tar.gz: a8b4e67c39978352aeb7cc6b9cc6aefa52aed6f80bffbd086b2024c9557c0311
5
5
  SHA512:
6
- metadata.gz: 757806242d4c3bc81ca38a703a5736384420e3346ab3eb1e8d5b574c91610ef17dd2ae7dc6740dc5337beca0bd6d02028c370c4f2228ef54972aabfd120152fe
7
- data.tar.gz: 636c79bcb87c2985d26023e45feaf1feefa3f7fb5d1d71c1180efd227b1a8c5116e5cca433eee8a30adc14c91009363b44b8cebb30d489ef83964f9675a64ec5
6
+ metadata.gz: 46239daf0e5db96258ead08ee09381bf51b3c30b2280edfdc33730145659d91b88694eb1b1a02d14dc1834c2bdfe56d1e0e0901ad04eac6b6d2ed69c8146491c
7
+ data.tar.gz: 44f9e471ec626c4d8799c5672ed111b6a1b208bbe148233255bdb54436b569b2ecb0670fedaa7f1f98d844badf33714311ae530d2a91281dfbbdb428cef99a0d
@@ -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.4
4
+ version: 0.182.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-06 00:00:00.000000000 Z
11
+ date: 2022-04-20 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.4
19
+ version: 0.182.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.4
26
+ version: 0.182.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