Skip to content

Commit

Permalink
Release 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RytisRe committed Dec 14, 2022
1 parent d8f8f8b commit cbe1550
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 20 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publishing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
dotnet-version: 5.0.408

- name: Install dependencies
run: dotnet restore

- name: Test Nuget
run: |
nuget restore Wallee.sln
nuget install NUnit.Console -Version 3.11.1 -OutputDirectory testrunner
msbuild /t:restore Wallee.sln && msbuild Wallee.sln /t:build /p:Configuration=Release
mono testrunner/NUnit.ConsoleRunner.3.11.1/tools/nunit3-console.exe ./src/Wallee.Test/bin/Release/net5.0/Wallee.Test.dll --inprocess
run: dotnet test --configuration Release

publish:
needs: build
Expand All @@ -35,7 +31,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
dotnet-version: 5.0.408

- name: Install dependencies
run: dotnet restore
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ Install-Package JsonSubTypes
## Installation
```
# Package Manager
Install-Package Wallee -Version 5.0.0
Install-Package Wallee -Version 5.0.1
# .NET CLI
dotnet add package Wallee --version 5.0.0
dotnet add package Wallee --version 5.0.1
# Paket CLI
paket add Wallee --version 5.0.0
paket add Wallee --version 5.0.1
# PackageReference
<PackageReference Include="Wallee" Version="5.0.0" />
<PackageReference Include="Wallee" Version="5.0.1" />
```

Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
Expand Down
4 changes: 3 additions & 1 deletion src/Wallee.Test/Wallee.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit" Version="3.9.0"/>
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="RestSharp" Version="108.0.1"/>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1"/>
<PackageReference Include="JsonSubTypes" Version="1.6.0"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Wallee/Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public Object CallApi(
{

Dictionary<String, String> defaultHeaderParams = new Dictionary<String, String>() {
{"x-meta-sdk-version", "5.0.0"},
{"x-meta-sdk-version", "5.0.1"},
{"x-meta-sdk-language", "csharp"},
{"x-meta-sdk-provider", "wallee"},
{"x-meta-sdk-language-version", Environment.Version.ToString()}
Expand Down
8 changes: 4 additions & 4 deletions src/Wallee/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "5.0.0";
public const string Version = "5.0.1";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -90,7 +90,7 @@ public Configuration(string applicationUserID, string authenticationKey)
}
_authenticationKey = authenticationKey;
_applicationUserID = applicationUserID;
UserAgent = "Wallee/5.0.0/csharp";
UserAgent = "Wallee/5.0.1/csharp";
BasePath = "https://app-wallee.com:443/api";
DefaultHeader = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -338,8 +338,8 @@ public static String ToDebugReport()
String report = "C# SDK (Wallee) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 5.0.0\n";
report += " SDK Package Version: 5.0.0\n";
report += " Version of the API: 5.0.1\n";
report += " SDK Package Version: 5.0.1\n";

return report;
}
Expand Down
6 changes: 3 additions & 3 deletions src/Wallee/Wallee.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
<PackageId>Wallee</PackageId>
<PackageLicense>https://www.apache.org/licenses/LICENSE-2.0.txt</PackageLicense>
<PackageProjectUrl>https://github.com/wallee-payment/csharp-sdk</PackageProjectUrl>
<PackageVersion>5.0.0</PackageVersion>
<Version>5.0.0</Version>
<PackageVersion>5.0.1</PackageVersion>
<Version>5.0.1</Version>
<PackageTags>Wallee;payment;sdk;Payment Integration</PackageTags>
<OutputType>Library</OutputType>
<Owners>customweb</Owners>
<ReleaseVersion>5.0.0</ReleaseVersion>
<ReleaseVersion>5.0.1</ReleaseVersion>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/wallee-payment/csharp-sdk.git</RepositoryUrl>
<RootNamespace>Wallee</RootNamespace>
Expand Down

0 comments on commit cbe1550

Please sign in to comment.