dependabot-go_modules 0.260.0 → 0.261.1

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: '081432b585f4d3d60a94b2e6b974c8fb5bdbc10885960a8656e82f5a495d07f1'
4
- data.tar.gz: '093d3143281f6c1318c08fae75746c4d48f0a71eacc7cac2adcdef9bcdeed815'
3
+ metadata.gz: 6ef6248697f48d590117a22930443e038509b33e77e5569c6a4de62c8c99cf53
4
+ data.tar.gz: 2e47a7b2e0f6c9130fa57dd1980b6fdaa012ff7fa39b891f537eb0c1290d682f
5
5
  SHA512:
6
- metadata.gz: e58752d189334bc82c2ef5a174c7674bfaf8b02b344d6e1b5c4baff69f10d171ed6d2c65a6bb3e6f79c5e877ef93ba574210b562f6a571bdc1cad57f010db1d3
7
- data.tar.gz: 3828f2c18a094027cd7e61eabd9df2d3fd394438c3f3f1aea7a078af8f264b740071f18a7a41c3924048d752b7c5c90af7a6a38cbcdee192d76d6e86f2d52bfe
6
+ metadata.gz: be62bbbb9f4177430b7925439f2a63fd185fdb4f018d5bc61638587d8db0550ff5de02f83f55f60b7f8f1c4a4b880b0be671e161a85aea1dde58c7150c75651c
7
+ data.tar.gz: ac30197df325a2de0a7aeaed25f5c8d34abed264264aa830b5ed5eaa9d5ea1bfd05e7bb47900c8d0ee9612a689347c911e80e8cde14a055ef283ae0c7cbf4faf
@@ -1,6 +1,8 @@
1
- # typed: true
1
+ # typed: strict
2
2
  # frozen_string_literal: true
3
3
 
4
+ require "sorbet-runtime"
5
+
4
6
  require "dependabot/metadata_finders"
5
7
  require "dependabot/metadata_finders/base"
6
8
  require "dependabot/go_modules/path_converter"
@@ -8,8 +10,11 @@ require "dependabot/go_modules/path_converter"
8
10
  module Dependabot
9
11
  module GoModules
10
12
  class MetadataFinder < Dependabot::MetadataFinders::Base
13
+ extend T::Sig
14
+
11
15
  private
12
16
 
17
+ sig { override.returns(T.nilable(Source)) }
13
18
  def look_up_source
14
19
  url = Dependabot::GoModules::PathConverter.git_url_for_path(dependency.name)
15
20
  Source.from_url(url) if url
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.260.0
4
+ version: 0.261.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-06 00:00:00.000000000 Z
11
+ date: 2024-06-17 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.260.0
19
+ version: 0.261.1
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.260.0
26
+ version: 0.261.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -267,7 +267,7 @@ licenses:
267
267
  - MIT
268
268
  metadata:
269
269
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
270
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.260.0
270
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.261.1
271
271
  post_install_message:
272
272
  rdoc_options: []
273
273
  require_paths: