Skip to content

Commit 2799daa

Browse files
author
Meerow
authored
refactor: use atoms 0.26.0
refactor: use atoms 0.26.0
2 parents ff940f5 + 4b85020 commit 2799daa

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

src/Yaapii.Zip/Yaapii.Zip.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Yaapii.Atoms" Version="0.24.0" />
12+
<PackageReference Include="Yaapii.Atoms" Version="0.26.0" />
13+
<PackageReference Include="Yaapii.Xml" Version="0.16.0" />
1314
</ItemGroup>
1415

1516
</Project>

src/Yaapii.Zip/ZipFiles.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public sealed class ZipFiles : IEnumerable<string>
2626
public ZipFiles(IInput input, bool leaveOpen = true)
2727
{
2828
this.files =
29-
new SolidScalar<IEnumerable<string>>(()=>
29+
new Solid<IEnumerable<string>>(()=>
3030
new Filtered<string>(path =>
3131
!path.EndsWith("/"),
3232
new ZipPaths(input)

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 StickyScalar<Stream>(() =>
26+
new Sticky<Stream>(() =>
2727
{
2828
lock (zip)
2929
{

src/Yaapii.Zip/ZipPaths.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public sealed class ZipPaths : IEnumerable<string>
2424
public ZipPaths(IInput input, bool leaveOpen = true)
2525
{
2626
this.files =
27-
new SolidScalar<IEnumerable<string>>(() =>
27+
new Solid<IEnumerable<string>>(() =>
2828
{
2929
lock (input.Stream())
3030
{

src/Yaapii.Zip/ZipUpdated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public ZipUpdated(IInput input, string pathToUpdate, IInput update, bool leaveOp
3232
/// </summary>
3333
public ZipUpdated(IScalar<Stream> zip, string pathToUpdate, IInput update, bool leaveOpen)
3434
{
35-
this.zip = new SolidScalar<Stream>(() =>
35+
this.zip = new Solid<Stream>(() =>
3636
{
3737
lock (zip.Value())
3838
{

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 StickyScalar<Stream>(() =>
34+
this.zip = new Sticky<Stream>(() =>
3535
{
3636
lock (zip.Value())
3737
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
<PrivateAssets>all</PrivateAssets>
3131
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3232
</PackageReference>
33-
<PackageReference Include="Yaapii.Atoms" Version="0.24.0" />
34-
<PackageReference Include="Yaapii.Xml" Version="0.14.0" />
33+
<PackageReference Include="Yaapii.Atoms" Version="0.26.0" />
34+
<PackageReference Include="Yaapii.Xml" Version="0.16.0" />
3535
</ItemGroup>
3636

3737
</Project>

0 commit comments

Comments
 (0)