dependabot-go_modules 0.236.0 → 0.237.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: ea9baaa18143c4d430ffe70dfa21aab4eb2a37a475b7098c792fc30ee64b5446
4
+ data.tar.gz: fe9e70dbd643330697f7d80613c874594e95cfbf80da6a6fe36f2111511d0823
5
5
  SHA512:
6
- metadata.gz: 0c4b69bb09f4daadca6e70a3a567baa23c31fbbdcf0896602013c9433b5ba5f445b46606b6fab499320471fa097180241239d245f88f45b98a179ff387055b91
7
- data.tar.gz: b8dda465483ff7909e95731bea9e8308812ff391dafa31653689a7fcd422e369a22c2f01d193c1c65de877978c03fd89edf404ad4c87cd19528531c32e69b9ca
6
+ metadata.gz: '09d90dedd501d57b4965987e1b0424f701b0641ebacce2f6ecc444fee1cc73c43308837335db846b90f50863c93cd9de5d7328f0d6328571c5c725fbdc54cd64'
7
+ data.tar.gz: 538d324ff89add6117bc298e45e9630cc69adb43833a54d3c84b7c78d05716d9596298a9bdd3bfaed66346dc917e41760b48a93d602715eb484f59a1c9168e50
@@ -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.237.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-11-21 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.237.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.237.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.237.0
229
243
  post_install_message:
230
244
  rdoc_options: []
231
245
  require_paths: