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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '00593ac0032e9b3a134ac1c81b56eff4c464439f3fffa39130614d89e3e85a80'
4
- data.tar.gz: b083e834eed4f37641e227d183a9a0949b800ad1117245a87bfa79ba0f674385
3
+ metadata.gz: 0166ab168a9ef62756548618cc2057edd3a4c655e32c2e34df196255c0a3fccc
4
+ data.tar.gz: edf9a26068d6c17fc12b741954eac56655cfbfa786d9780a823a97fc79ae750d
5
5
  SHA512:
6
- metadata.gz: ff9643d745d50baef129bff969e49c8213fde5e1bd2218a58c1b80d26900c67ec8fc632054f43253b6d8ba37f77619224e7d08edd7f9735a8a9c34b294e87a89
7
- data.tar.gz: bc987b8ed83f406bde8359d18717920cdb8b7118ea3d81248b3f87642285785aef2d1df620ace92c2601a77ad36c1777f214c0d4cf8877b17012eb1883ce6e9c
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
- raise Octokit::Error.from_response(response) if uri.match?(/github\.com/i)
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.111.14"
4
+ VERSION = "0.111.15"
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.111.14
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-16 00:00:00.000000000 Z
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