diff --git a/src/Squidex.Infrastructure/project.json b/src/Squidex.Infrastructure/project.json index a21e9b190..d6e6623a7 100644 --- a/src/Squidex.Infrastructure/project.json +++ b/src/Squidex.Infrastructure/project.json @@ -1,16 +1,16 @@ { "version": "1.0.0-*", "dependencies": { - "Autofac": "4.1.0", + "Autofac": "4.2.1", "EventStore.ClientAPI.NetCore": "0.0.1-alpha", - "Microsoft.Extensions.Logging": "1.0.0", + "Microsoft.Extensions.Logging": "1.1.0", "NETStandard.Library": "1.6.0", "Newtonsoft.Json": "9.0.2-beta1", "NodaTime": "2.0.0-alpha20160729", "protobuf-net": "2.1.0", - "System.Linq": "4.1.0", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Security.Claims": "4.0.1" + "System.Linq": "4.3.0", + "System.Reflection.TypeExtensions": "4.3.0", + "System.Security.Claims": "4.3.0" }, "frameworks": { "netcoreapp1.0": { diff --git a/src/Squidex.Read/project.json b/src/Squidex.Read/project.json index 80cb5eef5..4a4162598 100644 --- a/src/Squidex.Read/project.json +++ b/src/Squidex.Read/project.json @@ -2,8 +2,8 @@ "version": "1.0.0-*", "dependencies": { - "Microsoft.Extensions.Caching.Memory": "1.0.0", - "MongoDB.Driver": "2.4.0-beta1", + "Microsoft.Extensions.Caching.Memory": "1.1.0", + "MongoDB.Driver": "2.4.0", "NETStandard.Library": "1.6.0", "NodaTime": "2.0.0-alpha20160729", "Squidex.Core": "1.0.0-*", diff --git a/src/Squidex.Store.MongoDb/project.json b/src/Squidex.Store.MongoDb/project.json index 129482ab3..79eec6f57 100644 --- a/src/Squidex.Store.MongoDb/project.json +++ b/src/Squidex.Store.MongoDb/project.json @@ -1,10 +1,10 @@ { "dependencies": { - "Autofac": "4.1.1", - "IdentityServer4": "1.0.0-rc2", - "Microsoft.AspNetCore.Identity": "1.0.0", + "Autofac": "4.2.1", + "IdentityServer4": "1.0.0-rc5", + "Microsoft.AspNetCore.Identity": "1.1.0", "Microsoft.AspNetCore.Identity.MongoDB": "1.0.2", - "MongoDB.Driver": "2.4.0-beta1", + "MongoDB.Driver": "2.4.0", "NETStandard.Library": "1.6.0", "Squidex.Core": "1.0.0-*", "Squidex.Events": "1.0.0-*", diff --git a/src/Squidex.Write/project.json b/src/Squidex.Write/project.json index c9626ec19..70589e3b5 100644 --- a/src/Squidex.Write/project.json +++ b/src/Squidex.Write/project.json @@ -2,14 +2,14 @@ "version": "1.0.0-*", "dependencies": { - "Microsoft.AspNetCore.Identity": "1.0.0", + "Microsoft.AspNetCore.Identity": "1.1.0", "NETStandard.Library": "1.6.0", "NodaTime": "2.0.0-alpha20160729", "Squidex.Core": "1.0.0-*", "Squidex.Events": "1.0.0-*", "Squidex.Infrastructure": "1.0.0-*", "Squidex.Read": "1.0.0-*", - "System.Linq": "4.1.0" + "System.Linq": "4.3.0" }, "frameworks": { diff --git a/src/Squidex/project.json b/src/Squidex/project.json index ea4a5c804..18f573083 100644 --- a/src/Squidex/project.json +++ b/src/Squidex/project.json @@ -1,49 +1,46 @@ { "dependencies": { - "Autofac": "4.1.1", + "Autofac": "4.2.1", "Autofac.Extensions.DependencyInjection": "4.0.0", - "IdentityServer4": "1.0.0-rc2", - "IdentityServer4.AccessTokenValidation": "1.0.1-rc2", - "IdentityServer4.AspNetIdentity": "1.0.0-rc2", - "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0", - "Microsoft.AspNetCore.Authentication.Google": "1.0.0", - "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.0.0", - "Microsoft.AspNetCore.Diagnostics": "1.0.0", - "Microsoft.AspNetCore.Identity": "1.0.0", - "Microsoft.AspNetCore.Mvc": "1.0.1", - "Microsoft.AspNetCore.Razor.Tools": { - "version": "1.0.0-preview2-final", - "type": "build" - }, - "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0", - "Microsoft.AspNetCore.Server.Kestrel": "1.0.1", - "Microsoft.AspNetCore.StaticFiles": "1.0.0", - "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", - "Microsoft.Extensions.Configuration.Json": "1.0.0", - "Microsoft.Extensions.Logging": "1.0.0", - "Microsoft.Extensions.Logging.Console": "1.0.0", - "Microsoft.Extensions.Logging.Debug": "1.0.0", - "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0", + "IdentityServer4": "1.0.0-rc5", + "IdentityServer4.AccessTokenValidation": "1.0.1-rc5", + "IdentityServer4.AspNetIdentity": "1.0.0-rc5", + "Microsoft.AspNetCore.Authentication.Cookies": "1.1.0", + "Microsoft.AspNetCore.Authentication.Google": "1.1.0", + "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.1.0", + "Microsoft.AspNetCore.Diagnostics": "1.1.0", + "Microsoft.AspNetCore.Identity": "1.1.0", + "Microsoft.AspNetCore.Mvc": "1.1.0", + "Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final", + "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0", + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final", + "Microsoft.AspNetCore.Server.Kestrel": "1.1.0", + "Microsoft.AspNetCore.StaticFiles": "1.1.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0", + "Microsoft.Extensions.Configuration.Json": "1.1.0", + "Microsoft.Extensions.Logging": "1.1.0", + "Microsoft.Extensions.Logging.Console": "1.1.0", + "Microsoft.Extensions.Logging.Debug": "1.1.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0", "Microsoft.NETCore.App": { "version": "1.0.1", "type": "platform" }, - "MongoDB.Driver": "2.4.0-beta1", - "NJsonSchema": "5.19.6171.28316", - "NSwag.AspNetCore": "7.2.0", + "MongoDB.Driver": "2.4.0", +"NJsonSchema": "6.5.6190.16910", + "NSwag.AspNetCore": "8.0.0", "OpenCover": "4.6.519", - "ReportGenerator": "2.5.0-beta1", + "ReportGenerator": "2.5.2-beta2", "Squidex.Core": "1.0.0-*", "Squidex.Events": "1.0.0-*", "Squidex.Infrastructure": "1.0.0-*", "Squidex.Read": "1.0.0-*", "Squidex.Store.MongoDb": "1.0.0-*", "Squidex.Write": "1.0.0-*", - "System.Linq": "4.1.0" + "System.Linq": "4.3.0" }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final" }, "frameworks": { diff --git a/tests/Squidex.Core.Tests/project.json b/tests/Squidex.Core.Tests/project.json index 4cd2bc695..2c522f292 100644 --- a/tests/Squidex.Core.Tests/project.json +++ b/tests/Squidex.Core.Tests/project.json @@ -1,4 +1,4 @@ -{ +{ "buildOptions": { "copyToOutput": { "include": [ @@ -7,12 +7,11 @@ } }, "dependencies": { - "FluentAssertions": "4.15.0", "dotnet-test-xunit": "2.2.0-preview2-build1029", "Moq": "4.6.38-alpha", "Squidex.Core": "1.0.0-*", "Squidex.Infrastructure": "1.0.0-*", - "xunit": "2.2.0-beta3-build3402" + "xunit": "2.2.0-beta4-build3444" }, "frameworks": { "netcoreapp1.0": { @@ -29,7 +28,6 @@ "defaultNamespace": "Squidex.Core" }, "tools": { - "Microsoft.DotNet.Watcher.Tools": "1.0.0-preview2-final" }, "version": "1.0.0-*" } \ No newline at end of file diff --git a/tests/Squidex.Infrastructure.Tests/TypeNameAttributeTest.cs b/tests/Squidex.Infrastructure.Tests/TypeNameAttributeTest.cs new file mode 100644 index 000000000..2a8ebf214 --- /dev/null +++ b/tests/Squidex.Infrastructure.Tests/TypeNameAttributeTest.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Xunit; + +namespace Squidex.Infrastructure +{ + public class TypeNameAttributeTest + { + [Fact] + public void Should_instantiate() + { + var attribute = new TypeNameAttribute("MyTypeName"); + + Assert.Equal("MyTypeName", attribute.TypeName); + } + } +} diff --git a/tests/Squidex.Infrastructure.Tests/project.json b/tests/Squidex.Infrastructure.Tests/project.json index a7f849a3d..eb83c0f1d 100644 --- a/tests/Squidex.Infrastructure.Tests/project.json +++ b/tests/Squidex.Infrastructure.Tests/project.json @@ -10,7 +10,7 @@ "dotnet-test-xunit": "2.2.0-preview2-build1029", "Moq": "4.6.38-alpha", "Squidex.Infrastructure": "1.0.0-*", - "xunit": "2.2.0-beta3-build3402" + "xunit": "2.2.0-beta4-build3444" }, "frameworks": { "netcoreapp1.0": { diff --git a/tests/Squidex.Write.Tests/project.json b/tests/Squidex.Write.Tests/project.json index 229a2e40f..f475f5f94 100644 --- a/tests/Squidex.Write.Tests/project.json +++ b/tests/Squidex.Write.Tests/project.json @@ -7,13 +7,13 @@ } }, "dependencies": { - "FluentAssertions": "4.15.0", "dotnet-test-xunit": "2.2.0-preview2-build1029", + "FluentAssertions": "4.18.0", "Moq": "4.6.38-alpha", "Squidex.Core": "1.0.0-*", "Squidex.Infrastructure": "1.0.0-*", "Squidex.Write": "1.0.0-*", - "xunit": "2.2.0-beta3-build3402" + "xunit": "2.2.0-beta4-build3444" }, "frameworks": { "netcoreapp1.0": {