Skip to content

Commit 8e0a2f1

Browse files
committed
v4.1.0
1 parent 3aec1d4 commit 8e0a2f1

File tree

20 files changed

+35
-30
lines changed

20 files changed

+35
-30
lines changed

handlebars-guava-cache/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.github.jknack</groupId>
77
<artifactId>handlebars.java</artifactId>
8-
<version>4.1.0-SNAPSHOT</version>
8+
<version>4.1.0</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>

handlebars-helpers/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.github.jknack</groupId>
66
<artifactId>handlebars.java</artifactId>
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
</parent>
99

1010
<modelVersion>4.0.0</modelVersion>

handlebars-helpers/src/main/java/com/github/jknack/handlebars/helper/JodaHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Handlebars Helper for JodaTime ReadableInstance objects.
3131
*
32-
* @author @mrhanlon https://github.com/mrhanlon
32+
* @author mrhanlon
3333
*/
3434
public enum JodaHelper implements Helper<ReadableInstant> {
3535

handlebars-helpers/src/main/java/com/github/jknack/handlebars/helper/NumberHelper.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ public enum NumberHelper implements Helper<Object> {
3636
* You can use the isEven helper to return a value only if the first argument
3737
* is even. Otherwise return null.
3838
*
39+
* <pre>{@code
3940
* <li class="{{isEven value "leftBox"}}">
40-
*
41+
* }</pre>
4142
* If value is 2, the output will be "leftBox".
4243
*
4344
*/
@@ -52,8 +53,9 @@ public CharSequence safeApply(final Number value, final Options options) {
5253
* You can use the isOdd helper to return a value only if the first argument
5354
* is odd. Otherwise return null.
5455
*
56+
* <pre>{@code
5557
* <li class="{{isOdd value "rightBox"}}">
56-
*
58+
* }</pre>
5759
* If value is 3, the output will be "rightBox".
5860
*
5961
*/
@@ -68,8 +70,9 @@ public CharSequence safeApply(final Number value, final Options options) {
6870
* You can use the stripes helper to return different value if the passed
6971
* argument is odd or even.
7072
*
73+
* <pre>{@code
7174
* <tr class="{{stripes value "row-even" "row-odd"}}">
72-
*
75+
* }</pre>
7376
* If value is 2, the output will be "row-even".
7477
*
7578
*/

handlebars-humanize/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.github.jknack</groupId>
66
<artifactId>handlebars.java</artifactId>
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
</parent>
99

1010
<modelVersion>4.0.0</modelVersion>

handlebars-humanize/src/main/java/com/github/jknack/handlebars/HumanizeHelper.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public Object apply(final Object value, final Options options)
235235
* <p>
236236
* Constructs a message with pluralization logic from the given template.
237237
* </p>
238-
* <h5>Examples:</h5>
238+
* Examples:
239239
*
240240
* <pre>
241241
* MessageFormat msg =
@@ -274,7 +274,7 @@ public Object apply(final Object value, final Options options)
274274
* {{pluralize "pattern" arg0, arg1, ..., argn [locale="default"]}}
275275
* </pre>
276276
*
277-
* @see Humanize#pluralize(String, Locale)
277+
* @see Humanize#pluralizeFormat(String, Locale)
278278
*/
279279
pluralize {
280280
@Override
@@ -289,6 +289,7 @@ public Object apply(final Object value, final Options options)
289289
* <p>
290290
* Transforms a text into a representation suitable to be used in an URL.
291291
* </p>
292+
* <pre>{@code
292293
* <table border="0" cellspacing="0" cellpadding="3" width="100%">
293294
* <tr>
294295
* <th class="colFirst">Input</th>
@@ -303,6 +304,7 @@ public Object apply(final Object value, final Options options)
303304
* <td>"lo-siento-no-hablo-espanol"</td>
304305
* </tr>
305306
* </table>
307+
* }</pre>
306308
*
307309
* <pre>
308310
* {{slugify string}}

handlebars-jackson2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.github.jknack</groupId>
66
<artifactId>handlebars.java</artifactId>
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
</parent>
99

1010
<modelVersion>4.0.0</modelVersion>

handlebars-markdown/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.github.jknack</groupId>
66
<artifactId>handlebars.java</artifactId>
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
</parent>
99

1010
<modelVersion>4.0.0</modelVersion>

handlebars-markdown/src/main/java/com/github/jknack/handlebars/MarkdownHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public class MarkdownHelper implements Helper<Object> {
3131

3232
/**
33-
* A singleton version of {@link Jackson2Helper}.
33+
* A singleton version of {@link MarkdownHelper}.
3434
*/
3535
public static final Helper<Object> INSTANCE = new MarkdownHelper();
3636

handlebars-maven-plugin-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.github.jknack</groupId>
66
<artifactId>handlebars.java</artifactId>
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
</parent>
99

1010
<modelVersion>4.0.0</modelVersion>

0 commit comments

Comments
 (0)