From a746c4256e26388c34e9cfabcbb69a2258bf5945 Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Wed, 12 Jan 2022 16:47:31 +0200 Subject: [PATCH 1/4] remove seek in FileModel.Constructor --- Ringhel.Procesio.Action.Core/Models/FileModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Ringhel.Procesio.Action.Core/Models/FileModel.cs b/Ringhel.Procesio.Action.Core/Models/FileModel.cs index 6ef53a3..802417c 100644 --- a/Ringhel.Procesio.Action.Core/Models/FileModel.cs +++ b/Ringhel.Procesio.Action.Core/Models/FileModel.cs @@ -13,7 +13,6 @@ public FileModel() {} public FileModel(Stream file, string name) { var memoryStream = new MemoryStream(); - file.Seek(0, SeekOrigin.Begin); using (var responseStream = file) { responseStream.CopyTo(memoryStream); From 0b6805ae9f276d0068cb7238a09b32284bafd0eb Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Wed, 12 Jan 2022 16:48:24 +0200 Subject: [PATCH 2/4] Bump version to 1.16.0.1 --- .../Ringhel.Procesio.Action.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj index 355541a..0471fcb 100644 --- a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj +++ b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj @@ -7,7 +7,7 @@ Ringhel Procesio https://github.com/PROCESIO/Action-Core.git - 1.16.0 + 1.16.0.1 Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core From 60ff753b4b5ae3e456c82ffc2fdaf35abcaf3e74 Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Wed, 12 Jan 2022 18:13:00 +0200 Subject: [PATCH 3/4] make FileModel.Clone public --- Ringhel.Procesio.Action.Core/Models/FileModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ringhel.Procesio.Action.Core/Models/FileModel.cs b/Ringhel.Procesio.Action.Core/Models/FileModel.cs index 802417c..befb1f5 100644 --- a/Ringhel.Procesio.Action.Core/Models/FileModel.cs +++ b/Ringhel.Procesio.Action.Core/Models/FileModel.cs @@ -23,7 +23,7 @@ public FileModel(Stream file, string name) Name = name; } - private FileModel Clone() + public FileModel Clone() { File.Seek(0, SeekOrigin.Begin); return new FileModel(File, Name); From d4b8b0c60c6f8312325650b5c146b2a130116cf4 Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Wed, 12 Jan 2022 18:13:18 +0200 Subject: [PATCH 4/4] Bump version to 1.16.0.2 --- .../Ringhel.Procesio.Action.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj index 0471fcb..841a08a 100644 --- a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj +++ b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj @@ -7,7 +7,7 @@ Ringhel Procesio https://github.com/PROCESIO/Action-Core.git - 1.16.0.1 + 1.16.0.2 Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core