diff --git a/handlebars-guava-cache/pom.xml b/handlebars-guava-cache/pom.xml index d0ae114ff..a78e0012e 100644 --- a/handlebars-guava-cache/pom.xml +++ b/handlebars-guava-cache/pom.xml @@ -5,7 +5,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-helpers/pom.xml b/handlebars-helpers/pom.xml index 3e18af857..e3c64c8d4 100644 --- a/handlebars-helpers/pom.xml +++ b/handlebars-helpers/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-humanize/pom.xml b/handlebars-humanize/pom.xml index cf0ad7c65..98963b996 100644 --- a/handlebars-humanize/pom.xml +++ b/handlebars-humanize/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-jackson2/pom.xml b/handlebars-jackson2/pom.xml index 6bd7f3a3f..c547fc137 100644 --- a/handlebars-jackson2/pom.xml +++ b/handlebars-jackson2/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-json/pom.xml b/handlebars-json/pom.xml index 71b0ab170..92a1ffda3 100644 --- a/handlebars-json/pom.xml +++ b/handlebars-json/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-markdown/pom.xml b/handlebars-markdown/pom.xml index c06cdac54..7ad6a34ac 100644 --- a/handlebars-markdown/pom.xml +++ b/handlebars-markdown/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-maven-plugin-tests/pom.xml b/handlebars-maven-plugin-tests/pom.xml index d5669825e..9bcf3ab40 100644 --- a/handlebars-maven-plugin-tests/pom.xml +++ b/handlebars-maven-plugin-tests/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-maven-plugin/pom.xml b/handlebars-maven-plugin/pom.xml index e3bed6aca..a229e7e98 100644 --- a/handlebars-maven-plugin/pom.xml +++ b/handlebars-maven-plugin/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-proto/pom.xml b/handlebars-proto/pom.xml index b61f34fe2..d98cdfaee 100644 --- a/handlebars-proto/pom.xml +++ b/handlebars-proto/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars-springmvc/pom.xml b/handlebars-springmvc/pom.xml index 1fcb42baf..44750c624 100644 --- a/handlebars-springmvc/pom.xml +++ b/handlebars-springmvc/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars/pom.xml b/handlebars/pom.xml index 7fed2aaad..a02a47c5b 100644 --- a/handlebars/pom.xml +++ b/handlebars/pom.xml @@ -5,7 +5,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/handlebars/src/main/java/com/github/jknack/handlebars/helper/EachHelper.java b/handlebars/src/main/java/com/github/jknack/handlebars/helper/EachHelper.java index 8a75b439e..c968521b5 100644 --- a/handlebars/src/main/java/com/github/jknack/handlebars/helper/EachHelper.java +++ b/handlebars/src/main/java/com/github/jknack/handlebars/helper/EachHelper.java @@ -101,7 +101,7 @@ private CharSequence iterableContext(final Iterable context, final Optio buffer.append(options.inverse()); } else { Iterator iterator = context.iterator(); - int base = options.hash("base", 0); + int base = ((Number) options.hash("base", 0)).intValue(); int index = base; Context parent = options.context; while (iterator.hasNext()) { diff --git a/integration-tests/handlebars-without-rhino/pom.xml b/integration-tests/handlebars-without-rhino/pom.xml index e2fe06ace..cad5b9792 100644 --- a/integration-tests/handlebars-without-rhino/pom.xml +++ b/integration-tests/handlebars-without-rhino/pom.xml @@ -4,7 +4,7 @@ com.github.jknack integration-tests - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index f76305f86..04493d056 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -4,7 +4,7 @@ com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 4.0.0 diff --git a/pom.xml b/pom.xml index 71d92e472..c64fb1100 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.github.jknack handlebars.java - 3.0.0-SNAPSHOT + 2.3.2 pom Handlebars.java