dependabot-common 0.248.0 → 0.249.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 217c5c870b824a19e49395f0ae3ecb4a01326f04c48acea4014aaca26ba7735d
|
4
|
+
data.tar.gz: 9a587a5c8c08853903d2e3ed5aec1ebdd943da45d82bbe1f7c2a83187a241d3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87a101be9e06ab4602930b296950db93b8b27ae81319a3ba1523f42866f7e2ea4dde7320ccfc69f604bd87c2aa720023716ca92f1e42bea8f4aeab0ecdde7045
|
7
|
+
data.tar.gz: efdcc0bc5bc3a49cd0f4746a490582cf07884c3a4a4618a784d40aa7f09edf8dcc28b3af05949e39fded10a0450ce30a6bc87ac9d489eeb1baa7e2a38f225c5e
|
@@ -82,7 +82,10 @@ module Dependabot
|
|
82
82
|
repo: String, commit: T.nilable(String),
|
83
83
|
path: T.nilable(String)
|
84
84
|
)
|
85
|
-
.returns(
|
85
|
+
# See PR 9344: should .returns(Seahorse::Client::Response)
|
86
|
+
# but it not extend Delegator, unblocking until shim or
|
87
|
+
# another fix is implemented
|
88
|
+
.returns(T.untyped)
|
86
89
|
end
|
87
90
|
def fetch_repo_contents(repo, commit = nil, path = nil)
|
88
91
|
actual_path = path
|
@@ -242,7 +242,7 @@ module Dependabot
|
|
242
242
|
updates = dependencies.map(&:name).uniq.count
|
243
243
|
|
244
244
|
if source.directories
|
245
|
-
"bump the #{T.must(dependency_group).name} across #{T.must(directories_with_updates).count} " \
|
245
|
+
"bump the #{T.must(dependency_group).name} group across #{T.must(directories_with_updates).count} " \
|
246
246
|
"#{T.must(directories_with_updates).count > 1 ? 'directories' : 'directory'} " \
|
247
247
|
"with #{updates} update#{'s' if updates > 1}"
|
248
248
|
else
|
@@ -466,7 +466,7 @@ module Dependabot
|
|
466
466
|
|
467
467
|
update_count = dependencies_in_directory.map(&:name).uniq.count
|
468
468
|
|
469
|
-
msg += "Bumps the #{T.must(dependency_group).name} " \
|
469
|
+
msg += "Bumps the #{T.must(dependency_group).name} group " \
|
470
470
|
"with #{update_count} update#{update_count > 1 ? 's' : ''} in the #{directory} directory:"
|
471
471
|
|
472
472
|
msg += if update_count >= 5
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# typed: strong
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "sorbet-runtime"
|
5
|
+
|
6
|
+
module Dependabot
|
7
|
+
module RequirementsUpdater
|
8
|
+
module Base
|
9
|
+
extend T::Sig
|
10
|
+
extend T::Helpers
|
11
|
+
extend T::Generic
|
12
|
+
|
13
|
+
Version = type_member { { upper: Gem::Version } }
|
14
|
+
Requirement = type_member { { upper: Gem::Requirement } }
|
15
|
+
|
16
|
+
interface!
|
17
|
+
|
18
|
+
sig { abstract.returns(T::Array[T::Hash[Symbol, T.untyped]]) }
|
19
|
+
def updated_requirements; end
|
20
|
+
|
21
|
+
sig { abstract.returns(T::Class[Version]) }
|
22
|
+
def version_class; end
|
23
|
+
|
24
|
+
sig { abstract.returns(T::Class[Requirement]) }
|
25
|
+
def requirement_class; end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/dependabot.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.249.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-03-
|
11
|
+
date: 2024-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-codecommit
|
@@ -562,6 +562,7 @@ files:
|
|
562
562
|
- lib/dependabot/registry_client.rb
|
563
563
|
- lib/dependabot/requirement.rb
|
564
564
|
- lib/dependabot/requirements_update_strategy.rb
|
565
|
+
- lib/dependabot/requirements_updater/base.rb
|
565
566
|
- lib/dependabot/security_advisory.rb
|
566
567
|
- lib/dependabot/shared_helpers.rb
|
567
568
|
- lib/dependabot/simple_instrumentor.rb
|
@@ -582,7 +583,7 @@ licenses:
|
|
582
583
|
- Nonstandard
|
583
584
|
metadata:
|
584
585
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
585
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
586
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.249.0
|
586
587
|
post_install_message:
|
587
588
|
rdoc_options: []
|
588
589
|
require_paths:
|