dependabot-git_submodules 0.268.0 → 0.270.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_updater.rb +12 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ef0b2c17d65d6ad4f1d71ae2c1fdc7460a20ca851659e92816d2f611dd19217
|
4
|
+
data.tar.gz: 2a352b5c144846d8e809efee9aefd8866f7916592a1e6b31557971066f0f6561
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63896f6ba10b37d0911f0b2035be47ac3a2b7a2a06d295e7c6bdf34febd5c95288c33280aeea2ee083765c839bf1d513e185de672c960e0d06e8aa8285cc174d
|
7
|
+
data.tar.gz: 6e7044a9fb2b7713c7f4c0ca06981ee64a0af974ecd38a93dcacf2f09df1d0c9626c7791e6144a0aa0106a92b69cc639cad53407a1672376e7cb27af655d7d70
|
@@ -11,9 +11,18 @@ module Dependabot
|
|
11
11
|
class FileUpdater < Dependabot::FileUpdaters::Base
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
sig { override.returns(T::Array[Regexp]) }
|
15
|
-
def self.updated_files_regex
|
16
|
-
|
14
|
+
sig { override.params(allowlist_enabled: T::Boolean).returns(T::Array[Regexp]) }
|
15
|
+
def self.updated_files_regex(allowlist_enabled = false)
|
16
|
+
if allowlist_enabled
|
17
|
+
[
|
18
|
+
/^\.gitmodules$/, # Matches the .gitmodules file in the root directory
|
19
|
+
%r{^.+/\.git$}, # Matches the .git file inside any submodule directory
|
20
|
+
%r{^\.git/modules/.+} # Matches any files under .git/modules directory where submodule data is stored
|
21
|
+
]
|
22
|
+
else
|
23
|
+
# Old regex. After 100% rollout of the allowlist, this will be removed.
|
24
|
+
[]
|
25
|
+
end
|
17
26
|
end
|
18
27
|
|
19
28
|
sig { override.returns(T::Array[Dependabot::DependencyFile]) }
|
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.270.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-15 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.270.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.270.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: parseconfig
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -275,7 +275,7 @@ licenses:
|
|
275
275
|
- MIT
|
276
276
|
metadata:
|
277
277
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
278
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
278
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.270.0
|
279
279
|
post_install_message:
|
280
280
|
rdoc_options: []
|
281
281
|
require_paths:
|