dependabot-hex 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d0dbb4395fa4300154f95b4190fbda8c620144a3cdf794689dcd65bdef8ff1d
4
- data.tar.gz: fa943eb9c84f700240b1fd212029864dc7202b44d0587346a876b35560eb2d76
3
+ metadata.gz: f411ed2fd96f96c3220c65f928dba51d2bfddb7c3feddbd52c929c27927a4632
4
+ data.tar.gz: 7898ff712b192c7291679c9a5648af019d7a4618beb1bc229289e28842b74055
5
5
  SHA512:
6
- metadata.gz: 52e41b3499c6747858b93c4a8a39364e8893c633e63072da1c5b01412d78a37bb9161e2e2518ad44381f80571bf40f3c81cd4bfa1828a18dbe998844900a9884
7
- data.tar.gz: 7b73c07875df44c7ab3105be3e5a50d6f31fdda02a178c08394686718b136510e54b8ea9d0f763b9b1d9ce99a272a341da410d38617de9c0301c02db2f5f8529
6
+ metadata.gz: 014f20de48fff61fa907845b4954efb12adbecc80b5a1b28e9f1445efa874eb03f80eed243b51206ea50f2ebfdcdd4143a87111097741c5795e8a49bd0e0ff2e
7
+ data.tar.gz: d8e66e266a2c70b25ce2858116faedb4f8aa3aee0f31d1fd2e80ab8205d3fcf79fc893fd41b5a5dddf9033c6f1dee563d5774e48e0e507a06fef22ca125c6732
@@ -14,12 +14,20 @@ module Dependabot
14
14
  require_relative "file_updater/mixfile_updater"
15
15
  require_relative "file_updater/lockfile_updater"
16
16
 
17
- sig { override.returns(T::Array[Regexp]) }
18
- def self.updated_files_regex
19
- [
20
- /^mix\.exs$/,
21
- /^mix\.lock$/
22
- ]
17
+ sig { override.params(allowlist_enabled: T::Boolean).returns(T::Array[Regexp]) }
18
+ def self.updated_files_regex(allowlist_enabled = false)
19
+ if allowlist_enabled
20
+ [
21
+ /^.*mix\.exs$/,
22
+ /^.*mix\.lock$/
23
+ ]
24
+ else
25
+ # Old regex. After 100% rollout of the allowlist, this will be removed.
26
+ [
27
+ /^mix\.exs$/,
28
+ /^mix\.lock$/
29
+ ]
30
+ end
23
31
  end
24
32
 
25
33
  sig { override.returns(T::Array[Dependabot::DependencyFile]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-hex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.268.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-02 00:00:00.000000000 Z
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.268.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.268.0
26
+ version: 0.270.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -272,7 +272,7 @@ licenses:
272
272
  - MIT
273
273
  metadata:
274
274
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
275
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.268.0
275
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.270.0
276
276
  post_install_message:
277
277
  rdoc_options: []
278
278
  require_paths: