Skip to content

Commit

Permalink
Update NuGet packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Nov 14, 2023
1 parent 107899a commit 05870ae
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
12 changes: 6 additions & 6 deletions LightBulb.Core.Tests/LightBulb.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.0" PrivateAssets="all" />
<PackageReference Include="CSharpier.MsBuild" Version="0.25.0" PrivateAssets="all" />
<PackageReference Include="FluentAssertions" Version="6.11.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0" PrivateAssets="all" />
<PackageReference Include="CSharpier.MsBuild" Version="0.26.1" PrivateAssets="all" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions LightBulb.Core.Tests/LocationSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ SolarTimes expectedSolarTimes
var solarTimes = SolarTimes.Calculate(location, instant);

// Assert
solarTimes.Sunrise
solarTimes
.Sunrise
.ToTimeSpan()
.Should()
.BeCloseTo(expectedSolarTimes.Sunrise.ToTimeSpan(), TimeSpan.FromMinutes(3));

solarTimes.Sunset
solarTimes
.Sunset
.ToTimeSpan()
.Should()
.BeCloseTo(expectedSolarTimes.Sunset.ToTimeSpan(), TimeSpan.FromMinutes(3));
Expand Down
2 changes: 1 addition & 1 deletion LightBulb.Core/LightBulb.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="CSharpier.MsBuild" Version="0.25.0" PrivateAssets="all" />
<PackageReference Include="CSharpier.MsBuild" Version="0.26.1" PrivateAssets="all" />
<PackageReference Include="JsonExtensions" Version="1.2.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion LightBulb.WindowsApi/LightBulb.WindowsApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CSharpier.MsBuild" Version="0.25.0" PrivateAssets="all" />
<PackageReference Include="CSharpier.MsBuild" Version="0.26.1" PrivateAssets="all" />
<PackageReference Include="System.Reactive" Version="6.0.0" />
</ItemGroup>

Expand Down
1 change: 0 additions & 1 deletion LightBulb/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Stylet;
using StyletIoC;
using MessageBoxViewModel = LightBulb.ViewModels.Dialogs.MessageBoxViewModel;

#if !DEBUG
using System;
using System.Windows;
Expand Down
6 changes: 3 additions & 3 deletions LightBulb/LightBulb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cogwheel" Version="2.0.3" />
<PackageReference Include="CSharpier.MsBuild" Version="0.25.0" PrivateAssets="all" />
<PackageReference Include="Cogwheel" Version="2.0.4" />
<PackageReference Include="CSharpier.MsBuild" Version="0.26.1" PrivateAssets="all" />
<PackageReference Include="Deorcify" Version="1.0.2" PrivateAssets="all" />
<PackageReference Include="DotnetRuntimeBootstrapper" Version="2.5.1" PrivateAssets="all" />
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="1.1.0" />
<PackageReference Include="MaterialDesignColors" Version="2.1.4" />
<PackageReference Include="MaterialDesignThemes" Version="4.9.0" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.77" />
<PackageReference Include="Onova" Version="2.6.10" />
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" PrivateAssets="all" />
<PackageReference Include="Stylet" Version="1.3.6" />
Expand Down
6 changes: 3 additions & 3 deletions LightBulb/ViewModels/Components/DashboardViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ bool IsPausedByFullScreen() =>
bool IsPausedByWhitelistedApplication() =>
_settingsService.IsApplicationWhitelistEnabled
&& _settingsService.WhitelistedApplications is not null
&& _settingsService.WhitelistedApplications.Contains(
_externalApplicationService.TryGetForegroundApplication()
);
&& _settingsService
.WhitelistedApplications
.Contains(_externalApplicationService.TryGetForegroundApplication());

IsPaused = IsPausedByFullScreen() || IsPausedByWhitelistedApplication();
}
Expand Down

0 comments on commit 05870ae

Please sign in to comment.