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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc646fe03eb120c7dcb0c860f05d6bc9ce9583dd8341a1f35e57bb4ae7b6bfac
4
- data.tar.gz: 2cb3568306227fb2124b8a078b8e6e9ac3bcee18d36aa333b1e5a779e81800d4
3
+ metadata.gz: b8833fc15481ac75de0a15b1c1ee6ddaa543474fbf86092e4d46eb1387d8d529
4
+ data.tar.gz: 1e9447bb5e9b9b7ee3ec19c730742510b9c131b07e3dc93ab6b1a4db943ffea0
5
5
  SHA512:
6
- metadata.gz: a7683039cbd09e7977ca4177460b14b47d34a7aaab5ec740ebb063b987ab04ad27ef8cadd089301ed2a68925e070b3d010c47a72479880af6bc85a0c47f26989
7
- data.tar.gz: 3030faa5e41a2311a160e4a572ec5731f4f77a130ebd723ec72e29751bed1fc9d6080da9590f33b604a1a288ae82db212d17dfdb8968ff0681bb9f03dfa398e7
6
+ metadata.gz: 57bc01f2336c76a73cfe3460340186f8994d501ef4eb3952fb300aa6d23be79f71f58f523c67f3e7d0c8bc5aec0299b39594779c9f64e6e9bf16ffbfefb65dd3
7
+ data.tar.gz: 416c4fbe5e6bad4a2e78ae3b6822bfefdcf68c0511628a434596b2e8c537e1ef920e3c07b2fcc19c95c04c9da91251b7cc48631be350ec35976c86b6cda4bbec
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.132.0"
4
+ VERSION = "0.133.0"
5
5
  end
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.132.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-08 00:00:00.000000000 Z
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