Skip to content

Commit 5181e7c

Browse files
committed
Upgrade dependencies
1 parent 73b70b2 commit 5181e7c

File tree

4 files changed

+17
-21
lines changed

4 files changed

+17
-21
lines changed

aspnetcore/aspnetcore.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<Description>Middleware and helpers to make working with ASP.NET MVC easier.</Description>
54
<Authors>Archon Information Systems, LLC</Authors>
@@ -21,9 +20,9 @@
2120
</PropertyGroup>
2221

2322
<ItemGroup>
24-
<PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
25-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.2" />
26-
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="1.1.2" />
27-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="1.1.3" />
23+
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
24+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="2.1.1" />
25+
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.1.1" />
26+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.1.3" />
2827
</ItemGroup>
2928
</Project>

http/http.csproj

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<Description>Extensions and helper methods that make working with HttpClient easier as an API.</Description>
54
<VersionPrefix>2.0.0-beta2</VersionPrefix>
65
<Authors>Archon Information Systems, LLC</Authors>
7-
<TargetFrameworks>netstandard2.0;netstandard1.3</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
87
<AssemblyName>Archon.Http</AssemblyName>
98
<RootNamespace>Archon.Http</RootNamespace>
109
<PackageTags>webapi;utils;api;http;authorization</PackageTags>
@@ -22,12 +21,7 @@
2221
</PropertyGroup>
2322

2423
<ItemGroup>
25-
<PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
26-
<PackageReference Include="System.Collections.Immutable" Version="1.4.0" />
24+
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
25+
<PackageReference Include="System.Collections.Immutable" Version="1.5.0" />
2726
</ItemGroup>
28-
29-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
30-
<PackageReference Include="System.Security.Claims" Version="4.3.0" />
31-
</ItemGroup>
32-
3327
</Project>

test/CsvModelBinderTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void can_not_blow_up_on_invalid_guids()
7777
var items = binder.BindModel(typeof(IEnumerable<Guid>), $"this-is-not-a-valid-guid,{guid1},neither is this") as IEnumerable<Guid>;
7878

7979
Assert.NotNull(items);
80-
Assert.Equal(1, items.Count());
80+
Assert.Single(items);
8181
Assert.Contains(guid1, items);
8282
}
8383

@@ -111,7 +111,7 @@ public void can_not_blow_up_on_invalid_integers()
111111
var items = binder.BindModel(typeof(IEnumerable<int>), "this-is-not-a-valid-int,13,neither is this") as IEnumerable<int>;
112112

113113
Assert.NotNull(items);
114-
Assert.Equal(1, items.Count());
114+
Assert.Single(items);
115115
Assert.Contains(13, items);
116116
}
117117

@@ -132,7 +132,7 @@ public void can_bind_single_value()
132132
var items = binder.BindModel(typeof(IEnumerable<string>), " homer.simpson ") as IEnumerable<string>;
133133

134134
Assert.NotNull(items);
135-
Assert.Equal(1, items.Count());
135+
Assert.Single(items);
136136
Assert.Equal("homer.simpson", items.Single());
137137
}
138138

test/tests.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.0</TargetFramework>
4+
<TargetFramework>netcoreapp2.1</TargetFramework>
55
<AssemblyName>Archon.Http.Tests</AssemblyName>
66
<RootNamespace>Archon.Http.Tests</RootNamespace>
77
<PackageTags>webapi;utils;api;http;model binders;middleware;authorization</PackageTags>
@@ -21,9 +21,12 @@
2121
</PropertyGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
25-
<PackageReference Include="xunit" Version="2.2.0" />
26-
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
24+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
25+
<PackageReference Include="xunit" Version="2.4.1" />
26+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
27+
<PrivateAssets>all</PrivateAssets>
28+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
29+
</PackageReference>
2730
</ItemGroup>
2831

2932
<ItemGroup>

0 commit comments

Comments
 (0)