Skip to content

Commit 1d03188

Browse files
authored
Renamed package OpenXmlPowerTools to Codeuctivity.OpenXmlPowertools
2 parents 9c20ef2 + 2748d26 commit 1d03188

File tree

156 files changed

+1088
-1138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+1088
-1138
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ updates:
1616
- dependency-name: "MSTest.TestAdapter"
1717
- dependency-name: "MSTest.TestFramework"
1818
- dependency-name: "Microsoft.SourceLink.GitHub"
19+
- dependency-name: "ImageSharpCompare"

.github/workflows/dotnet.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: .NET build and test
22
env:
3+
CURRENT_VERSION: 5.1.${{ github.run_number }}
34
LAST_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
45

56
on:
@@ -42,18 +43,15 @@ jobs:
4243
- name: NugetPush
4344
run: |
4445
dotnet nuget push ./OpenXmlPowerTools/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TOKEN}} --source https://api.nuget.org/v3/index.json
45-
- uses: papeloto/action-zip@v1
46-
with:
47-
files: ./OpenXmlPowerTools/bin/Release/net6.0/publish/
48-
dest: OpenXmlPowerTools.zip
4946
- uses: "marvinpinto/action-automatic-releases@latest"
5047
with:
5148
repo_token: "${{ secrets.GITHUB_TOKEN }}"
52-
automatic_release_tag: "latest"
49+
automatic_release_tag: ${{ env.CURRENT_VERSION }}
50+
prerelease: false
5351
title: "Release Build"
5452
files: |
55-
LICENSE
56-
OpenXmlPowerTools.zip
53+
./OpenXmlPowerTools/bin/Release/*.nupkg
54+
./OpenXmlPowerTools/bin/Release/*.snupkg
5755
5856
deployTest:
5957
if: github.ref != 'refs/heads/main'
@@ -73,15 +71,12 @@ jobs:
7371
run: |
7472
ls ./OpenXmlPowerTools/bin/Release
7573
dotnet nuget push ./OpenXmlPowerTools/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TEST_TOKEN}} --source https://apiint.nugettest.org/v3/index.json
76-
- uses: papeloto/action-zip@v1
77-
with:
78-
files: ./OpenXmlPowerTools/bin/Release/
79-
dest: OpenXmlPowerTools.zip
8074
- uses: "marvinpinto/action-automatic-releases@latest"
8175
with:
8276
repo_token: "${{ secrets.GITHUB_TOKEN }}"
8377
automatic_release_tag: "latest-prerelease"
8478
prerelease: true
8579
title: "Prerelease Build"
8680
files: |
87-
OpenXmlPowerTools.zip
81+
./OpenXmlPowerTools/bin/Release/*.nupkg
82+
./OpenXmlPowerTools/bin/Release/*.snupkg

OpenXmlPowerTools.Tests/ChartUpdaterTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using DocumentFormat.OpenXml.Packaging;
2-
using OpenXmlPowerTools;
3-
using OpenXmlPowerTools.Tests;
1+
using Codeuctivity.OpenXmlPowerTools;
2+
using Codeuctivity.OpenXmlPowerTools.Chart;
3+
using DocumentFormat.OpenXml.Packaging;
44
using System;
55
using System.IO;
66
using Xunit;
77

8-
namespace OxPt
8+
namespace Codeuctivity.Tests
99
{
1010
public class CuTests
1111
{

OpenXmlPowerTools.Tests/DocumentAssemblerTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using DocumentFormat.OpenXml.Packaging;
1+
using Codeuctivity.OpenXmlPowerTools;
2+
using DocumentFormat.OpenXml.Packaging;
23
using DocumentFormat.OpenXml.Validation;
3-
using OpenXmlPowerTools;
4-
using OpenXmlPowerTools.Tests;
54
using System;
65
using System.Collections.Generic;
76
using System.IO;
@@ -11,7 +10,7 @@
1110
using System.Xml.Linq;
1211
using Xunit;
1312

14-
namespace OxPt
13+
namespace Codeuctivity.Tests
1514
{
1615
public class DaTests
1716
{

OpenXmlPowerTools.Tests/DocumentBuilderTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using DocumentFormat.OpenXml.Packaging;
1+
using Codeuctivity.OpenXmlPowerTools;
2+
using Codeuctivity.OpenXmlPowerTools.DocumentBuilder;
3+
using DocumentFormat.OpenXml.Packaging;
24
using DocumentFormat.OpenXml.Validation;
3-
using OpenXmlPowerTools;
4-
using OpenXmlPowerTools.Tests;
55
using System;
66
using System.Collections.Generic;
77
using System.IO;
@@ -10,7 +10,7 @@
1010
using System.Xml.Linq;
1111
using Xunit;
1212

13-
namespace OxPt
13+
namespace Codeuctivity.Tests
1414
{
1515
public class DbTests
1616
{
@@ -343,7 +343,7 @@ public void DB009_ShredDocument()
343343
Paragraph = p,
344344
Index = i,
345345
});
346-
var zipped = PtExtensions.PtZip(beforeZipped, sectionCounts, (pi, sc) => new
346+
var zipped = beforeZipped.PtZip(sectionCounts, (pi, sc) => new
347347
{
348348
pi.Paragraph,
349349
pi.Index,

OpenXmlPowerTools.Tests/FormattingAssemblerTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
using DocumentFormat.OpenXml.Packaging;
1+
using Codeuctivity.OpenXmlPowerTools;
2+
using DocumentFormat.OpenXml.Packaging;
23
using DocumentFormat.OpenXml.Validation;
3-
using OpenXmlPowerTools;
4-
using OpenXmlPowerTools.Tests;
54
using System;
65
using System.Collections.Generic;
76
using System.IO;
87
using System.Linq;
98
using System.Text;
109
using Xunit;
1110

12-
namespace OxPt
11+
namespace Codeuctivity.Tests
1312
{
1413
public class FaTests
1514
{

OpenXmlPowerTools.Tests/HtmlToWmlConverterTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using DocumentFormat.OpenXml.Packaging;
1+
using Codeuctivity.OpenXmlPowerTools;
2+
using DocumentFormat.OpenXml.Packaging;
23
using DocumentFormat.OpenXml.Validation;
3-
using OpenXmlPowerTools;
4-
using OpenXmlPowerTools.Tests;
54
using System;
65
using System.IO;
76
using System.Linq;
@@ -26,7 +25,7 @@
2625
* this module do not require the HtmlAgilityPack to run.
2726
*******************************************************************************************/
2827

