dependabot-common 0.106.28 → 0.106.29

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: 1dee85277c5e7e93ade39803f9a982af6a73422a5287a1241bd23cb098e3b942
4
- data.tar.gz: b858ea2934dc4f940e5d3da335066771067c7e65fdf6399d09faf774a465ea3b
3
+ metadata.gz: 632f08dfde677df7912a6101ef5df6c27ec7f3243665d229ed3a509e263757bc
4
+ data.tar.gz: b9cc94fd3990d08ff70e5d5af97961892627f644175bb72286bb8a7d72df1daf
5
5
  SHA512:
6
- metadata.gz: d300ad7ab428da6a4a00afd77aeecbc0596375e812b6574515345a7d06733c607e0c11b291fc051f8edfd31c2fd9aff33ed5f9285582468bd61b1a3f6db8ffd2
7
- data.tar.gz: 11ddb57213f44b21daa38589aa701d06443bbfa93cc61036eb3457bf4eec56950d3808d8720951a32e8e24e7e49dc0b34955be2c54907b4690e87ddff56798a6
6
+ metadata.gz: 2a23178d250932b1c2a9d228dbd5d790ef56aaf8dc9a96ffb9a9e529e6e7264cfc785d972f2a7be76096b450977306aa3e90d329b63c5203556ed886f19bb021
7
+ data.tar.gz: 6dc961fe5f3612f957086bb868984a05d01a370d2c67b6f99cd76ac0309494f1067c7e518f4462138dad8d79634fcc35908e60d87d75316120eace26667dd2f9
@@ -694,7 +694,7 @@ module Dependabot
694
694
 
695
695
  def link_issues(text:, dependency:)
696
696
  updated_text = text.gsub(ISSUE_TAG_REGEX) do |mention|
697
- number = mention.tr("#", "").gsub("GH-", "")
697
+ number = mention.split("#").last.gsub("GH-", "")
698
698
  "[#{mention}](#{source_url(dependency)}/issues/#{number})"
699
699
  end
700
700
 
@@ -727,7 +727,7 @@ module Dependabot
727
727
  end
728
728
 
729
729
  def sanitize_mentions(text)
730
- text.gsub(%r{(?<![A-Za-z0-9])@[\w][\w.-/]*}) do |mention|
730
+ text.gsub(%r{(?<![A-Za-z0-9`])@[\w][\w.-/]*}) do |mention|
731
731
  next mention if mention.include?("/")
732
732
 
733
733
  last_match = Regexp.last_match
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.106.28"
4
+ VERSION = "0.106.29"
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.106.28
4
+ version: 0.106.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-01 00:00:00.000000000 Z
11
+ date: 2019-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ecr