dependabot-go_modules 0.260.0 → 0.261.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: '081432b585f4d3d60a94b2e6b974c8fb5bdbc10885960a8656e82f5a495d07f1'
4
- data.tar.gz: '093d3143281f6c1318c08fae75746c4d48f0a71eacc7cac2adcdef9bcdeed815'
3
+ metadata.gz: de9d6c3fea4946a164e09df369663a60d6e80c7c2bf90b2067c5c3dae369c7cf
4
+ data.tar.gz: 887581d9d3ab777b6c06ab331629b8513d84b58c0208b90bfce9e73267052384
5
5
  SHA512:
6
- metadata.gz: e58752d189334bc82c2ef5a174c7674bfaf8b02b344d6e1b5c4baff69f10d171ed6d2c65a6bb3e6f79c5e877ef93ba574210b562f6a571bdc1cad57f010db1d3
7
- data.tar.gz: 3828f2c18a094027cd7e61eabd9df2d3fd394438c3f3f1aea7a078af8f264b740071f18a7a41c3924048d752b7c5c90af7a6a38cbcdee192d76d6e86f2d52bfe
6
+ metadata.gz: 5963df5af3424f2e7ad0262123e3c5a0fad14ac2a3bd52462e26c2ffbbb3cd2581b93c575dea2e69c23143852ea52575ae43a2e991c24b8bd619ccfc1ddedda5
7
+ data.tar.gz: 8a409ae630775472accc04491d1f442101a1e9aade045b5bd7405424bfe8274348ba5f76791cdb139ad26620102a8334a4b9643b5b53342d1f55c3120e2565b7
@@ -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.0
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-13 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.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.260.0
26
+ version: 0.261.0
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.0
271
271
  post_install_message:
272
272
  rdoc_options: []
273
273
  require_paths: