Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update YamlDotNet dependency #30

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ApiCheck.Test/ApiCheck.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
<PackageReference Include="YamlDotNet.Signed" Version="4.2.1" />
<PackageReference Include="YamlDotNet" Version="16.3.0" />
<PackageReference Include="Moq" Version="4.18.3" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion ApiCheck/ApiCheck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="6.0.0" />
<PackageReference Include="YamlDotNet.Signed" Version="4.2.1" />
<PackageReference Include="YamlDotNet" Version="16.3.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions ApiCheck/Loader/ConfigurationLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public static ComparerConfiguration LoadComparerConfiguration(Stream stream)

using (var reader = new StreamReader(stream))
{
Deserializer deserializer = new DeserializerBuilder()
.WithNamingConvention(new CamelCaseNamingConvention())
IDeserializer deserializer = new DeserializerBuilder()
.WithNamingConvention(CamelCaseNamingConvention.Instance)
.Build();

ComparerConfiguration configuration = deserializer.Deserialize<ComparerConfiguration>(reader);
Expand Down
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let tags = "ApiCheck Assembly Comparer NUnit Different Version Build Integration
let globalDescription = "Library comparing different versions of an api using reflection to ensure compatibility with third party components."

let packages =
[ "ApiCheck", globalDescription, ["YamlDotNet.Signed", "4.2.1"]
[ "ApiCheck", globalDescription, ["YamlDotNet", "16.3.0"]
"ApiCheck.Console", globalDescription + " Console application.", []
"ApiCheck.NUnit", globalDescription + " NUnit integration.", ["ApiCheck", version; "NUnit", "3.13.3"] ]

Expand Down