dependabot-docker 0.231.0 → 0.233.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 +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71ae1343493a7fc8ef2456c083146646edb3bd9e245f621dc1f547c7c7e2c9c7
|
4
|
+
data.tar.gz: 183e67d2852ee6214f5f913ea035f2dfd69fa5f60fb1cc5b35dcfb3050019b97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a4093321442b48f6a2821b238a7764f27646a77f4ed1b5b991a24e5650784c7d1851dac436d5d5240a5675b1ffdf3568a48031dcf3c3f6b39fb7f56a6e3cb2
|
7
|
+
data.tar.gz: d85d2b27494fbbfbebb6fc9d116f96c404c46f550c133339921204dd83e8a9f19b2bab4cb1f142bb80455f2c3442b7791f3f8cd3a24eddf09f3b9177858ce63c
|
@@ -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.233.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-
|
11
|
+
date: 2023-10-06 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.233.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.233.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: parallel_tests
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 4.2.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 4.2.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +150,20 @@ dependencies:
|
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
152
|
version: 0.2.16
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: turbo_tests
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.2.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.2.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: vcr
|
169
169
|
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.233.0
|
220
220
|
post_install_message:
|
221
221
|
rdoc_options: []
|
222
222
|
require_paths:
|