dependabot-docker 0.291.0 → 0.292.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/docker/file_parser.rb +12 -0
- data/lib/dependabot/docker/package_manager.rb +53 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c263fbe7f8f0e1c4ce27524f83a12c6f945d5bfdbd525412e55d6621f91ed4e1
|
4
|
+
data.tar.gz: 9a8990dbdf18c8b2a955f46f183821ba6b530886d4fd08c38139c9994f049666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dde34d3ac59711277866a2e5b158171fac3b0395030d3570b0a9601e5e9df64c96a15790ed16c0bce70e22078595e9eb3b672af6fd100bee1dc39c745aebcd66
|
7
|
+
data.tar.gz: 82fc954aa85dcde32e428006189bbb2ab92d44325d713d5ccf5df62552dc3a3a9f7cd6a9ca238491fbdaa4e79c3ae0cd78b9314cb294195096847e97137e65ce
|
@@ -8,6 +8,7 @@ require "dependabot/file_parsers"
|
|
8
8
|
require "dependabot/file_parsers/base"
|
9
9
|
require "dependabot/errors"
|
10
10
|
require "sorbet-runtime"
|
11
|
+
require "dependabot/docker/package_manager"
|
11
12
|
|
12
13
|
module Dependabot
|
13
14
|
module Docker
|
@@ -42,6 +43,17 @@ module Dependabot
|
|
42
43
|
|
43
44
|
IMAGE_SPEC = %r{^(#{REGISTRY}/)?#{IMAGE}#{TAG}?(?:@sha256:#{DIGEST})?#{NAME}?}x
|
44
45
|
|
46
|
+
sig { returns(Ecosystem) }
|
47
|
+
def ecosystem
|
48
|
+
@ecosystem ||= T.let(
|
49
|
+
Ecosystem.new(
|
50
|
+
name: ECOSYSTEM,
|
51
|
+
package_manager: DockerPackageManager.new
|
52
|
+
),
|
53
|
+
T.nilable(Ecosystem)
|
54
|
+
)
|
55
|
+
end
|
56
|
+
|
45
57
|
# rubocop:disable Metrics/AbcSize
|
46
58
|
sig { override.returns(T::Array[Dependabot::Dependency]) }
|
47
59
|
def parse
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# typed: strong
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "sorbet-runtime"
|
5
|
+
require "dependabot/docker/version"
|
6
|
+
require "dependabot/ecosystem"
|
7
|
+
require "dependabot/docker/requirement"
|
8
|
+
|
9
|
+
module Dependabot
|
10
|
+
module Docker
|
11
|
+
ECOSYSTEM = "docker"
|
12
|
+
|
13
|
+
SUPPORTED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
|
14
|
+
|
15
|
+
DEPRECATED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
|
16
|
+
|
17
|
+
class DockerPackageManager < Dependabot::Ecosystem::VersionManager
|
18
|
+
extend T::Sig
|
19
|
+
|
20
|
+
NAME = "docker"
|
21
|
+
|
22
|
+
# As dockerfile updater is a inhouse custom utility, We use a placeholder
|
23
|
+
# version number for dockerfile updater
|
24
|
+
VERSION = "1.0.0"
|
25
|
+
|
26
|
+
SUPPORTED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
|
27
|
+
|
28
|
+
DEPRECATED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
|
29
|
+
|
30
|
+
sig do
|
31
|
+
void
|
32
|
+
end
|
33
|
+
def initialize
|
34
|
+
super(
|
35
|
+
name: NAME,
|
36
|
+
version: Version.new(VERSION),
|
37
|
+
deprecated_versions: DEPRECATED_VERSIONS,
|
38
|
+
supported_versions: SUPPORTED_VERSIONS
|
39
|
+
)
|
40
|
+
end
|
41
|
+
|
42
|
+
sig { override.returns(T::Boolean) }
|
43
|
+
def deprecated?
|
44
|
+
false
|
45
|
+
end
|
46
|
+
|
47
|
+
sig { override.returns(T::Boolean) }
|
48
|
+
def unsupported?
|
49
|
+
false
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-docker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.292.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-09 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.
|
19
|
+
version: 0.292.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.
|
26
|
+
version: 0.292.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -247,6 +247,7 @@ files:
|
|
247
247
|
- lib/dependabot/docker/file_parser.rb
|
248
248
|
- lib/dependabot/docker/file_updater.rb
|
249
249
|
- lib/dependabot/docker/metadata_finder.rb
|
250
|
+
- lib/dependabot/docker/package_manager.rb
|
250
251
|
- lib/dependabot/docker/requirement.rb
|
251
252
|
- lib/dependabot/docker/tag.rb
|
252
253
|
- lib/dependabot/docker/update_checker.rb
|
@@ -258,7 +259,7 @@ licenses:
|
|
258
259
|
- MIT
|
259
260
|
metadata:
|
260
261
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
261
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
262
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.292.0
|
262
263
|
post_install_message:
|
263
264
|
rdoc_options: []
|
264
265
|
require_paths:
|
@@ -274,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
275
|
- !ruby/object:Gem::Version
|
275
276
|
version: 3.1.0
|
276
277
|
requirements: []
|
277
|
-
rubygems_version: 3.5.
|
278
|
+
rubygems_version: 3.5.22
|
278
279
|
signing_key:
|
279
280
|
specification_version: 4
|
280
281
|
summary: Provides Dependabot support for Docker
|