dependabot-nuget 0.249.0 → 0.250.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: c23304dabfd9e4506478efc6188332716cc7ff097f8042b45c67bfda9cf1b6ae
4
- data.tar.gz: 74f8d095b039666ca96e098913667e8c40552df5963187cf4ae66a86ac429ae1
3
+ metadata.gz: 144460a4e43c2169e3526841828a5a3baa717f83e0becb327f128cb971a3deb8
4
+ data.tar.gz: 1fdb2e2284043c4c27eb536dbbc0eaef6d180a59c61e6c32c2a74f4aadfb9a85
5
5
  SHA512:
6
- metadata.gz: 904dae0561b8288c0cc8b319269a6352cdfa1d4d443e01b052e99bf3294277523f1a227944a7787024a216ad1661a21647330e116f6e5a9c66d95cbd630d7f47
7
- data.tar.gz: 75cff9a26706bc60d8f5423d8e096fe4b1a1ccf20c3bb3fff5a5c6428ac6cfdd3b58e0a9ce490a9fb6577e852bd59417917bde19ad3697ed8d76aa789bdb4591
6
+ metadata.gz: 1d1c53febbc055e0eeecbff13cb9101c17f0b989b039caa719baf2cf6a69e4fc43f8babbe7e533cf75baeb97dd3d58e7344a1ede890410a4c5046ab7951fd2f3
7
+ data.tar.gz: 285ed503fcefca8cd3ed0d731f59543c76eca79b0da7c738ae1bef523521697c5ee05fcc0c2d8425d86e8c657d1b579464822f359699ed67ca01077d27eb5972
@@ -568,6 +568,7 @@ internal static partial class MSBuildHelper
568
568
  var repoRootPathPrefix = repoRootPath.NormalizePathToUnix() + "/";
569
569
  var buildFilesInRepo = buildFileList
570
570
  .Where(f => f.StartsWith(repoRootPathPrefix, StringComparison.OrdinalIgnoreCase))
571
+ .Where(File.Exists)
571
572
  .Distinct()
572
573
  .ToArray();
573
574
  var result = buildFilesInRepo
@@ -2497,5 +2497,36 @@ public partial class UpdateWorkerTests
2497
2497
  """
2498
2498
  );
2499
2499
  }
2500
+
2501
+ [Fact]
2502
+ public async Task ProcessingProjectWithAspireDoesNotFailEvenThoughWorkloadIsNotInstalled()
2503
+ {
2504
+ // enumerating the build files will fail if the Aspire workload is not installed; this test ensures we can
2505
+ // still process the update
2506
+ await TestUpdateForProject("Newtonsoft.Json", "7.0.1", "13.0.1",
2507
+ projectContents: """
2508
+ <Project Sdk="Microsoft.NET.Sdk">
2509
+ <PropertyGroup>
2510
+ <TargetFramework>net8.0</TargetFramework>
2511
+ <IsAspireHost>true</IsAspireHost>
2512
+ </PropertyGroup>
2513
+ <ItemGroup>
2514
+ <PackageReference Include="Newtonsoft.Json" Version="7.0.1" />
2515
+ </ItemGroup>
2516
+ </Project>
2517
+ """,
2518
+ expectedProjectContents: """
2519
+ <Project Sdk="Microsoft.NET.Sdk">
2520
+ <PropertyGroup>
2521
+ <TargetFramework>net8.0</TargetFramework>
2522
+ <IsAspireHost>true</IsAspireHost>
2523
+ </PropertyGroup>
2524
+ <ItemGroup>
2525
+ <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2526
+ </ItemGroup>
2527
+ </Project>
2528
+ """
2529
+ );
2530
+ }
2500
2531
  }
2501
2532
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-nuget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.249.0
4
+ version: 0.250.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-03-28 00:00:00.000000000 Z
11
+ date: 2024-04-02 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.249.0
19
+ version: 0.250.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.249.0
26
+ version: 0.250.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubyzip
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -385,7 +385,7 @@ licenses:
385
385
  - Nonstandard
386
386
  metadata:
387
387
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
388
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.249.0
388
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.250.0
389
389
  post_install_message:
390
390
  rdoc_options: []
391
391
  require_paths: