dependabot-go_modules 0.236.0 → 0.238.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: 79b6e01914dcddc330d5fc96e3ea1d58a06668dad4c3cdc3cf7732b65674218f
4
- data.tar.gz: a07a5331cd72d3066be1c9b58ccbca9eb3e70ed325c225e692546af1d03aec62
3
+ metadata.gz: aafc8c6dc3de357f6dd46215df056d9ed63c9a06ae75d6d9348dbed9475acc4c
4
+ data.tar.gz: 3acd7132da5d9bd135a2d98325bed9b9f9062726f2435d0aac4112f2152cae2b
5
5
  SHA512:
6
- metadata.gz: 0c4b69bb09f4daadca6e70a3a567baa23c31fbbdcf0896602013c9433b5ba5f445b46606b6fab499320471fa097180241239d245f88f45b98a179ff387055b91
7
- data.tar.gz: b8dda465483ff7909e95731bea9e8308812ff391dafa31653689a7fcd422e369a22c2f01d193c1c65de877978c03fd89edf404ad4c87cd19528531c32e69b9ca
6
+ metadata.gz: 31c804033f042f08f0d46ad68a6608f9393c123d9b48f45da499df7cd746188c425fa424ccb78ac6147c8a96b8cf588f60cb5a62d2d15c11ed0f646ef70e1ea4
7
+ data.tar.gz: 71974b91e0f8dacaf930a4e79ad727b8cacc6eb1c48c18715ce85c63a0101829ff3efcb4764e773b488d8ae08dba90aa9e296dd93a52669dde66e04f7c26188b
@@ -1,12 +1,16 @@
1
1
  # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "sorbet-runtime"
4
5
  require "dependabot/file_fetchers"
5
6
  require "dependabot/file_fetchers/base"
6
7
 
7
8
  module Dependabot
8
9
  module GoModules
9
10
  class FileFetcher < Dependabot::FileFetchers::Base
11
+ extend T::Sig
12
+ extend T::Helpers
13
+
10
14
  def self.required_files_in?(filenames)
11
15
  filenames.include?("go.mod")
12
16
  end
@@ -25,8 +29,7 @@ module Dependabot
25
29
  }
26
30
  end
27
31
 
28
- private
29
-
32
+ sig { override.returns(T::Array[DependencyFile]) }
30
33
  def fetch_files
31
34
  # Ensure we always check out the full repo contents for go_module
32
35
  # updates.
@@ -38,7 +41,7 @@ module Dependabot
38
41
  raise(
39
42
  Dependabot::DependencyFileNotFound,
40
43
  Pathname.new(File.join(directory, "go.mod"))
41
- .cleanpath.to_path
44
+ .cleanpath.to_path
42
45
  )
43
46
  end
44
47
 
@@ -49,6 +52,8 @@ module Dependabot
49
52
  end
50
53
  end
51
54
 
55
+ private
56
+
52
57
  def go_mod
53
58
  return @go_mod if defined?(@go_mod)
54
59
 
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.236.0
4
+ version: 0.238.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-26 00:00:00.000000000 Z
11
+ date: 2023-12-07 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.236.0
19
+ version: 0.238.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.236.0
26
+ version: 0.238.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +94,34 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec-sorbet
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.9.2
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.9.2
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubocop
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 1.56.0
117
+ version: 1.57.2
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: 1.56.0
124
+ version: 1.57.2
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rubocop-performance
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -225,7 +239,7 @@ licenses:
225
239
  - Nonstandard
226
240
  metadata:
227
241
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
228
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.236.0
242
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.238.0
229
243
  post_install_message:
230
244
  rdoc_options: []
231
245
  require_paths: