dependabot-common 0.108.22 → 0.108.23

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: 0eef3e647449e480e936a14ed0cd5d6afe448f9fa80fd00bd631122b741ec78d
4
- data.tar.gz: 82c5e38ea3e1e631b221eb5c59aec8ed380dd8c646a0d75a6488c38f906a5262
3
+ metadata.gz: 4de90f363d7528b999de7f167759059e439b12bb6219e366a97b035be5f61f2a
4
+ data.tar.gz: 3dc789911c2e4d0352d02c68cce992d37e0b6659dcc48c585bbf7c7cb6e3998f
5
5
  SHA512:
6
- metadata.gz: 46099f6bb8dd9fd4b6b62b3a02264aa99e97bca04a7a79d136502740684ce6e7c4f0dcf43b9ce9c0bba490c456a1d0944b62ff06f8b92048cd89f5d5aae495d7
7
- data.tar.gz: fd5a32b52f3b15de1d4a3a2c55fb0ff733bc3410cecf3738f821abd8832c80c8487c779b6848e3f9c530bdcaafcc9fcd6ace8d43e0e6e9d91e48f278a04ccf19
6
+ metadata.gz: 6527914d29a05ada3e17df53d45caa80410206de7b8d3af85a31c060c3201b9c57434f35d3dcf6540ef07ca286f08e32bff6ac269ccae9a85b912e6859c8cfbf
7
+ data.tar.gz: 1f0233646d66be778a1481f375b4f80b574a7801a6bf306e01868f4e828574910bd814c3dfbab402cc9b5e93d74aef09298d120efd8a0bd2d2d1f989fd498f99
@@ -76,6 +76,12 @@ module Dependabot
76
76
  raise Forbidden if response.status == 403
77
77
  raise NotFound if response.status == 404
78
78
 
79
+ if response.status >= 400
80
+ raise "Unhandled Bitbucket error!\n"\
81
+ "Status: #{response.status}\n"\
82
+ "Body: #{response.body}"
83
+ end
84
+
79
85
  response
80
86
  end
81
87
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.108.22"
4
+ VERSION = "0.108.23"
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.108.22
4
+ version: 0.108.23
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-24 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ecr