From a0029ac7c3c49f5d564c46a7f1e7f4fbd9a45e6f Mon Sep 17 00:00:00 2001 From: travisstom Date: Thu, 15 Dec 2022 12:11:07 -0500 Subject: [PATCH] dependency upgrades --- project.clj | 12 ++++++------ src/chronology/utils.clj | 6 ++++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/project.clj b/project.clj index b22add1..9e2192a 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.vodori/chronology "0.1.2-SNAPSHOT" +(defproject com.vodori/chronology "0.1.2" :description "A lightweight task scheduler and cron utilities" :url @@ -27,8 +27,8 @@ {"releases" {:url "https://oss.sonatype.org/service/local/staging/deploy/maven2/" :creds :gpg} "snapshots" {:url "https://oss.sonatype.org/content/repositories/snapshots/" :creds :gpg}} - :dependencies [[org.clojure/clojure "1.10.0"] - [org.clojure/core.async "0.4.490"] - [com.cronutils/cron-utils "7.0.5"] - [jarohen/chime "0.2.2"] - [clj-time "0.14.4"]]) + :dependencies [[org.clojure/clojure "1.11.1"] + [org.clojure/core.async "1.6.673"] + [com.cronutils/cron-utils "9.2.0"] + [jarohen/chime "0.3.3"] + [clj-time "0.15.2"]]) diff --git a/src/chronology/utils.clj b/src/chronology/utils.clj index 9cef895..33c8690 100644 --- a/src/chronology/utils.clj +++ b/src/chronology/utils.clj @@ -1,7 +1,9 @@ (ns chronology.utils (:require [clojure.core.async :as async] [clj-time.core :as time] - [chime :as chime]) + [chime.core-async :as chime-async] + ;Chime now uses java.time (:require chime.joda-time) to preserve backward compatibility + [chime.joda-time]) (:import (com.cronutils.model.time ExecutionTime) (java.time ZonedDateTime) (org.joda.time DateTime DateTimeZone) @@ -24,7 +26,7 @@ (defn- time-sequence->ticker [cron-sequence] (let [buffered (async/chan (async/sliding-buffer 1))] - (chime/chime-ch cron-sequence buffered))) + (chime-async/chime-ch cron-sequence buffered))) (defn- cron-sequence [start expression forward?]