dependabot-docker 0.226.0 → 0.228.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/tag.rb +1 -1
- data/lib/dependabot/docker/update_checker.rb +12 -11
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc4b465413eb425a3e4109d3cc3aecd3935725144fec1e7b47aad3a3153c5657
|
4
|
+
data.tar.gz: 7e3c653e2d40cbc58ce01ea95ffc1c214188883d51311c989da5c4d47e5f11e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d70f91963c075b27ef1547a5c5abce84f894216f0604bfc2a912db47427ef39230ef0059051aac0b8918a210e9dda02ddc26b73a73a420316f3c13ae4f675170
|
7
|
+
data.tar.gz: af5ed6b13e8bc49f4fcd88e402af618a08106f2011156f39a6ab8111a0e002e5d6fd4c9a75bf56c5078712114428dda4c48475c47cb05cbb25f2fccf54f8deef
|
@@ -100,7 +100,7 @@ module Dependabot
|
|
100
100
|
# candidate for "21-ea-32", since it's the only one that respects that
|
101
101
|
# format.
|
102
102
|
if version.match?(WORDS_WITH_BUILD)
|
103
|
-
return :"<version>#{version.match(WORDS_WITH_BUILD).to_s.gsub(/-[0-9]+/,
|
103
|
+
return :"<version>#{version.match(WORDS_WITH_BUILD).to_s.gsub(/-[0-9]+/, '-<build_num>')}"
|
104
104
|
end
|
105
105
|
|
106
106
|
:normal
|
@@ -76,7 +76,7 @@ module Dependabot
|
|
76
76
|
|
77
77
|
def version_tag_up_to_date?
|
78
78
|
version = dependency.version
|
79
|
-
return unless version
|
79
|
+
return false unless version
|
80
80
|
|
81
81
|
return true unless version_tag.comparable?
|
82
82
|
|
@@ -171,19 +171,14 @@ module Dependabot
|
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
|
-
def
|
174
|
+
def latest_tag
|
175
175
|
return unless latest_digest
|
176
176
|
|
177
|
-
|
178
|
-
tags_from_registry.
|
177
|
+
tags_from_registry.
|
179
178
|
select(&:canonical?).
|
180
179
|
sort_by { |t| comparable_version_from(t) }.
|
181
180
|
reverse.
|
182
181
|
find { |t| digest_of(t.name) == latest_digest }
|
183
|
-
|
184
|
-
return unless candidate_tag
|
185
|
-
|
186
|
-
comparable_version_from(candidate_tag)
|
187
182
|
end
|
188
183
|
|
189
184
|
def updated_digest
|
@@ -259,10 +254,16 @@ module Dependabot
|
|
259
254
|
return true if tag.looks_like_prerelease?
|
260
255
|
|
261
256
|
# Compare the numeric version against the version of the `latest` tag.
|
262
|
-
return false unless
|
263
|
-
|
257
|
+
return false unless latest_tag
|
258
|
+
|
259
|
+
if comparable_version_from(tag) > comparable_version_from(latest_tag)
|
260
|
+
Dependabot.logger.info "Tag with non-prerelease version name #{tag.name} detected as prerelease, " \
|
261
|
+
"because it sorts higher than #{latest_tag.name}."
|
264
262
|
|
265
|
-
|
263
|
+
true
|
264
|
+
else
|
265
|
+
false
|
266
|
+
end
|
266
267
|
end
|
267
268
|
|
268
269
|
def comparable_version_from(tag)
|
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.228.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-08-
|
11
|
+
date: 2023-08-25 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.228.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.228.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,28 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.56.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.56.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-performance
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
131
|
+
version: 1.19.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
138
|
+
version: 1.19.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: stackprof
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -202,7 +202,7 @@ licenses:
|
|
202
202
|
- Nonstandard
|
203
203
|
metadata:
|
204
204
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
205
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
205
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.228.0
|
206
206
|
post_install_message:
|
207
207
|
rdoc_options: []
|
208
208
|
require_paths:
|