dependabot-common 0.138.3 → 0.139.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: e641bd769bff02bada5d6ac15aae0f36db359f9927c307380518734a1c247bc4
4
- data.tar.gz: 90f663cd6eb56dcf15293d7d2d1c024fbeaf81b3f655aeb331b533b8304431a0
3
+ metadata.gz: de2abf02275016c9c8d0ecd543e0646e08aa6551edec39a6567d8d5ac53af14f
4
+ data.tar.gz: 5c9e219a03dbdeee3c9d3c8adab6ea0db8bf0c7331749149c43ae846290cc481
5
5
  SHA512:
6
- metadata.gz: 30cc3c8485549d51df81a3cceb9ad9518f2b8e565e756ff91088c8fc6cf344b275daa1b47e23fa626e4113cbefffa26883649072b1d3110260ffcf8a7fd351a5
7
- data.tar.gz: 3117d469414de33432a4adce6ffdf980b7768bd32bfad5899f7a346a325ec4d3618563d1cf597f1ec73af7ecf5289a896380020062a122c862b1a5d6ecba15ae
6
+ metadata.gz: 381cf5957178c14ca1654367bac15f3e9626320afead493c142790eb374a593efaa039c512a384c6b749fc8a8fe9956957532d61c7a8c006e65dfb00a6f51b48
7
+ data.tar.gz: 1e76b8f2721fbc1ceb99a96d06a38d6b4ada860a9daed49e96857c39d1d44351fa4b796d4ce434a3aac9001519147de6add25c06261463d8e5a31bf29fa97bc7
@@ -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.3"
4
+ VERSION = "0.139.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.138.3
4
+ version: 0.139.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-03-24 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