Skip to content

Commit b735ac5

Browse files
committed
Taking out code/tests/docs from old versions
1 parent 541291e commit b735ac5

File tree

13 files changed

+6
-662
lines changed

13 files changed

+6
-662
lines changed

AuthPermissions.AspNetCore.sln

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1818
LICENSE = LICENSE
1919
README.md = README.md
2020
ReleaseNotes.md = ReleaseNotes.md
21-
UpdateToVersion2.md = UpdateToVersion2.md
22-
UpdateToVersion3.md = UpdateToVersion3.md
23-
UpdateToVersion5.md = UpdateToVersion5.md
2421
UpdateToVersion6.md = UpdateToVersion6.md
2522
UpdateToVersion620.md = UpdateToVersion620.md
2623
EndProjectSection
@@ -53,8 +50,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example7.MvcWebApp.Sharding
5350
EndProject
5451
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example7.SingleLevelShardingOnly", "Example7.SingleLevelShardingOnly\Example7.SingleLevelShardingOnly.csproj", "{9ABE93FC-DE35-47E1-B5B3-27867E350933}"
5552
EndProject
56-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleApp.AuthP6Upgrade", "ConsoleApp.AuthP6Upgrade\ConsoleApp.AuthP6Upgrade.csproj", "{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}"
57-
EndProject
5853
Global
5954
GlobalSection(SolutionConfigurationPlatforms) = preSolution
6055
Debug|Any CPU = Debug|Any CPU
@@ -293,18 +288,6 @@ Global
293288
{9ABE93FC-DE35-47E1-B5B3-27867E350933}.Release|x64.Build.0 = Release|Any CPU
294289
{9ABE93FC-DE35-47E1-B5B3-27867E350933}.Release|x86.ActiveCfg = Release|Any CPU
295290
{9ABE93FC-DE35-47E1-B5B3-27867E350933}.Release|x86.Build.0 = Release|Any CPU
296-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
297-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
298-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Debug|x64.ActiveCfg = Debug|Any CPU
299-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Debug|x64.Build.0 = Debug|Any CPU
300-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Debug|x86.ActiveCfg = Debug|Any CPU
301-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Debug|x86.Build.0 = Debug|Any CPU
302-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
303-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Release|Any CPU.Build.0 = Release|Any CPU
304-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Release|x64.ActiveCfg = Release|Any CPU
305-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Release|x64.Build.0 = Release|Any CPU
306-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Release|x86.ActiveCfg = Release|Any CPU
307-
{65A69729-B8E3-4F11-B88F-2AF1AFAB50F2}.Release|x86.Build.0 = Release|Any CPU
308291
EndGlobalSection
309292
GlobalSection(SolutionProperties) = preSolution
310293
HideSolutionNode = FALSE

AuthPermissions.AspNetCore/MultiProjPack.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
<!-- See documentation for all the possible values -->
55
<metadata>
66
<id>AuthPermissions.AspNetCore</id>
7-
<version>6.2.2</version>
7+
<version>8.0.0</version>
88
<authors>Jon P Smith</authors>
99
<product>AuthPermissions.AspNetCore</product>
1010
<copyright>Copyright (c) 2021 Jon P Smith</copyright>
1111
<description>Provides extra authorization and multi-tenant features to an ASP.NET Core application.</description>
1212
<releaseNotes>
13-
- Updated Net.RunMethodsSequentially to fix .NET 8 Postgres bug
13+
- This NuGet only supports NET8
14+
- All vulnerable NuGets updated
15+
- Any depreciated NuGets removed
1416
</releaseNotes>
1517
<license type="expression">MIT</license>
1618
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>

ConsoleApp.AuthP6Upgrade/ConsoleApp.AuthP6Upgrade.csproj

Lines changed: 0 additions & 15 deletions
This file was deleted.

ConsoleApp.AuthP6Upgrade/Program.cs

Lines changed: 0 additions & 102 deletions
This file was deleted.

SetupMigrations/Program.cs

Lines changed: 0 additions & 72 deletions
This file was deleted.

SetupMigrations/SetupMigrations.csproj

Lines changed: 0 additions & 26 deletions
This file was deleted.

Test/UnitTests/TestAuthPermissions/TestVersion2MigrateDataKey.cs

Lines changed: 0 additions & 53 deletions
This file was deleted.

Test/UnitTests/TestExamples/TestExample4RetailDbContext.cs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,6 @@ public TestExample4RetailDbContext(ITestOutputHelper output)
2323
_output = output;
2424
}
2525

26-
[RunnableInDebugOnly]
27-
public void TestRetailDbContextMigrate()
28-
{
29-
//SETUP
30-
//var options = SqliteInMemory.CreateOptions<RetailDbContext>();
31-
var optionsBuilder = new DbContextOptionsBuilder<RetailDbContext>();
32-
optionsBuilder.UseSqlServer(this.GetUniqueDatabaseConnectionString("XX"),
33-
x => x.MigrationsHistoryTable("NotTheNormalName"));
34-
35-
using var context = new RetailDbContext(optionsBuilder.Options, new StubGetDataKeyFilter("."));
36-
context.Database.EnsureClean(false);
37-
38-
//ATTEMPT
39-
context.Database.Migrate();
40-
41-
//VERIFY
42-
context.ChangeTracker.Clear();
43-
context.RetailOutlets.Count().ShouldEqual(0);
44-
}
45-
4626
[Theory]
4727
[InlineData(".1.2", 1)]
4828
[InlineData(".2.3", 0)]

Test/UnitTests/TestExamples/TestExample4SetupAuthPermissions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public TestExample4SetupAuthPermissions(ITestOutputHelper output)
2323
_output = output;
2424
}
2525

26-
[RunnableInDebugOnly]
26+
[Fact]
2727
public void CreateDemoUsersString()
2828
{
2929
//SETUP

Test/UnitTests/TestExamples/TestExamplesStartup.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,7 @@ public void TestExample3StartUpWorks()
8080
//VERIFY
8181
}
8282

83-
/// <summary>
84-
/// This fails with a "missing method" - see return below
85-
/// System.MissingMethodException : Method not found: 'Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder`1
86-
/// <Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation>
87-
/// Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder.CreateIndex(System.String, System.String, System.String, System.String, Boolean, System.String)'.
88-
/// </summary>
89-
/// <returns></returns>
90-
[RunnableInDebugOnly]
83+
[Fact]
9184
public async Task TestExample3RunMethodsSequentiallyAsync()
9285
{
9386
//SETUP

0 commit comments

Comments
 (0)