Skip to content

Commit

Permalink
Updated packages. (#12)
Browse files Browse the repository at this point in the history
* Minor refactoring and updated packages.

* Bump version.
  • Loading branch information
mgernand committed Jul 9, 2024
1 parent 36ecb89 commit a0a90c8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions samples/SampleApplication/SampleApplication.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.5" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.6" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/AspNetCore.Endpoints/AspNetCore.Endpoints.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" PrivateAssets="All" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions src/AspNetCore.Endpoints/EndpointRouteBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
Expand Down Expand Up @@ -159,7 +158,7 @@ public static RouteHandlerBuilder MapDelete(this IEndpointRouteBuilder endpoints

private static bool IsAnonymous(this MethodInfo method)
{
char[] invalidChars = new char[] { '<', '>' };
char[] invalidChars = ['<', '>'];
return method.Name.Any(invalidChars.Contains);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>8.1.0</VersionPrefix>
<VersionPrefix>8.1.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<FileVersion>$(VersionPrefix)</FileVersion>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[7.0.19]" Condition="'$(TargetFramework)' == 'net7.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.5" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[7.0.20]" Condition="'$(TargetFramework)' == 'net7.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.6" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
Expand Down

0 comments on commit a0a90c8

Please sign in to comment.