Blob Blame History Raw
From 931a5a4a9da8dc059667c45764dd78e141e86b74 Mon Sep 17 00:00:00 2001
From: Link Dupont <link@sub-pop.net>
Date: Fri, 24 May 2024 12:36:47 -0400
Subject: [PATCH] Update astral version

The astral package import path changed to
github.com/sj14/astral/pkg/astral.
---
 go.mod       |  4 ++--
 go.sum       | 10 ++++++++++
 scheduler.go |  2 +-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
index 721bd78..7ff4c62 100644
--- a/go.mod
+++ b/go.mod
@@ -7,7 +7,7 @@ require (
 	github.com/godbus/dbus/v5 v5.0.4
 	github.com/integrii/flaggy v1.5.2
 	github.com/kr/pretty v0.2.0 // indirect
-	github.com/sj14/astral v0.1.2
+	github.com/sj14/astral v0.2.1
 	gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
-	gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
+	gopkg.in/yaml.v3 v3.0.1
 )
diff --git a/go.sum b/go.sum
index 41f0be7..0c6394f 100644
--- a/go.sum
+++ b/go.sum
@@ -19,9 +19,18 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 github.com/sj14/astral v0.1.2 h1:mpOy6tGCeaV+yw0lYswzPCweyt9CpW75aH3H7P1SLpc=
 github.com/sj14/astral v0.1.2/go.mod h1:luQF9QWvrnU1gHUYb7EFMeavJpWtL2WonW2cAoYP+CQ=
+github.com/sj14/astral v0.2.1 h1:x2h0kDlKuPks2ggE2k0uvWrGRwYtSSirxFdTicBB+Mk=
+github.com/sj14/astral v0.2.1/go.mod h1:91hL5qjYc3itIHP/z9xcMAE9QAGPnVFFpx72ddDf1Yw=
 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
 github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
 github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
@@ -29,3 +38,4 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8
 gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/scheduler.go b/scheduler.go
index 767d928..b5bb54a 100644
--- a/scheduler.go
+++ b/scheduler.go
@@ -5,7 +5,7 @@ import (
 	"log"
 	"time"
 
-	"github.com/sj14/astral"
+	"github.com/sj14/astral/pkg/astral"
 
 	"gitlab.com/WhyNotHugo/darkman/boottimer"
 	"gitlab.com/WhyNotHugo/darkman/geoclue"
-- 
2.39.3 (Apple Git-146)