dependabot-composer 0.299.1 → 0.301.0

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: f7f374fb10fdcc7966c86f4eca2799adb045f988a3c097c3aa32b5fe8c05313a
4
- data.tar.gz: 7e142f534a89981b5b257a7cec9e27c5673337de376ca278bfd84bdbd52c1b80
3
+ metadata.gz: 9390308503cb6c597de4b6447261c3def8c27310c21d44199097fe3edb2077d0
4
+ data.tar.gz: 247df996e071d0eb813ec0800978f759bf87c0e90b5c6e13769e732b6a02b191
5
5
  SHA512:
6
- metadata.gz: c3aefbd4bfd862e11d2076fb2ffbe2c541fd6fb7867ae7b8cf50643b20b1597e605ad50772b96e524cc247af0bf001004fdf0753f59844399db461097a6e425d
7
- data.tar.gz: 8c9e9c6d69a31e85a968f6b7d043c33be4cf069c4e332cf925e796f3cc607aa97ef109a6ff009167380cf547bbe1682b08f6b564a90a92dd50de11c8019c9559
6
+ metadata.gz: 80c3da946239cde09722fec3dd71bd16300bc33488a1ffd2bd2b34292f34c2f78b88fbc5677c2a9c7b225934efdb830392c42cbb2750b659aa38b23f18162d86
7
+ data.tar.gz: 6ad2272979655994b3e1fca93f6afc58eb0bfec5c36986b3fb3c3f5a9599a50aa8aa50ce2be4fddad700dff21d5ecdeeac3f2cebfba9817e9be1c522746e8753
@@ -259,6 +259,15 @@ module Dependabot
259
259
  raise PrivateSourceAuthenticationFailure, "nova.laravel.com"
260
260
  end
261
261
 
262
+ # To handle the case where the PHP version (configured in composer.json) is not supported
263
+ # league/csv 9.21.0 requires php ^8.1.2 -> your php version 8.1
264
+ if error.message.include?("your php version")
265
+ tool_name = "PHP"
266
+ detected_version = error.message.match(/your php version \((.*?)\s*;/)[1]
267
+ supported_versions = error.message.match(/requires php\s(.*?)\s->/)[1]
268
+ raise ToolVersionNotSupported.new(tool_name, detected_version, supported_versions)
269
+ end
270
+
262
271
  dependency_url = Helpers.dependency_url_from_git_clone_error(error.message)
263
272
  if dependency_url
264
273
  raise Dependabot::GitDependenciesNotReachable, dependency_url
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.299.1
4
+ version: 0.301.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-28 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.299.1
19
+ version: 0.301.0
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.299.1
26
+ version: 0.301.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -280,7 +280,7 @@ licenses:
280
280
  - MIT
281
281
  metadata:
282
282
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
283
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.299.1
283
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.301.0
284
284
  post_install_message:
285
285
  rdoc_options: []
286
286
  require_paths: