dependabot-common 0.108.20 → 0.108.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa2a2c71ab807b633b330c65d8c5e3d4567981748754248fb035249401b4a176
|
|
4
|
+
data.tar.gz: 0e5144397c5fb488e59eef61a96cfae7a52da5a9764afc60e2e67d3326dae5e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24d0cd753dc945f4d4ff85720cc5c9ab3538122e073877219eed198f92a94e4d774c9aeba594285c68606141b2d367b36fcdc6351e2db8fba101dc24ddde1d31
|
|
7
|
+
data.tar.gz: 98d7ce607dc5fe7bcaf5de93d8958d72b44cbb7c2cb46cbc9a122b455f52495bdcea3de63a735d7f0ff810c61c86e86fc2655f3cba8ab0930c124d66b9395081
|
|
@@ -40,7 +40,7 @@ module Dependabot
|
|
|
40
40
|
response = Excon.get(
|
|
41
41
|
service_pack_uri(uri),
|
|
42
42
|
idempotent: true,
|
|
43
|
-
**
|
|
43
|
+
**excon_defaults
|
|
44
44
|
)
|
|
45
45
|
|
|
46
46
|
return response.body if response.status == 200
|
|
@@ -130,5 +130,10 @@ module Dependabot
|
|
|
130
130
|
def sha_for_update_pack_line(line)
|
|
131
131
|
line.split(" ").first.chars.last(40).join
|
|
132
132
|
end
|
|
133
|
+
|
|
134
|
+
def excon_defaults
|
|
135
|
+
# Some git hosts are slow when returning a large number of tags
|
|
136
|
+
SharedHelpers.excon_defaults.merge(read_timeout: 20)
|
|
137
|
+
end
|
|
133
138
|
end
|
|
134
139
|
end
|
|
@@ -385,6 +385,7 @@ module Dependabot
|
|
|
385
385
|
commits(dep).reverse.first(10).each do |commit|
|
|
386
386
|
title = commit[:message].strip.split("\n").first
|
|
387
387
|
title = title.slice(0..76) + "..." if title && title.length > 80
|
|
388
|
+
title = title.gsub(/(?<=[^\w.-])([_*`~])/, '\\1')
|
|
388
389
|
sha = commit[:sha][0, 7]
|
|
389
390
|
msg += "- [`#{sha}`](#{commit[:html_url]}) #{title}\n"
|
|
390
391
|
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.108.
|
|
4
|
+
version: 0.108.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-ecr
|