dependabot-github_actions 0.293.0 → 0.294.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec35cdf5a8faad77b6c415da1255f1ae09635ff49fae927fe2f1834a5573582
|
4
|
+
data.tar.gz: a1a7c3ce1178c19e837046ae304088acb964e9e8736718ded3b5d5e230263d55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2e027364f40f080ac1589417405138e7cd9b189adee423c741cf3e12517ecf65b7e2262bb32ebb8baed70cdff6b6c054ffce8a148194e40af3fd43477cc5d0
|
7
|
+
data.tar.gz: eff2847fee5fda3e6d599df65bb2ab94e5d2887074a9e11c0f9b1ee3c86746a86943c6b9d17651cc7670c23b3f17396ac86dd508896abf737099683deb228747
|
@@ -111,9 +111,10 @@ module Dependabot
|
|
111
111
|
sig { params(file: Dependabot::DependencyFile, string: String, hostname: String).returns(Dependabot::Dependency) }
|
112
112
|
def github_dependency(file, string, hostname)
|
113
113
|
details = T.must(string.match(GITHUB_REPO_REFERENCE)).named_captures
|
114
|
-
|
114
|
+
repo_name = "#{details.fetch(OWNER_KEY)}/#{details.fetch(REPO_KEY)}"
|
115
115
|
ref = details.fetch(REF_KEY)
|
116
116
|
version = version_class.new(ref).to_s if version_class.correct?(ref)
|
117
|
+
name = version_class.path_based?(ref) ? string : repo_name
|
117
118
|
Dependency.new(
|
118
119
|
name: name,
|
119
120
|
version: version,
|
@@ -122,7 +123,7 @@ module Dependabot
|
|
122
123
|
groups: [],
|
123
124
|
source: {
|
124
125
|
type: "git",
|
125
|
-
url: "https://#{hostname}/#{
|
126
|
+
url: "https://#{hostname}/#{repo_name}".downcase,
|
126
127
|
ref: ref,
|
127
128
|
branch: nil
|
128
129
|
},
|
@@ -24,9 +24,14 @@ module Dependabot
|
|
24
24
|
|
25
25
|
sig { params(version: VersionParameter).returns(VersionParameter) }
|
26
26
|
def self.remove_leading_v(version)
|
27
|
-
return version unless version.to_s.match?(
|
27
|
+
return version unless version.to_s.match?(%r{\A(?:.*/)?v?([0-9])})
|
28
28
|
|
29
|
-
version.to_s.
|
29
|
+
version.to_s.sub(%r{\A(?:.*/)?v?}, "")
|
30
|
+
end
|
31
|
+
|
32
|
+
sig { params(version: VersionParameter).returns(T::Boolean) }
|
33
|
+
def self.path_based?(version)
|
34
|
+
version.to_s.match?(%r{\A.+/v?([0-9])})
|
30
35
|
end
|
31
36
|
|
32
37
|
sig { override.params(version: VersionParameter).returns(T::Boolean) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-github_actions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.294.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-23 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.294.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.294.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -257,7 +257,7 @@ licenses:
|
|
257
257
|
- MIT
|
258
258
|
metadata:
|
259
259
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
260
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
260
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.294.0
|
261
261
|
post_install_message:
|
262
262
|
rdoc_options: []
|
263
263
|
require_paths:
|