29-
namespace OxPt
28+
namespace Codeuctivity.Tests
3029
{
3130
public class HwTests
3231
{

OpenXmlPowerTools.Tests/HtmlToWmlReadAsXElement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
using HtmlAgilityPack;
2727
#endif
2828

29-
namespace OpenXmlPowerTools
29+
namespace Codeuctivity.Tests
3030
{
3131
public class HtmlToWmlReadAsXElement
3232
{

OpenXmlPowerTools.Tests/MarkupSimplifierTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
using DocumentFormat.OpenXml;
1+
using Codeuctivity.OpenXmlPowerTools;
2+
using DocumentFormat.OpenXml;
23
using DocumentFormat.OpenXml.Packaging;
34
using System.IO;
45
using System.Linq;
56
using System.Xml.Linq;
67
using Xunit;
78

8-
namespace OpenXmlPowerTools.Tests
9+
namespace Codeuctivity.Tests
910
{
1011
public class MarkupSimplifierTests
1112
{

OpenXmlPowerTools.Tests/MetricsGetterTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using OpenXmlPowerTools;
1+
using Codeuctivity.OpenXmlPowerTools;
22
using System.IO;
33
using System.Xml.Linq;
44
using Xunit;
55

6-
namespace OxPt
6+
namespace Codeuctivity.Tests
77
{
88
public class MgTests
99
{

0 commit comments

Comments
 (0)