Skip to content

Commit

Permalink
dependency upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
travisstom committed Dec 15, 2022
1 parent 81c2f11 commit a0029ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions project.clj
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"]])
6 changes: 4 additions & 2 deletions src/chronology/utils.clj
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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?]
Expand Down

0 comments on commit a0029ac

Please sign in to comment.