Skip to content

Commit d13b3e4

Browse files
author
Meerow
authored
Update the Atoms nuget to version 2.0.2
Update the Atoms nuget to version 2.0.2
2 parents ac4fc5f + e497c59 commit d13b3e4

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

src/Yaapii.Zip/Yaapii.Zip.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="DotNetZip" Version="1.13.3" />
13-
<PackageReference Include="Yaapii.Atoms" Version="0.29.0" />
14-
<PackageReference Include="Yaapii.Xml" Version="0.16.0" />
13+
<PackageReference Include="Yaapii.Atoms" Version="2.0.2" />
14+
<PackageReference Include="Yaapii.Xml" Version="1.0.0" />
1515
</ItemGroup>
1616

1717
</Project>

src/Yaapii.Zip/ZipContains.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ public ZipContains(IInput zip, IEnumerable<string> paths) : this(zip, true, path
2525
/// Checks whether a specific path exists in a zip or not.
2626
/// The path can either be a file or a directory.
2727
/// </summary>
28-
public ZipContains(IInput zip, params string[] paths) : this(zip, true, new EnumerableOf<string>(paths))
28+
public ZipContains(IInput zip, params string[] paths) : this(zip, true, new ManyOf<string>(paths))
2929
{ }
3030

3131
/// <summary>
3232
/// Checks whether a specific path exists in a zip or not.
3333
/// The path can either be a file or a directory.
3434
/// </summary>
35-
public ZipContains(IInput zip, bool leaveOpen, params string[] paths) : this(zip, leaveOpen, new EnumerableOf<string>(paths))
35+
public ZipContains(IInput zip, bool leaveOpen, params string[] paths) : this(zip, leaveOpen, new ManyOf<string>(paths))
3636
{ }
3737

3838
/// <summary>

src/Yaapii.Zip/ZipMapped.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public sealed class ZipMapped : IInput
2323
public ZipMapped(Func<string, string> mapPath, IInput zip, bool leaveOpen = true)
2424
{
2525
this.input =
26-
new Sticky<Stream>(() =>
26+
new ScalarOf<Stream>(() =>
2727
{
2828
lock (zip)
2929
{

src/Yaapii.Zip/ZipPaths.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public ZipPaths(IInput input, bool leaveOpen = true)
3131
var inputStream = input.Stream();
3232
inputStream.Seek(0, SeekOrigin.Begin);
3333
inputStream.Flush();
34-
IEnumerable<string> files = new EnumerableOf<string>();
35-
if(inputStream.Length > 0)
34+
IEnumerable<string> files = new ManyOf<string>();
35+
if (inputStream.Length > 0)
3636
{
3737
using (var zip = new ZipArchive(inputStream, ZipArchiveMode.Read, leaveOpen))
3838
{

src/Yaapii.Zip/ZipWithPassword.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public sealed class ZipWithPassword : IInput
1717
/// A Zip which input is saved with a password
1818
/// </summary>
1919
public ZipWithPassword(string name, string password, IInput origin) : this(
20-
new Sticky<IInput>(() =>
20+
new ScalarOf<IInput>(() =>
2121
{
2222
IInput output;
2323
using (var stream = new MemoryStream())

src/Yaapii.Zip/ZipWithout.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public ZipWithout(string pathToRemove, IInput input, bool leaveOpen = true) : th
3131
/// </summary>
3232
public ZipWithout(string pathToRemove, IScalar<Stream> zip, bool leaveOpen)
3333
{
34-
this.zip = new Sticky<Stream>(() =>
34+
this.zip = new ScalarOf<Stream>(() =>
3535
{
3636
lock (zip.Value())
3737
{

src/Yaapii.Zip/Zipped.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public Zipped(string path, IInput content) : this(new KeyValuePair<string, IInpu
2525
/// Contents zipped.
2626
/// </summary>
2727
/// <param name="contents">contents in format 'virtualPath=data'</param>
28-
public Zipped(params KeyValuePair<string, IInput>[] contents) : this(new EnumerableOf<KeyValuePair<string, IInput>>(contents))
28+
public Zipped(params KeyValuePair<string, IInput>[] contents) : this(new ManyOf<KeyValuePair<string, IInput>>(contents))
2929
{ }
3030

3131
/// <summary>

tests/Test.Yaapii.Zip/Test.Yaapii.Zip.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
<PrivateAssets>all</PrivateAssets>
4545
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
4646
</PackageReference>
47-
<PackageReference Include="Yaapii.Atoms" Version="0.29.0" />
48-
<PackageReference Include="Yaapii.Xml" Version="0.16.0" />
47+
<PackageReference Include="Yaapii.Atoms" Version="2.0.2" />
48+
<PackageReference Include="Yaapii.Xml" Version="1.0.0" />
4949
</ItemGroup>
5050

5151
</Project>

0 commit comments

Comments
 (0)