File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
modules/jooby-pebble/src/main/java/io/jooby/pebble
tests/src/test/java/io/jooby Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,8 @@ PebbleEngine.Builder build(@Nonnull Environment env) {
192192 if (conf .hasPath ("pebble.strictVariables" )) {
193193 builder .strictVariables (conf .getBoolean ("pebble.strictVariables" ));
194194 }
195- if (conf .hasPath ("pebble.allowGetClass " )) {
196- builder .allowGetClass (conf .getBoolean ("pebble.allowGetClass " ));
195+ if (conf .hasPath ("pebble.allowUnsafeMethods " )) {
196+ builder .allowUnsafeMethods (conf .getBoolean ("pebble.allowUnsafeMethods " ));
197197 }
198198 if (conf .hasPath ("pebble.literalDecimalTreatedAsInteger" )) {
199199 builder .literalDecimalTreatedAsInteger (conf .getBoolean ("pebble.literalDecimalTreatedAsInteger" ));
Original file line number Diff line number Diff line change 1919 <!-- Parser and Renderer -->
2020 <freemarker .version>2.3.29</freemarker .version>
2121 <handlebars .version>4.1.2</handlebars .version>
22- <pebble .version>3.1.0 </pebble .version>
22+ <pebble .version>3.1.1 </pebble .version>
2323 <jackson .version>2.10.1</jackson .version>
2424 <jackson-databind .version>2.10.0</jackson-databind .version>
2525 <rocker .version>1.2.2</rocker .version>
3030 <log4jdbc .version>1.2</log4jdbc .version>
3131 <h2 .version>1.4.200</h2 .version>
3232 <hibernate .version>5.4.9.Final</hibernate .version>
33- <jdbi .version>3.11.0 </jdbi .version>
33+ <jdbi .version>3.11.1 </jdbi .version>
3434 <flyway .version>6.0.8</flyway .version>
3535
3636 <config .version>1.4.0</config .version>
5555 <asm .version>7.2</asm .version>
5656
5757 <!-- Server -->
58- <undertow .version>2.0.26 .Final</undertow .version>
59- <jetty .version>9.4.22.v20191022 </jetty .version>
58+ <undertow .version>2.0.28 .Final</undertow .version>
59+ <jetty .version>9.4.24.v20191120 </jetty .version>
6060 <netty .version>4.1.43.Final</netty .version>
6161 <boringssl .version>2.0.27.Final</boringssl .version>
6262
Original file line number Diff line number Diff line change 11package io .jooby ;
22
33import com .fasterxml .jackson .databind .JsonNode ;
4+ import io .jooby .jetty .Jetty ;
45import io .jooby .json .JacksonModule ;
56import io .jooby .junit .ServerTest ;
67import io .jooby .junit .ServerTestRunner ;
78
89import static org .junit .jupiter .api .Assertions .assertEquals ;
910
1011public class WebSocketTest {
11- @ ServerTest
12+ @ ServerTest ( server = Jetty . class )
1213 public void webSocket (ServerTestRunner runner ) {
1314 runner .define (app -> {
1415
You can’t perform that action at this time.
0 commit comments