dependabot-common 0.138.2 → 0.138.7

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: 55f5941d2b6dc86cad53d3a5a7f344d28b17b77a17142ee0f2f9f2a6042c36bd
4
- data.tar.gz: bf5497e0f6f49c237f59870276b8632e4557228e80e8430ff88cb152568edd28
3
+ metadata.gz: ef63c63230cc6dd29575c2ef1f5b92ec5a816a5a40ca2a97e4ea32ae639bf21e
4
+ data.tar.gz: 3a13e8b4b2ee7b151dfd28441674f9c58232d8f65560223dc37f2fea120edae2
5
5
  SHA512:
6
- metadata.gz: d7be5e2770bbb64476d9e107978fd170ce7e4477e2e78f49ca0a052cb7af910952e87cc40c412a205eb17028862f72bb2d94af1e6cb48e820a4c25d6808308cd
7
- data.tar.gz: 840ad8130072120f98cbcfe5bb6bed2ada631cba2b860f0c2be0f39660d2bb8429091d21e6b49fa934582260f93640550908cdd69b726e2bf5cadc44140a1b5c
6
+ metadata.gz: acf249dae33b6f85cf4b65ca9b03d0cca5943a28c95a1dab8ebce270fb3e493e919e49b2bff4fef58e21a14b2d8a7cdac4f6fde97b6f498c442bcc42aa8db93e
7
+ data.tar.gz: f755c61d56fdc8744aed4c320693afd2d4d8c7bd4389d10f6a9ef5b09d60d34a42dfde9b0ea97bd1f53115a49e74b9dbcd29ae66539e5205fa33ed368e9ff67a
@@ -13,6 +13,18 @@ module Dependabot
13
13
  require "dependabot/pull_request_creator/branch_namer"
14
14
  require "dependabot/pull_request_creator/labeler"
15
15
 
16
+ # Dependabot programmatically creates PRs which often include a large
17
+ # number of links to objects on `github.com`. GitHub hydrates these into
18
+ # rich links that leave a 'mention' on target Issues/Pull Requests.
19
+ #
20
+ # Due to the volume and nature of Dependabot PRs, these mentions are not
21
+ # useful and can overwhelm maintainers, so we use a redirection service
22
+ # to avoid enrichment.
23
+ #
24
+ # If you wish to disable this behaviour when using Dependabot Core directly,
25
+ # pass a nil value when initialising this class.
26
+ DEFAULT_GITHUB_REDIRECTION_SERVICE = "github-redirect.dependabot.com"
27
+
16
28
  class RepoNotFound < StandardError; end
17
29
 
18
30
  class RepoArchived < StandardError; end
@@ -46,7 +58,7 @@ module Dependabot
46
58
  reviewers: nil, assignees: nil, milestone: nil,
47
59
  branch_name_separator: "/", branch_name_prefix: "dependabot",
48
60
  label_language: false, automerge_candidate: false,
49
- github_redirection_service: "github-redirect.dependabot.com",
61
+ github_redirection_service: DEFAULT_GITHUB_REDIRECTION_SERVICE,
50
62
  custom_headers: nil, require_up_to_date_base: false,
51
63
  provider_metadata: {}, message: nil)
52
64
  @dependencies = dependencies
@@ -25,7 +25,7 @@ module Dependabot
25
25
  def initialize(source:, dependencies:, files:, credentials:,
26
26
  pr_message_header: nil, pr_message_footer: nil,
27
27
  commit_message_options: {}, vulnerabilities_fixed: {},
28
- github_redirection_service: nil)
28
+ github_redirection_service:)
29
29
  @dependencies = dependencies
30
30
  @files = files
31
31
  @source = source
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "dependabot/pull_request_updater/github"
4
4
  require "dependabot/pull_request_updater/gitlab"
5
+ require "dependabot/pull_request_updater/azure"
5
6
 
6
7
  module Dependabot
7
8
  class PullRequestUpdater
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.138.2"
4
+ VERSION = "0.138.7"
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.138.2
4
+ version: 0.138.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-23 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -298,14 +298,14 @@ dependencies:
298
298
  requirements:
299
299
  - - "~>"
300
300
  - !ruby/object:Gem::Version
301
- version: 1.11.0
301
+ version: 1.12.0
302
302
  type: :development
303
303
  prerelease: false
304
304
  version_requirements: !ruby/object:Gem::Requirement
305
305
  requirements:
306
306
  - - "~>"
307
307
  - !ruby/object:Gem::Version
308
- version: 1.11.0
308
+ version: 1.12.0
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: simplecov
311
311
  requirement: !ruby/object:Gem::Requirement