dependabot-git_submodules 0.230.0 → 0.232.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/git_submodules/file_fetcher.rb +9 -8
- data/lib/dependabot/git_submodules/file_parser.rb +3 -2
- data/lib/dependabot/git_submodules/file_updater.rb +3 -2
- data/lib/dependabot/git_submodules/metadata_finder.rb +3 -2
- data/lib/dependabot/git_submodules/requirement.rb +4 -3
- data/lib/dependabot/git_submodules/update_checker.rb +3 -2
- data/lib/dependabot/git_submodules/version.rb +3 -2
- data/lib/dependabot/git_submodules.rb +5 -4
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fab4f144194a39babe73f14aee0a78fdf6a321cdc0a3b955a664218ef43a33ac
|
4
|
+
data.tar.gz: 3c0e27ef333440a8ad5be0744c4ca4565f0dd5fd8cae9dacb83202d6396749d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee5f0ab31e20a0f5d37747a57cb611566b114630ad8424a3c4fbd4ec65c532450f3bcda6d922cfc305975ebb04007744b3cd9d1f0a868262467e80e569025ce6
|
7
|
+
data.tar.gz: 6b02821622b4aeb77d886ce196caa9a6348588ab9f010053e1c9cb331ebc4d280e040dcf571118fc0643bc5de39ad56d7c1a9e49e9e2108778280814906c97ee
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "parseconfig"
|
@@ -31,10 +32,10 @@ module Dependabot
|
|
31
32
|
|
32
33
|
def submodule_refs
|
33
34
|
@submodule_refs ||=
|
34
|
-
submodule_paths
|
35
|
-
map { |path| fetch_submodule_ref_from_host(path) }
|
36
|
-
tap { |refs| refs.each { |f| f.support_file = true } }
|
37
|
-
uniq
|
35
|
+
submodule_paths
|
36
|
+
.map { |path| fetch_submodule_ref_from_host(path) }
|
37
|
+
.tap { |refs| refs.each { |f| f.support_file = true } }
|
38
|
+
.uniq
|
38
39
|
end
|
39
40
|
|
40
41
|
def submodule_paths
|
@@ -46,8 +47,8 @@ module Dependabot
|
|
46
47
|
end
|
47
48
|
|
48
49
|
def fetch_submodule_ref_from_host(submodule_path)
|
49
|
-
path = Pathname.new(File.join(directory, submodule_path))
|
50
|
-
|
50
|
+
path = Pathname.new(File.join(directory, submodule_path))
|
51
|
+
.cleanpath.to_path.gsub(%r{^/*}, "")
|
51
52
|
sha = case source.provider
|
52
53
|
when "github"
|
53
54
|
fetch_github_submodule_commit(path)
|
@@ -85,5 +86,5 @@ module Dependabot
|
|
85
86
|
end
|
86
87
|
end
|
87
88
|
|
88
|
-
Dependabot::FileFetchers
|
89
|
-
register("submodules", Dependabot::GitSubmodules::FileFetcher)
|
89
|
+
Dependabot::FileFetchers
|
90
|
+
.register("submodules", Dependabot::GitSubmodules::FileFetcher)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "parseconfig"
|
@@ -67,5 +68,5 @@ module Dependabot
|
|
67
68
|
end
|
68
69
|
end
|
69
70
|
|
70
|
-
Dependabot::FileParsers
|
71
|
-
register("submodules", Dependabot::GitSubmodules::FileParser)
|
71
|
+
Dependabot::FileParsers
|
72
|
+
.register("submodules", Dependabot::GitSubmodules::FileParser)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/file_updaters"
|
@@ -36,5 +37,5 @@ module Dependabot
|
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
39
|
-
Dependabot::FileUpdaters
|
40
|
-
register("submodules", Dependabot::GitSubmodules::FileUpdater)
|
40
|
+
Dependabot::FileUpdaters
|
41
|
+
.register("submodules", Dependabot::GitSubmodules::FileUpdater)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/metadata_finders"
|
@@ -18,5 +19,5 @@ module Dependabot
|
|
18
19
|
end
|
19
20
|
end
|
20
21
|
|
21
|
-
Dependabot::MetadataFinders
|
22
|
-
register("submodules", Dependabot::GitSubmodules::MetadataFinder)
|
22
|
+
Dependabot::MetadataFinders
|
23
|
+
.register("submodules", Dependabot::GitSubmodules::MetadataFinder)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/utils"
|
@@ -25,6 +26,6 @@ module Dependabot
|
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
28
|
-
Dependabot::Utils
|
29
|
-
register_requirement_class("submodules",
|
30
|
-
|
29
|
+
Dependabot::Utils
|
30
|
+
.register_requirement_class("submodules",
|
31
|
+
Dependabot::GitSubmodules::Requirement)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/update_checkers"
|
@@ -51,5 +52,5 @@ module Dependabot
|
|
51
52
|
end
|
52
53
|
end
|
53
54
|
|
54
|
-
Dependabot::UpdateCheckers
|
55
|
-
register("submodules", Dependabot::GitSubmodules::UpdateChecker)
|
55
|
+
Dependabot::UpdateCheckers
|
56
|
+
.register("submodules", Dependabot::GitSubmodules::UpdateChecker)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
require "dependabot/version"
|
@@ -10,5 +11,5 @@ module Dependabot
|
|
10
11
|
end
|
11
12
|
end
|
12
13
|
|
13
|
-
Dependabot::Utils
|
14
|
-
register_version_class("submodules", Dependabot::GitSubmodules::Version)
|
14
|
+
Dependabot::Utils
|
15
|
+
.register_version_class("submodules", Dependabot::GitSubmodules::Version)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# typed: true
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
# These all need to be required so the various classes can be registered in a
|
@@ -11,9 +12,9 @@ require "dependabot/git_submodules/requirement"
|
|
11
12
|
require "dependabot/git_submodules/version"
|
12
13
|
|
13
14
|
require "dependabot/pull_request_creator/labeler"
|
14
|
-
Dependabot::PullRequestCreator::Labeler
|
15
|
-
register_label_details("submodules", name: "submodules", colour: "000000")
|
15
|
+
Dependabot::PullRequestCreator::Labeler
|
16
|
+
.register_label_details("submodules", name: "submodules", colour: "000000")
|
16
17
|
|
17
18
|
require "dependabot/dependency"
|
18
|
-
Dependabot::Dependency
|
19
|
-
register_production_check("submodules", ->(_) { true })
|
19
|
+
Dependabot::Dependency
|
20
|
+
.register_production_check("submodules", ->(_) { true })
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-git_submodules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.232.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-
|
11
|
+
date: 2023-09-14 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.232.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.232.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: parseconfig
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,6 +156,20 @@ dependencies:
|
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: 1.19.0
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rubocop-sorbet
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 0.7.3
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 0.7.3
|
159
173
|
- !ruby/object:Gem::Dependency
|
160
174
|
name: stackprof
|
161
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,7 +233,7 @@ licenses:
|
|
219
233
|
- Nonstandard
|
220
234
|
metadata:
|
221
235
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
222
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
236
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.232.0
|
223
237
|
post_install_message:
|
224
238
|
rdoc_options: []
|
225
239
|
require_paths:
|