dependabot-composer 0.244.0 → 0.246.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: e64c9f3cf246ae1f6bf01383ac3da1db9a751b72cbd07167e180158770f17df2
4
- data.tar.gz: b18411a94a5eac9753cb182488feb366a128ca61bdb60c128e5927c27f235d90
3
+ metadata.gz: '03558ee49b50360c7089d1c179c86c9e72e0e62056c75faf3097044ab5c08937'
4
+ data.tar.gz: eaddb798fb0d546ca77f96738e458caf1689271bbb3ecf6f401747ef4829f800
5
5
  SHA512:
6
- metadata.gz: 647d030e1f38342106682490718bb0ae2a3affdeeddbf5a9ec0656dfad8621143059d9596c6e8c3261228cf7997659a9d8847a04dbb67e469a7fe75a8de607af
7
- data.tar.gz: e88300a6909f104e75d3fcea95115e4b1cb494dec6055d0df83c052a79c5c88b6b30b1c0dd427a20dec9f92ebbef42f505e0457913bed372c4fe38d6fb4f4277
6
+ metadata.gz: 5823ea3746224b5be550fa4584663be65863b64140ed3cc7334ff9820aa09a555870d7a87f6e010ef79992c0e073ca669c1cecfa205d84bcc7dfb12431d52dcd
7
+ data.tar.gz: ddeeebe28cfa0d21906bfc5ad30320cd81e9ddfc506bdf10ec7e0462913451d1ab087192a35d82db832c34b079bd066b275a2acb374b054c04a3217c4486a697
@@ -1,4 +1,4 @@
1
- # typed: false
1
+ # typed: true
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "json"
@@ -383,7 +383,7 @@ module Dependabot
383
383
  if e.message.match?(MISSING_EXPLICIT_PLATFORM_REQ_REGEX)
384
384
  missing_extensions =
385
385
  e.message.scan(MISSING_EXPLICIT_PLATFORM_REQ_REGEX)
386
- .map do |extension_string|
386
+ .flatten.flat_map do |extension_string|
387
387
  name, requirement = extension_string.strip.split(" ", 2)
388
388
  { name: name, requirement: requirement }
389
389
  end
@@ -392,7 +392,7 @@ module Dependabot
392
392
  implicit_platform_reqs_satisfiable?(e.message)
393
393
  missing_extensions =
394
394
  e.message.scan(MISSING_IMPLICIT_PLATFORM_REQ_REGEX)
395
- .map do |extension_string|
395
+ .flatten.flat_map do |extension_string|
396
396
  name, requirement = extension_string.strip.split(" ", 2)
397
397
  { name: name, requirement: requirement }
398
398
  end
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.244.0
4
+ version: 0.246.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-15 00:00:00.000000000 Z
11
+ date: 2024-03-01 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.244.0
19
+ version: 0.246.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.244.0
26
+ version: 0.246.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -272,7 +272,7 @@ licenses:
272
272
  - Nonstandard
273
273
  metadata:
274
274
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
275
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.244.0
275
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.246.0
276
276
  post_install_message:
277
277
  rdoc_options: []
278
278
  require_paths: