dependabot-nuget 0.371.0 → 0.372.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 +4 -4
- data/helpers/lib/NuGetUpdater/Directory.Build.props +1 -0
- data/helpers/lib/NuGetUpdater/DotNetPackageCorrelation/DotNetPackageCorrelation.csproj +1 -0
- data/helpers/lib/NuGetUpdater/NuGetProjects/Directory.Build.props +2 -0
- data/helpers/lib/NuGetUpdater/NuGetProjects/NuGet.Build.Tasks/NuGet.Build.Tasks.csproj +1 -1
- data/helpers/lib/NuGetUpdater/NuGetProjects/NuGet.PackageManagement/NuGet.PackageManagement.csproj +1 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core/Run/CommitOptions_IncludeScopeConverter.cs +1 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Clone/CloneWorkerTests.cs +2 -2
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Run/EndToEndTests.cs +1 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Run/UpdateHandlers/UpdateHandlerSelectionTests.cs +2 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Run/UpdateHandlers/UpdateHandlersTestsBase.cs +2 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Run/UpdatedDependencyListTests.cs +1 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/TestBase.cs +1 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/TestHttpServer.cs +2 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Update/SpecialFilePatcherTests.cs +2 -2
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Utilities/LinuxOnlyAttribute.cs +6 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a058182c9ce909abc8398d444a3cba984f43528a7655fd5ee96cc8c607bbfd76
|
|
4
|
+
data.tar.gz: ffd8f02946da91739938e89ca13e3beb4e6b3ef157bb23083251df98cf45930f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d9d90b837aa4ebd014a46c1dc0a89ae29689f30bbe84fc49c16deec4c260625e263aa731f100d0ef909ad2da00a48c131e9086393866f54e83e48e6678a77f8
|
|
7
|
+
data.tar.gz: d8c27b9ff9c1837c191ce89ae005e3071f5fc5cd09d76d8c1e0ecc3ea1bd511ed1cd544bac6bdd0ea17aef43dc49747b2c87cc8cbe0f3e3645f6977582ec3394
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
|
5
5
|
<NoWarn>$(NoWarn);NU1701</NoWarn>
|
|
6
6
|
<Nullable>enable</Nullable>
|
|
7
|
+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
7
8
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
8
9
|
</PropertyGroup>
|
|
9
10
|
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
<NoWarn>$(NoWarn);SYSLIB0014</NoWarn><!-- obsolete -->
|
|
11
11
|
<NuGetSourceLocation>$(MSBuildThisFileDirectory)..\..\NuGet.Client</NuGetSourceLocation>
|
|
12
12
|
<SharedDirectory>$(NuGetSourceLocation)\build\Shared</SharedDirectory>
|
|
13
|
+
<NoWarn>$(NoWarn);CA1416</NoWarn><!-- platform compatibility in vendored NuGet.Client code -->
|
|
14
|
+
<NoWarn>$(NoWarn);CS0436</NoWarn><!-- type conflicts with imported types in vendored NuGet.Client code -->
|
|
13
15
|
<Version>6.8.0</Version>
|
|
14
16
|
</PropertyGroup>
|
|
15
17
|
|
|
@@ -145,7 +145,7 @@ public class CloneWorkerTests
|
|
|
145
145
|
var cloneWorker = new CloneWorker("JOB-ID", testApiHandler, testGitCommandHandler, new TestLogger());
|
|
146
146
|
using var testDirectory = new TemporaryDirectory();
|
|
147
147
|
var jobFilePath = Path.Combine(testDirectory.DirectoryPath, "job.json");
|
|
148
|
-
await File.WriteAllTextAsync(jobFilePath, "not json");
|
|
148
|
+
await File.WriteAllTextAsync(jobFilePath, "not json", TestContext.Current.CancellationToken);
|
|
149
149
|
|
|
150
150
|
// act
|
|
151
151
|
var result = await cloneWorker.RunAsync(new FileInfo(jobFilePath), new DirectoryInfo(testDirectory.DirectoryPath));
|
|
@@ -183,7 +183,7 @@ public class CloneWorkerTests
|
|
|
183
183
|
]
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
""");
|
|
186
|
+
""", TestContext.Current.CancellationToken);
|
|
187
187
|
|
|
188
188
|
// act
|
|
189
189
|
var result = await cloneWorker.RunAsync(new FileInfo(jobFilePath), new DirectoryInfo(testDirectory.DirectoryPath));
|
|
@@ -186,7 +186,7 @@ public class UpdatedDependencyListTests
|
|
|
186
186
|
{
|
|
187
187
|
var fullFilePath = Path.Join(tempDir.DirectoryPath, testFile);
|
|
188
188
|
Directory.CreateDirectory(Path.GetDirectoryName(fullFilePath)!);
|
|
189
|
-
await File.WriteAllTextAsync(fullFilePath, "");
|
|
189
|
+
await File.WriteAllTextAsync(fullFilePath, "", TestContext.Current.CancellationToken);
|
|
190
190
|
}
|
|
191
191
|
var discovery = new WorkspaceDiscoveryResult()
|
|
192
192
|
{
|
|
@@ -43,14 +43,14 @@ public class SpecialFilePatcherTests
|
|
|
43
43
|
// act
|
|
44
44
|
using (var patcher = new SpecialImportsConditionPatcher(projectPath))
|
|
45
45
|
{
|
|
46
|
-
var actualPatchedContent = await File.ReadAllTextAsync(projectPath);
|
|
46
|
+
var actualPatchedContent = await File.ReadAllTextAsync(projectPath, TestContext.Current.CancellationToken);
|
|
47
47
|
|
|
48
48
|
// assert
|
|
49
49
|
Assert.Equal(expectedPatchedContent.Replace("\r", ""), actualPatchedContent.Replace("\r", ""));
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// assert again
|
|
53
|
-
var restoredContent = await File.ReadAllTextAsync(projectPath);
|
|
53
|
+
var restoredContent = await File.ReadAllTextAsync(projectPath, TestContext.Current.CancellationToken);
|
|
54
54
|
Assert.Equal(restoredContent.Replace("\r", ""), fileContent.Replace("\r", ""));
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
using System.Runtime.CompilerServices;
|
|
2
|
+
|
|
1
3
|
using Xunit;
|
|
2
4
|
|
|
3
5
|
public class LinuxOnlyFactAttribute : FactAttribute
|
|
4
6
|
{
|
|
5
|
-
public LinuxOnlyFactAttribute(
|
|
7
|
+
public LinuxOnlyFactAttribute(
|
|
8
|
+
[CallerFilePath] string? sourceFilePath = null,
|
|
9
|
+
[CallerLineNumber] int sourceLineNumber = -1)
|
|
10
|
+
: base(sourceFilePath, sourceLineNumber)
|
|
6
11
|
{
|
|
7
12
|
if (!OperatingSystem.IsLinux())
|
|
8
13
|
{
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-nuget
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.372.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.372.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.372.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -554,7 +554,7 @@ licenses:
|
|
|
554
554
|
- MIT
|
|
555
555
|
metadata:
|
|
556
556
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
557
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
557
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.372.0
|
|
558
558
|
rdoc_options: []
|
|
559
559
|
require_paths:
|
|
560
560
|
- lib
|