dependabot-common 0.169.3 → 0.169.7
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: 386fd55d5f802d2a689a290dfaa9a428a660090b4400beafddadfed0b61fcf05
|
|
4
|
+
data.tar.gz: 0ebddd699a9bca825e0659464867e88b001a014c11512e14a95683ab3f713b0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c69e86bffeed58deafc96cebbe969512a1cdd31994416d187b83ac1fd4982ab2ee7b4cc811a2415fe0e4791ab3a09b87bdef8710c8adb5a8a187c73b81baaaf9
|
|
7
|
+
data.tar.gz: 1d10a30063cbafb28405c0ba20454b07929ad09153577f85d4f22a6d3122c7bf3d45abcafdf654885d60b85fd58faa2fb2c6aa2d8b0c30a6d6c259e126754e6c
|
|
@@ -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/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.7
|
|
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-20 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
|