dependabot-common 0.132.0 → 0.133.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/errors.rb +3 -0
- data/lib/dependabot/file_parsers/base.rb +2 -1
- data/lib/dependabot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8833fc15481ac75de0a15b1c1ee6ddaa543474fbf86092e4d46eb1387d8d529
|
4
|
+
data.tar.gz: 1e9447bb5e9b9b7ee3ec19c730742510b9c131b07e3dc93ab6b1a4db943ffea0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57bc01f2336c76a73cfe3460340186f8994d501ef4eb3952fb300aa6d23be79f71f58f523c67f3e7d0c8bc5aec0299b39594779c9f64e6e9bf16ffbfefb65dd3
|
7
|
+
data.tar.gz: 416c4fbe5e6bad4a2e78ae3b6822bfefdcf68c0511628a434596b2e8c537e1ef920e3c07b2fcc19c95c04c9da91251b7cc48631be350ec35976c86b6cda4bbec
|
data/lib/dependabot/errors.rb
CHANGED
@@ -217,4 +217,7 @@ module Dependabot
|
|
217
217
|
|
218
218
|
# Raised by UpdateChecker if all candidate updates are ignored
|
219
219
|
class AllVersionsIgnored < DependabotError; end
|
220
|
+
|
221
|
+
# Raised by FileParser if processing may execute external code in the update context
|
222
|
+
class UnexpectedExternalCode < DependabotError; end
|
220
223
|
end
|
@@ -6,11 +6,12 @@ module Dependabot
|
|
6
6
|
attr_reader :dependency_files, :repo_contents_path, :credentials, :source
|
7
7
|
|
8
8
|
def initialize(dependency_files:, repo_contents_path: nil, source:,
|
9
|
-
credentials: [])
|
9
|
+
credentials: [], reject_external_code: false)
|
10
10
|
@dependency_files = dependency_files
|
11
11
|
@repo_contents_path = repo_contents_path
|
12
12
|
@credentials = credentials
|
13
13
|
@source = source
|
14
|
+
@reject_external_code = reject_external_code
|
14
15
|
|
15
16
|
check_required_files
|
16
17
|
end
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.133.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-codecommit
|