dependabot-pub 0.232.0 → 0.234.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/pub/version.rb +9 -2
- 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: d019bd738e139d2779487f5490cbc77ed332d8a18356397ae4242b067006aac2
|
4
|
+
data.tar.gz: 67fbad80e3cb85ede92b56e0ae8ff52f47ce0f5656458f65fcb0f267e742b432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbf540639c871fe38bda03b49a27fc750db0e26b69c55e5ef0451e86a1ff60cf0bec7001ef5bac87c8eb5bd7da2d76675692b9002c416bee56854d3e7e72383f
|
7
|
+
data.tar.gz: 9aa34a2b0730b8c479426761cdf7ffa69ed8dcaa379df416bcdaa052b8517ca8a5be44a68e6400a23206e114653624abb2deb76d7c0691b4f6eac5b64e18afd0
|
@@ -17,26 +17,33 @@ require "dependabot/utils"
|
|
17
17
|
module Dependabot
|
18
18
|
module Pub
|
19
19
|
class Version < Dependabot::Version
|
20
|
-
|
20
|
+
extend T::Sig
|
21
|
+
|
22
|
+
VERSION_PATTERN = T.let(Gem::Version::VERSION_PATTERN + "(\\+[0-9a-zA-Z\\-.]+)?", String)
|
21
23
|
ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})?\s*\z/
|
22
24
|
|
25
|
+
sig { returns(String) }
|
23
26
|
attr_reader :build_info
|
24
27
|
|
28
|
+
sig { override.params(version: T.any(String, Gem::Version)).void }
|
25
29
|
def initialize(version)
|
26
|
-
@version_string = version.to_s
|
30
|
+
@version_string = T.let(version.to_s, String)
|
27
31
|
version, @build_info = version.to_s.split("+") if version.to_s.include?("+")
|
28
32
|
|
29
33
|
super
|
30
34
|
end
|
31
35
|
|
36
|
+
sig { override.returns(String) }
|
32
37
|
def to_s
|
33
38
|
@version_string
|
34
39
|
end
|
35
40
|
|
41
|
+
sig { override.returns(String) }
|
36
42
|
def inspect # :nodoc:
|
37
43
|
"#<#{self.class} #{@version_string}>"
|
38
44
|
end
|
39
45
|
|
46
|
+
sig { override.params(version: T.any(String, Gem::Version)).returns(T::Boolean) }
|
40
47
|
def self.correct?(version)
|
41
48
|
return false if version.nil?
|
42
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-pub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.234.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-12 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.234.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.234.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: webrick
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: parallel_tests
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 4.2.0
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 4.2.0
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rake
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +164,20 @@ dependencies:
|
|
178
164
|
- - "~>"
|
179
165
|
- !ruby/object:Gem::Version
|
180
166
|
version: 0.2.16
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: turbo_tests
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.2.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 2.2.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: vcr
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,7 +228,7 @@ licenses:
|
|
228
228
|
- Nonstandard
|
229
229
|
metadata:
|
230
230
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
231
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
231
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.234.0
|
232
232
|
post_install_message:
|
233
233
|
rdoc_options: []
|
234
234
|
require_paths:
|