dependabot-docker 0.231.0 → 0.232.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_updater.rb +1 -1
- data/lib/dependabot/docker/metadata_finder.rb +1 -1
- data/lib/dependabot/docker/requirement.rb +1 -1
- data/lib/dependabot/docker/tag.rb +1 -1
- data/lib/dependabot/docker/update_checker.rb +1 -1
- data/lib/dependabot/docker/utils/credentials_finder.rb +1 -1
- data/lib/dependabot/docker/utils/helpers.rb +1 -1
- data/lib/dependabot/docker/version.rb +14 -1
- data/lib/dependabot/docker.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7ec65c65ca477422b595797fb972fe21b52c3682ff698eb288a390c202711fa
|
4
|
+
data.tar.gz: 19059ec95f6e3736c32e399baa981fa6383f0c89d3a479081a892b89fad97d75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15d29aefbd1242ef3cddbd26b4d6621b9291b21ca5eaef7e56753db4efec6bca471b164db686af3194618893d3c7a41f63c5183cc42bda1789245311d331f1ff
|
7
|
+
data.tar.gz: 249371addc50a8d769162c3cb9de62d7919da568a0221b6d438f18606deede62f5d6883f8351693ac6d11cc83eb5e7f19b1ee930f447114a6985d88d3e2840f3
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# typed:
|
1
|
+
# typed: true
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require "dependabot/version"
|
@@ -22,6 +22,19 @@ module Dependabot
|
|
22
22
|
super(@release_part)
|
23
23
|
end
|
24
24
|
|
25
|
+
def self.correct?(version)
|
26
|
+
return true if version.is_a?(Gem::Version)
|
27
|
+
|
28
|
+
# We can't call new here because Gem::Version calls self.correct? in its initialize method
|
29
|
+
# causing an infinite loop, so instead we check if the release_part of the version is correct
|
30
|
+
release_part, = version.split("_", 2)
|
31
|
+
release_part = release_part.sub("v", "").tr("-", ".")
|
32
|
+
super(release_part)
|
33
|
+
rescue ArgumentError
|
34
|
+
# if we can't instantiate a version, it can't be correct
|
35
|
+
false
|
36
|
+
end
|
37
|
+
|
25
38
|
def to_semver
|
26
39
|
@release_part.to_semver
|
27
40
|
end
|
data/lib/dependabot/docker.rb
CHANGED
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.232.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-09-
|
11
|
+
date: 2023-09-14 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.232.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.232.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,7 +216,7 @@ licenses:
|
|
216
216
|
- Nonstandard
|
217
217
|
metadata:
|
218
218
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
219
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
219
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.232.0
|
220
220
|
post_install_message:
|
221
221
|
rdoc_options: []
|
222
222
|
require_paths:
|