Skip to content

Commit

Permalink
feat: bump to latest futurama
Browse files Browse the repository at this point in the history
  • Loading branch information
k13gomez committed Dec 20, 2024
1 parent 2b862c2 commit 275c346
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
This is a history of changes to k13labs/clara-rules.

# 1.4.5
* upgrade to latest futurama, replace uses of instance-satisfies? with satisfies?

# 1.4.4
* ensure read-only sessions do not contain empty beta memory for nodes without any bindings results (empty queries).

Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:ensure "target/main/classes"}
:deps {org.clojure/clojure {:mvn/version "1.11.4"}
org.clojure/core.cache {:mvn/version "1.1.234"}
com.github.k13labs/futurama {:mvn/version "1.0.4"}
com.github.k13labs/futurama {:mvn/version "1.0.5"}
com.cnuernber/ham-fisted {:mvn/version "2.017"}
prismatic/schema {:mvn/version "1.4.1"}
org.clojure/data.fressian {:mvn/version "1.1.0"}}
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<groupId>com.github.k13labs</groupId>
<artifactId>clara-rules</artifactId>
<name>clara-rules</name>
<version>1.4.4</version>
<version>1.4.5</version>
<scm>
<tag>1.4.4</tag>
<tag>1.4.5</tag>
<url>https://github.com/k13labs/clara-rules</url>
<connection>scm:git:git://github.com/k13labs/clara-rules.git</connection>
<developerConnection>scm:git:ssh://git@github.com/k13labs/clara-rules.git</developerConnection>
Expand Down Expand Up @@ -42,7 +42,7 @@
<dependency>
<groupId>com.github.k13labs</groupId>
<artifactId>futurama</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/clojure/clara/rules/compiler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2135,11 +2135,11 @@
:else nil))

(defn load-source*
"loads the rules, queries and hierarchies from a source if it implements `IClaraSOurce`, or navigates inside
"loads the rules, queries and hierarchies from a source if it implements `IClaraSource`, or navigates inside
collections to recursively load from vectors, lists, sets, seqs."
[source]
(cond
(u/instance-satisfies? IClaraSource source)
(satisfies? IClaraSource source)
(load-source source)

(or (vector? source)
Expand Down

0 comments on commit 275c346

Please sign in to comment.