Skip to content

Commit

Permalink
chore: start work on v0.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
erdos committed Nov 15, 2023
1 parent 311b5c6 commit abe38a5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 40 deletions.
32 changes: 0 additions & 32 deletions java-src/io/github/erdos/stencil/impl/Logging.java

This file was deleted.

5 changes: 0 additions & 5 deletions java-src/io/github/erdos/stencil/impl/NativeEvaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
import java.util.HashMap;
import java.util.Map;
import java.util.function.Consumer;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import static io.github.erdos.stencil.impl.Logging.debugStopWatch;
import static java.util.Collections.emptyList;

/**
Expand Down Expand Up @@ -46,9 +44,6 @@ public EvaluatedDocument render(PreparedTemplate template, Map<String, PreparedF
throw new IllegalArgumentException("Template data is missing!");
}

final Consumer<Supplier<String>> stopwatch = debugStopWatch(LOGGER);
stopwatch.accept(() -> "Starting document rendering for template " + template.getTemplateFile());

final IFn fn = ClojureHelper.findFunction("eval-template");
final Object argsMap = makeArgsMap(template.getSecretObject(), fragments, data.getData());

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject io.github.erdos/stencil-core "0.5.7"
(defproject io.github.erdos/stencil-core "0.5.8-SNAPSHOT"
:url "https://github.com/erdos/stencil"
:description "Templating engine for office documents."
:license {:name "Eclipse Public License - v 2.0"
Expand Down
4 changes: 2 additions & 2 deletions service/project.clj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(defproject io.github.erdos/stencil-service "0.5.7"
(defproject io.github.erdos/stencil-service "0.5.8-SNAPSHOT"
:description "Web service for the Stencil templating engine"
:url "https://github.com/erdos/stencil"
:license {:name "Eclipse Public License - v 2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.11.1"]
[io.github.erdos/stencil-core "0.5.7"]
[io.github.erdos/stencil-core "0.5.8-SNAPSHOT"]
[org.slf4j/slf4j-api "2.0.0-alpha7"]
[org.mozilla/rhino-engine "1.7.14"]
[http-kit "2.5.0"]
Expand Down

0 comments on commit abe38a5

Please sign in to comment.