dependabot-common 0.169.3 → 0.169.7

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: b8a205305372fc94bc744bbc8d398e31761ce36a3885f7883d550aa3f63af865
4
- data.tar.gz: da55d148ed2f839749d5b5aa39da62917135794fb217fe6705f95ee01701f5fe
3
+ metadata.gz: 386fd55d5f802d2a689a290dfaa9a428a660090b4400beafddadfed0b61fcf05
4
+ data.tar.gz: 0ebddd699a9bca825e0659464867e88b001a014c11512e14a95683ab3f713b0f
5
5
  SHA512:
6
- metadata.gz: a690bcd061ba9d5e2e45f22b63d10149928e828bfa3e4ad30514cc0fbd083916aa5e46251cd5b3157e56a535752080824c2d4c15352ed876d6482be60e96bb78
7
- data.tar.gz: 28aa3a165cb01d33dea1b9d8d8a897cf569979a88ff8f5103c57180b0d4c9ab4e21c4465325ef722106d1d825dc817f110b887fb1c84ab0335bd88d8ae0b372a
6
+ metadata.gz: c69e86bffeed58deafc96cebbe969512a1cdd31994416d187b83ac1fd4982ab2ee7b4cc811a2415fe0e4791ab3a09b87bdef8710c8adb5a8a187c73b81baaaf9
7
+ data.tar.gz: 1d10a30063cbafb28405c0ba20454b07929ad09153577f85d4f22a6d3122c7bf3d45abcafdf654885d60b85fd58faa2fb2c6aa2d8b0c30a6d6c259e126754e6c
@@ -68,7 +68,8 @@ module Dependabot
68
68
  elsif !v_cls.correct?(old_dep.version) then new_dep.version
69
69
  elsif v_cls.new(new_dep.version) > v_cls.new(old_dep.version)
70
70
  old_dep.version
71
- else new_dep.version
71
+ else
72
+ new_dep.version
72
73
  end
73
74
 
74
75
  subdependency_metadata = (
@@ -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 "ahead"
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 "ahead"
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 uri.sub(%r{.*?://}, "")
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"]) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.169.3"
4
+ VERSION = "0.169.7"
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.169.3
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-02 00:00:00.000000000 Z
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.18.0
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.18.0
314
+ version: 1.23.0
309
315
  - !ruby/object:Gem::Dependency
310
316
  name: simplecov
311
317
  requirement: !ruby/object:Gem::Requirement