dependabot-common 0.111.14 → 0.111.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/git_metadata_fetcher.rb +6 -1
- data/lib/dependabot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0166ab168a9ef62756548618cc2057edd3a4c655e32c2e34df196255c0a3fccc
|
4
|
+
data.tar.gz: edf9a26068d6c17fc12b741954eac56655cfbfa786d9780a823a97fc79ae750d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1ec3a0c398f0ea4cb4fc20d9343e1d994af6962e9586eeb1ce67da8206454b06b1a0a9a49b7912a93cd350cdc678d589a8aa311a7c9c6d94a938c801c5d8b1f
|
7
|
+
data.tar.gz: e3d2d97e20a830c50782107d911e519792d598b210153572e1b6e3e4a3b68c4f13d3527d29c52c4aa4b8ea03b8c3f467646b6f7c8a6446698146dadfff84094b
|
@@ -50,7 +50,12 @@ module Dependabot
|
|
50
50
|
raise "Unexpected response: #{response.status} - #{response.body}"
|
51
51
|
end
|
52
52
|
|
53
|
-
|
53
|
+
if uri.match?(/github\.com/i)
|
54
|
+
response = response.data
|
55
|
+
response[:response_headers] = response[:headers]
|
56
|
+
raise Octokit::Error.from_response(response)
|
57
|
+
end
|
58
|
+
|
54
59
|
raise "Server error at #{uri}: #{response.body}" if response.status >= 500
|
55
60
|
|
56
61
|
raise Dependabot::GitDependenciesNotReachable, [uri]
|
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.111.
|
4
|
+
version: 0.111.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-ecr
|