dependabot-composer 0.184.0 → 0.186.1

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: 2694ac8774f1a715a3a7b578abdd8feb10ae604cdd60a3576d7ef6569b477a77
4
- data.tar.gz: 617e35ee2b0a0b61ce5b5621ee86b27e0be60cc47144e708a21489834bee6d40
3
+ metadata.gz: 779fa0620000ff3876a8d3aa35c3cf4256168aeb510f8503bc4ba1c91072e7b6
4
+ data.tar.gz: 60bc4fe7edb7c3becda25084dd1b269c5a8dbda912fae2a5bf8baca20d220bf4
5
5
  SHA512:
6
- metadata.gz: 6043e630843903b3fccef2a03e97d620f5b9f92a1c5d6bdc0f42d7b8e195b81cfb82d9a37cc99268db528706803439f54e0e60c531f32b375292bcf94101ec06
7
- data.tar.gz: 7430eb4919c1cb4b075cda633c0014205ba7ccdf8da02667ac2b6f50b0bd27fab5b2fe2bdbcc2651cae1fdaa979054ad4ef9f2f2ae9bb4a23a90a56855ce221e
6
+ metadata.gz: a46ab7a47b6e9df7e43d390301213b10c828ca8b781a88a8d8e25259a8efe997ad5a7ad91d6d8c80ad06d59a1675f9cf90666cfda63d75db1569c292c4f69243
7
+ data.tar.gz: b260c63aed30e66b96aa34ded43c1e0c0811f007e5e26c35a3e23cd61af60732598a524e8c563fd584a1ab4df5248df7f0ac2f31a8450c09149a0e946eb277c0
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dependabot/errors"
4
3
  require "json"
4
+ require "uri"
5
+
6
+ require "dependabot/errors"
5
7
  require "dependabot/shared_helpers"
6
8
  require "dependabot/composer/update_checker"
7
9
  require "dependabot/composer/version"
@@ -308,7 +310,10 @@ module Dependabot
308
310
  raise Dependabot::PrivateSourceAuthenticationFailure, source
309
311
  elsif error.message.match?(SOURCE_TIMED_OUT_REGEX)
310
312
  url = error.message.match(SOURCE_TIMED_OUT_REGEX).named_captures.fetch("url")
311
- raise if url.include?("packagist.org")
313
+ raise if [
314
+ "packagist.org",
315
+ "www.packagist.org"
316
+ ].include?(URI(url).host)
312
317
 
313
318
  source = url.gsub(%r{/packages.json$}, "")
314
319
  raise Dependabot::PrivateSourceTimedOut, source
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.184.0
4
+ version: 0.186.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-04 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.184.0
19
+ version: 0.186.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.184.0
26
+ version: 0.186.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: debase
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: debase-ruby_core_source
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.10.14
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.10.14
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: debug
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +136,20 @@ dependencies:
108
136
  - - "~>"
109
137
  - !ruby/object:Gem::Version
110
138
  version: 1.28.2
139
+ - !ruby/object:Gem::Dependency
140
+ name: ruby-debug-ide
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.7.3
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.7.3
111
153
  - !ruby/object:Gem::Dependency
112
154
  name: simplecov
113
155
  requirement: !ruby/object:Gem::Requirement