dependabot-common 0.169.4 → 0.169.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acfdd40be81fc9feb5a037e563239baa6623977b7165a4cd28cbb2856576c225
|
4
|
+
data.tar.gz: 297c1ad7a167698221a3111de95486166882214c07b4b24c54da2aea16b3eab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dd42eca6a6f0a90d1814b852d135c516e663dd5c57d6bb52279fb41a704fefa6ca276956b88a55c46574d2846c255af245048034d6464cfb16a3b4e2875c8a3
|
7
|
+
data.tar.gz: 38db42c533aaf2a20cd918349bbff71bb1f29f88edd356b6e6bf6059cd6bc7f4a69bf27336b5b5ff3eff87011da8fd0ab0a8280ce507d1f719c67cd4f74f2ed1
|
@@ -244,7 +244,8 @@ module Dependabot
|
|
244
244
|
|
245
245
|
if comparison.commits.none? then "behind"
|
246
246
|
elsif comparison.compare_same_ref then "identical"
|
247
|
-
else
|
247
|
+
else
|
248
|
+
"ahead"
|
248
249
|
end
|
249
250
|
end
|
250
251
|
|
@@ -261,7 +262,8 @@ module Dependabot
|
|
261
262
|
# Conservatively assume that ref2 is ahead in the equality case, of
|
262
263
|
# if we get an unexpected format (e.g., due to a 404)
|
263
264
|
if JSON.parse(response.body).fetch("values", ["x"]).none? then "behind"
|
264
|
-
else
|
265
|
+
else
|
266
|
+
"ahead"
|
265
267
|
end
|
266
268
|
end
|
267
269
|
|
@@ -167,7 +167,8 @@ module Dependabot
|
|
167
167
|
def uri_with_auth(uri)
|
168
168
|
bare_uri =
|
169
169
|
if uri.include?("git@") then uri.split("git@").last.sub(%r{:/?}, "/")
|
170
|
-
else
|
170
|
+
else
|
171
|
+
uri.sub(%r{.*?://}, "")
|
171
172
|
end
|
172
173
|
cred = credentials.select { |c| c["type"] == "git_source" }.
|
173
174
|
find { |c| bare_uri.start_with?(c["host"]) }
|
data/lib/dependabot/source.rb
CHANGED
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.169.
|
4
|
+
version: 0.169.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 6.0.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 7.0.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 6.0.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 7.0.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: aws-sdk-codecommit
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,14 +304,14 @@ dependencies:
|
|
298
304
|
requirements:
|
299
305
|
- - "~>"
|
300
306
|
- !ruby/object:Gem::Version
|
301
|
-
version: 1.
|
307
|
+
version: 1.23.0
|
302
308
|
type: :development
|
303
309
|
prerelease: false
|
304
310
|
version_requirements: !ruby/object:Gem::Requirement
|
305
311
|
requirements:
|
306
312
|
- - "~>"
|
307
313
|
- !ruby/object:Gem::Version
|
308
|
-
version: 1.
|
314
|
+
version: 1.23.0
|
309
315
|
- !ruby/object:Gem::Dependency
|
310
316
|
name: simplecov
|
311
317
|
requirement: !ruby/object:Gem::Requirement
|