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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb3d1b7715971fb63f8b1b713987da24f5c2aebbdbdcb216657146292e2f5146
4
- data.tar.gz: f5b3ff175503a7ddbcbee37af8a2b387dc4e60c91689f80af04f25d92d1494dc
3
+ metadata.gz: 71ae1343493a7fc8ef2456c083146646edb3bd9e245f621dc1f547c7c7e2c9c7
4
+ data.tar.gz: 183e67d2852ee6214f5f913ea035f2dfd69fa5f60fb1cc5b35dcfb3050019b97
5
5
  SHA512:
6
- metadata.gz: e23120d2344c090f4dee22bc8086d8021365296caf864ab1fd8477326839353e77f6b2da5ce4bb0932a4ef5fdeac894ba2ee58fef0e7ccf121bb6e48a6119134
7
- data.tar.gz: 3ddb555334b80e5d34491036070645abcb8ece0ae4a6149943d56b0020b44e767eeabf85fab2882dfc0aed29880b5c74c4d1477ac093b990439075161aae6ddc
6
+ metadata.gz: 48a4093321442b48f6a2821b238a7764f27646a77f4ed1b5b991a24e5650784c7d1851dac436d5d5240a5675b1ffdf3568a48031dcf3c3f6b39fb7f56a6e3cb2
7
+ data.tar.gz: d85d2b27494fbbfbebb6fc9d116f96c404c46f550c133339921204dd83e8a9f19b2bab4cb1f142bb80455f2c3442b7791f3f8cd3a24eddf09f3b9177858ce63c
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "dependabot/docker/utils/helpers"
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "dependabot/metadata_finders"
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "dependabot/utils"
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "dependabot/docker/file_parser"
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "docker_registry2"
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "aws-sdk-ecr"
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Dependabot
@@ -1,4 +1,4 @@
1
- # typed: false
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
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  # These all need to be required so the various classes can be registered in a
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.231.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-09-12 00:00:00.000000000 Z
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.231.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.231.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.231.0
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: