dependabot-common 0.180.4 → 0.182.0
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: 16987ec0c53c4199ddafcf248a6995c56fac8826fb6cfbc14e52828c9fc80626
|
4
|
+
data.tar.gz: f320958ab68de222bde2e0ef8e7f18927fe239eb2de32a2599fc064bb348dbfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480db38232f2c2ff1fafa42c8e7d0829ce70e7318a08410db52f7b0d54164d7cefd3805fd52156169f389eebb9349fb7eae8b1ce5bed896d299c4f451170cea7
|
7
|
+
data.tar.gz: eaddf0ec11364d8f054a7eea8c497398e697ae368f378ae4f4951632e09efc3605556b62c45bd4b735b385d69d3a422adef43f8cfdc16bbd908209927e2cfef5
|
@@ -5,10 +5,16 @@ require "octokit"
|
|
5
5
|
module Dependabot
|
6
6
|
module Clients
|
7
7
|
class GithubWithRetries
|
8
|
+
DEFAULT_OPEN_TIMEOUT_IN_SECONDS = 2
|
9
|
+
|
10
|
+
def self.open_timeout_in_seconds
|
11
|
+
ENV.fetch("DEPENDABOT_OPEN_TIMEOUT_IN_SECONDS", DEFAULT_OPEN_TIMEOUT_IN_SECONDS).to_i
|
12
|
+
end
|
13
|
+
|
8
14
|
DEFAULT_CLIENT_ARGS = {
|
9
15
|
connection_options: {
|
10
16
|
request: {
|
11
|
-
open_timeout:
|
17
|
+
open_timeout: open_timeout_in_seconds,
|
12
18
|
timeout: 5
|
13
19
|
}
|
14
20
|
}
|
@@ -50,7 +50,7 @@ module Dependabot
|
|
50
50
|
return true if dependency.version&.start_with?(ref)
|
51
51
|
|
52
52
|
# Check the specified `ref` isn't actually a branch
|
53
|
-
!local_upload_pack.match?(
|
53
|
+
!local_upload_pack.match?(%r{ refs/heads/#{ref}$})
|
54
54
|
end
|
55
55
|
|
56
56
|
def pinned_ref_looks_like_version?
|
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.
|
4
|
+
version: 0.182.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -222,6 +222,20 @@ dependencies:
|
|
222
222
|
- - "<"
|
223
223
|
- !ruby/object:Gem::Version
|
224
224
|
version: '3.0'
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: debase
|
227
|
+
requirement: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - "~>"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: 0.2.4.1
|
232
|
+
type: :development
|
233
|
+
prerelease: false
|
234
|
+
version_requirements: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - "~>"
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: 0.2.4.1
|
225
239
|
- !ruby/object:Gem::Dependency
|
226
240
|
name: debug
|
227
241
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,14 +312,28 @@ dependencies:
|
|
298
312
|
requirements:
|
299
313
|
- - "~>"
|
300
314
|
- !ruby/object:Gem::Version
|
301
|
-
version: 1.
|
315
|
+
version: 1.27.0
|
316
|
+
type: :development
|
317
|
+
prerelease: false
|
318
|
+
version_requirements: !ruby/object:Gem::Requirement
|
319
|
+
requirements:
|
320
|
+
- - "~>"
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: 1.27.0
|
323
|
+
- !ruby/object:Gem::Dependency
|
324
|
+
name: ruby-debug-ide
|
325
|
+
requirement: !ruby/object:Gem::Requirement
|
326
|
+
requirements:
|
327
|
+
- - "~>"
|
328
|
+
- !ruby/object:Gem::Version
|
329
|
+
version: 0.7.3
|
302
330
|
type: :development
|
303
331
|
prerelease: false
|
304
332
|
version_requirements: !ruby/object:Gem::Requirement
|
305
333
|
requirements:
|
306
334
|
- - "~>"
|
307
335
|
- !ruby/object:Gem::Version
|
308
|
-
version:
|
336
|
+
version: 0.7.3
|
309
337
|
- !ruby/object:Gem::Dependency
|
310
338
|
name: simplecov
|
311
339
|
requirement: !ruby/object:Gem::Requirement
|