dependabot-core 0.87.13 → 0.87.14
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: eca490dd775516474dc66c097dd8fccaf3b12d52caba9b6e765e0f53d98cd2b9
|
|
4
|
+
data.tar.gz: 4de660bffb7648ee244f67ef241bf167a74c4bdf8e2d96056ba286d89201b6e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75d686d0b2f89b11334d0a9da7248af2845da2aa05cf2754ca4e364bf966dcb19f44ccb1b8c398dda119c44f2aa1a320162542f52a139b441ff0d989fd717dd5
|
|
7
|
+
data.tar.gz: 5693fcd4bc2631431f368d2ced7a39341c27545217a9930c1aa9416d4e69898a72ef9491c5cab301a555687aa18dc433fe9df3eba0d883f4c49a661beaeeab02
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,7 @@ module Dependabot
|
|
|
7
7
|
module Clients
|
|
8
8
|
class Bitbucket
|
|
9
9
|
class NotFound < StandardError; end
|
|
10
|
+
class Unauthorized < StandardError; end
|
|
10
11
|
|
|
11
12
|
#######################
|
|
12
13
|
# Constructor methods #
|
|
@@ -84,6 +85,7 @@ module Dependabot
|
|
|
84
85
|
**SharedHelpers.excon_defaults
|
|
85
86
|
)
|
|
86
87
|
raise NotFound if response.status == 404
|
|
88
|
+
raise Unauthorized if response.status == 401
|
|
87
89
|
|
|
88
90
|
response
|
|
89
91
|
end
|
|
@@ -231,7 +231,8 @@ module Dependabot
|
|
|
231
231
|
download_url: "#{source.url}/raw/#{branch}/#{file['path']}"
|
|
232
232
|
)
|
|
233
233
|
end
|
|
234
|
-
rescue Dependabot::Clients::Bitbucket::NotFound
|
|
234
|
+
rescue Dependabot::Clients::Bitbucket::NotFound,
|
|
235
|
+
Dependabot::Clients::Bitbucket::Unauthorized
|
|
235
236
|
[]
|
|
236
237
|
end
|
|
237
238
|
|
|
@@ -118,7 +118,8 @@ module Dependabot
|
|
|
118
118
|
else raise "Unexpected source provider '#{source.provider}'"
|
|
119
119
|
end
|
|
120
120
|
rescue Octokit::NotFound, Gitlab::Error::NotFound,
|
|
121
|
-
Dependabot::Clients::Bitbucket::NotFound
|
|
121
|
+
Dependabot::Clients::Bitbucket::NotFound,
|
|
122
|
+
Dependabot::Clients::Bitbucket::Unauthorized
|
|
122
123
|
[]
|
|
123
124
|
end
|
|
124
125
|
|
|
@@ -178,7 +179,8 @@ module Dependabot
|
|
|
178
179
|
html_url: commit.dig("links", "html", "href")
|
|
179
180
|
}
|
|
180
181
|
end
|
|
181
|
-
rescue Dependabot::Clients::Bitbucket::NotFound
|
|
182
|
+
rescue Dependabot::Clients::Bitbucket::NotFound,
|
|
183
|
+
Dependabot::Clients::Bitbucket::Unauthorized
|
|
182
184
|
[]
|
|
183
185
|
end
|
|
184
186
|
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.87.
|
|
4
|
+
version: 0.87.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-ecr
|