Skip to content

Commit

Permalink
Add reference assemblies, update test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
asherber committed Aug 17, 2022
1 parent ea9357e commit 6c0c5bf
Show file tree
Hide file tree
Showing 37 changed files with 43 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks>net462;net6.0</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp.Tests/MailmanSharp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;netcoreapp2.1</TargetFrameworks>
<TargetFrameworks>net462;net6.0</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Attributes/MailmanIgnoreAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Attributes/OrderAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Attributes/PathAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Exceptions/MailmanHttpException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Extensions/HtmlAgilityPackExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Extensions/MiscellaneousExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Extensions/RestSharpExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/IMailmanClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/IMailmanList.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Json/MailmanJsonSerializer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/MailmanClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/MailmanList.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
8 changes: 6 additions & 2 deletions MailmanSharp/MailmanSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Version 3 has several breaking changes; see release notes for details.</Descript
<RepositoryUrl>https://github.com/asherber/MailmanSharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>https://github.com/asherber/MailmanSharp/wiki/Changes-in-v3</PackageReleaseNotes>
<Copyright>Copyright 2014-2018</Copyright>
<Copyright>Copyright 2014-2022</Copyright>
<PackageTags>Mailman listserv</PackageTags>
</PropertyGroup>

Expand All @@ -28,7 +28,11 @@ Version 3 has several breaking changes; see release notes for details.</Descript
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="5.9.0" />
<PackageReference Include="HtmlAgilityPack" Version="[1.6.13,2.0)" />
<PackageReference Include="Nerdbank.GitVersioning" Version="2.1.11" PrivateAssets="all" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.109" PrivateAssets="all" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="[106.2.1,107.0)" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/MailmanSharp.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MailmanSharp/Models/HeaderFilter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Models/MailmanVersion.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Models/Member.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Models/SubscribeResult.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Models/Topic.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Models/UnsubscribeResult.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/ArchivingSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/AutoResponderSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/BounceProcessingSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/ContentFilteringSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/DigestSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/GeneralSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/MailNewsGatewaysSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
4 changes: 2 additions & 2 deletions MailmanSharp/Sections/MembershipSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down Expand Up @@ -466,7 +466,7 @@ public Task SaveMembersAsync(IEnumerable<Member> members)
/// <summary>
/// Save changes to a member.
/// </summary>
/// <param name="members"></param>
/// <param name="member"></param>
/// <returns></returns>
public Task SaveMemberAsync(Member member)
{
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/NonDigestSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/PasswordsSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/PrivacySection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/SectionBase.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/Sections/TopicsSection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2018 Aaron Sherber
* Copyright 2014-2022 Aaron Sherber
*
* This file is part of MailmanSharp.
*
Expand Down
2 changes: 1 addition & 1 deletion MailmanSharp/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "3.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/main$",
"^refs/tags/v\\d+\\.\\d+"
]
}

0 comments on commit 6c0c5bf

Please sign in to comment.