From 8c907a371d3a3a8547ca5547503e6550a7be1f88 Mon Sep 17 00:00:00 2001 From: Edgar Espina Date: Sat, 29 Apr 2017 11:24:57 -0300 Subject: [PATCH] v1.1.1 --- README.md | 26 ++-- coverage-report/pom.xml | 2 +- jooby-akka/README.md | 2 +- jooby-akka/pom.xml | 2 +- jooby-archetype/pom.xml | 2 +- jooby-assets-autoprefixer/README.md | 6 +- jooby-assets-autoprefixer/pom.xml | 2 +- jooby-assets-babel/README.md | 10 +- jooby-assets-babel/pom.xml | 2 +- jooby-assets-clean-css/README.md | 6 +- jooby-assets-clean-css/pom.xml | 2 +- jooby-assets-closure-compiler/README.md | 6 +- jooby-assets-closure-compiler/pom.xml | 2 +- jooby-assets-csslint/README.md | 6 +- jooby-assets-csslint/pom.xml | 2 +- jooby-assets-j2v8/pom.xml | 2 +- jooby-assets-jscs/README.md | 6 +- jooby-assets-jscs/pom.xml | 2 +- jooby-assets-jshint/README.md | 6 +- jooby-assets-jshint/pom.xml | 2 +- jooby-assets-less/README.md | 6 +- jooby-assets-less/pom.xml | 2 +- jooby-assets-less4j/README.md | 6 +- jooby-assets-less4j/pom.xml | 2 +- jooby-assets-ng-annotate/README.md | 6 +- jooby-assets-ng-annotate/pom.xml | 2 +- jooby-assets-nodejs/pom.xml | 2 +- jooby-assets-react/README.md | 129 ++++++++++++++++++ jooby-assets-react/pom.xml | 2 +- .../src/main/java/org/jooby/assets/React.java | 2 +- jooby-assets-requirejs/README.md | 6 +- jooby-assets-requirejs/pom.xml | 2 +- jooby-assets-rollup/README.md | 114 ++++++++++++---- jooby-assets-rollup/pom.xml | 2 +- jooby-assets-sass/README.md | 4 +- jooby-assets-sass/pom.xml | 2 +- jooby-assets-svg-sprites/README.md | 6 +- jooby-assets-svg-sprites/pom.xml | 2 +- jooby-assets-svg-symbol/README.md | 6 +- jooby-assets-svg-symbol/pom.xml | 2 +- jooby-assets-uglify/README.md | 6 +- jooby-assets-uglify/pom.xml | 2 +- jooby-assets-yui-compressor/README.md | 6 +- jooby-assets-yui-compressor/pom.xml | 2 +- jooby-assets/README.md | 37 ++--- jooby-assets/pom.xml | 2 +- jooby-aws/README.md | 2 +- jooby-aws/pom.xml | 2 +- jooby-banner/README.md | 2 +- jooby-banner/pom.xml | 2 +- jooby-bom/pom.xml | 14 +- jooby-caffeine/README.md | 2 +- jooby-caffeine/pom.xml | 2 +- jooby-camel/README.md | 2 +- jooby-camel/pom.xml | 2 +- jooby-cassandra/README.md | 4 +- jooby-cassandra/pom.xml | 2 +- jooby-commons-email/README.md | 2 +- jooby-commons-email/pom.xml | 2 +- jooby-consul/README.md | 112 +++++++++++++++ jooby-consul/pom.xml | 2 +- .../main/java/org/jooby/consul/Consulby.java | 90 +++++++----- jooby-couchbase/README.md | 4 +- jooby-couchbase/pom.xml | 2 +- jooby-crash/README.md | 2 +- jooby-crash/pom.xml | 2 +- jooby-csl/README.md | 2 +- jooby-csl/pom.xml | 2 +- jooby-dist/pom.xml | 2 +- jooby-ebean/README.md | 12 +- jooby-ebean/pom.xml | 2 +- jooby-ehcache/README.md | 4 +- jooby-ehcache/pom.xml | 2 +- jooby-elasticsearch/README.md | 2 +- jooby-elasticsearch/pom.xml | 2 +- jooby-executor/README.md | 2 +- jooby-executor/pom.xml | 2 +- jooby-filewatcher/README.md | 2 +- jooby-filewatcher/pom.xml | 2 +- jooby-flyway/README.md | 2 +- jooby-flyway/pom.xml | 2 +- jooby-ftl/README.md | 2 +- jooby-ftl/pom.xml | 2 +- jooby-gradle-plugin/README.md | 2 +- jooby-gradle-plugin/pom.xml | 2 +- jooby-gson/README.md | 2 +- jooby-gson/pom.xml | 2 +- jooby-guava-cache/README.md | 4 +- jooby-guava-cache/pom.xml | 2 +- jooby-hazelcast/README.md | 4 +- jooby-hazelcast/pom.xml | 2 +- jooby-hbm/README.md | 2 +- jooby-hbm/pom.xml | 2 +- jooby-hbm4/README.md | 2 +- jooby-hbm4/pom.xml | 2 +- jooby-hbs/README.md | 8 +- jooby-hbs/pom.xml | 2 +- jooby-hbv/README.md | 2 +- jooby-hbv/pom.xml | 2 +- jooby-jackson/README.md | 2 +- jooby-jackson/pom.xml | 2 +- jooby-jade/README.md | 2 +- jooby-jade/pom.xml | 2 +- jooby-jdbc/README.md | 14 +- jooby-jdbc/pom.xml | 2 +- jooby-jdbi/README.md | 2 +- jooby-jdbi/pom.xml | 2 +- jooby-jedis/README.md | 4 +- jooby-jedis/pom.xml | 2 +- jooby-jetty/README.md | 2 +- jooby-jetty/pom.xml | 2 +- jooby-jongo/README.md | 2 +- jooby-jongo/pom.xml | 2 +- jooby-jooq/README.md | 2 +- jooby-jooq/pom.xml | 2 +- jooby-lang-js/README.md | 20 +-- jooby-lang-js/pom.xml | 2 +- jooby-lang-kotlin/README.md | 35 ++--- jooby-lang-kotlin/pom.xml | 2 +- jooby-livereload/README.md | 10 +- jooby-livereload/pom.xml | 2 +- jooby-maven-plugin/README.md | 6 +- jooby-maven-plugin/pom.xml | 2 +- jooby-metrics/README.md | 2 +- jooby-metrics/pom.xml | 2 +- jooby-mongodb-rx/README.md | 2 +- jooby-mongodb-rx/pom.xml | 2 +- jooby-mongodb/README.md | 4 +- jooby-mongodb/pom.xml | 2 +- jooby-morphia/README.md | 2 +- jooby-morphia/pom.xml | 2 +- jooby-netty/README.md | 2 +- jooby-netty/pom.xml | 2 +- jooby-pac4j/README.md | 2 +- jooby-pac4j/pom.xml | 2 +- jooby-pebble/README.md | 2 +- jooby-pebble/pom.xml | 2 +- jooby-quartz/README.md | 2 +- jooby-quartz/pom.xml | 2 +- jooby-querydsl/README.md | 2 +- jooby-querydsl/pom.xml | 2 +- jooby-raml/README.md | 2 +- jooby-raml/pom.xml | 2 +- jooby-reactor/README.md | 2 +- jooby-reactor/pom.xml | 2 +- jooby-requery/README.md | 10 +- jooby-requery/pom.xml | 2 +- jooby-rocker/README.md | 14 +- jooby-rocker/pom.xml | 2 +- jooby-run/pom.xml | 2 +- jooby-rxjava-jdbc/README.md | 2 +- jooby-rxjava-jdbc/pom.xml | 2 +- jooby-rxjava/README.md | 2 +- jooby-rxjava/pom.xml | 2 +- jooby-scanner/README.md | 2 +- jooby-scanner/pom.xml | 2 +- jooby-servlet/README.md | 22 +-- jooby-servlet/pom.xml | 2 +- jooby-sitemap/README.md | 2 +- jooby-sitemap/pom.xml | 2 +- jooby-spec/README.md | 54 ++++---- jooby-spec/pom.xml | 2 +- jooby-spymemcached/README.md | 4 +- jooby-spymemcached/pom.xml | 2 +- jooby-swagger/README.md | 2 +- jooby-swagger/pom.xml | 2 +- jooby-thymeleaf/README.md | 2 +- jooby-thymeleaf/pom.xml | 2 +- jooby-unbescape/README.md | 2 +- jooby-unbescape/pom.xml | 2 +- jooby-undertow/README.md | 2 +- jooby-undertow/pom.xml | 2 +- jooby-whoops/README.md | 2 +- jooby-whoops/pom.xml | 2 +- jooby/pom.xml | 2 +- md/available-asset-procesors.md | 2 + md/doc/assets-rollup/rollup.md | 13 +- md/doc/assets/assets.md | 2 +- md/doc/more/more.md | 3 +- pom.xml | 2 +- 180 files changed, 765 insertions(+), 380 deletions(-) create mode 100644 jooby-assets-react/README.md create mode 100644 jooby-consul/README.md diff --git a/README.md b/README.md index 294836c757..b057ec2632 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ * **Simple, effective and easy to learn**. Ideal for small but also large scale applications. -* **Ready for modern web**, with the awesome and powerful [asset module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) +* **Ready for the modern web**, with the awesome and powerful [asset module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) ## hello world! @@ -91,7 +91,7 @@ quickstart Just paste this into a terminal (make sure [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) and [Maven 3.x](http://maven.apache.org/download.cgi) are installed): ```bash -mvn archetype:generate -B -DgroupId=com.mycompany -DartifactId=my-app -Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=jooby-archetype -DarchetypeGroupId=org.jooby -DarchetypeVersion=1.1.0 +mvn archetype:generate -B -DgroupId=com.mycompany -DartifactId=my-app -Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=jooby-archetype -DarchetypeGroupId=org.jooby -DarchetypeVersion=1.1.1 ``` You might want to edit/change: @@ -106,7 +106,7 @@ You might want to edit/change: Let's try it!: ```bash -mvn archetype:generate -B -DgroupId=com.mycompany -DartifactId=my-app -Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=jooby-archetype -DarchetypeGroupId=org.jooby -DarchetypeVersion=1.1.0 +mvn archetype:generate -B -DgroupId=com.mycompany -DartifactId=my-app -Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=jooby-archetype -DarchetypeGroupId=org.jooby -DarchetypeVersion=1.1.1 cd my-app mvn jooby:run ``` @@ -125,7 +125,7 @@ listening on: http://0.0.0.0:8080/ ``` -**Jooby**! is up and running!!! +**Jooby**! is up and running! getting started ===== @@ -133,7 +133,7 @@ getting started exploring the newly created project ----- -A new directory was created: ```my-app```. Now, let's see how it looks like: +A new directory was created: ```my-app```. Let's see what it looks like: ```bash . @@ -155,11 +155,11 @@ A new directory was created: ```my-app```. Now, let's see how it looks like: └── AppTest.java ``` -The **public** folder contains static files like ```*.html```, ```*.js```, ```*.css```, ..., ```*.png``` files. +The **public** folder contains static content like ```*.html```, ```*.js```, ```*.css```, ..., ```*.png``` files. The **conf** folder contains ```*.conf```. -The **src/main/java** folder contains ```*.java``` (of course) files. +The **src/main/java** folder contains ```*.java``` files (of course). The **src/test/java** folder contains unit and integration tests. @@ -189,7 +189,7 @@ public class App extends Jooby { // 1 Steps involved are: -1) extends Jooby +1) extend Jooby 2) define some routes @@ -198,20 +198,20 @@ Steps involved are: running ----- -Just open a console and type: +Open a console and type: mvn jooby:run -The maven plugin will compile the code (if necessary) and startup the application. +The maven plugin will compile the code (if necessary) and start the application. -Of course, you can generate the IDE metadata from Maven and/or import as a Maven project in your favorite IDE. -Then all you have to do is run the: ```App.java``` class. After all, this is plain Java application with a ```main``` method. +Of course, you can generate the IDE metadata from Maven or import as a Maven project in your favorite IDE. +Afterwards, all you have to do is run the: ```App.java``` class. After all, this is a plain Java application with a ```main``` method. where to go now? ----- * read the [documentation](/doc) -* checkout one of our [starter projects](https://github.com/search?q=topic%3Astarter+org%3Ajooby-project&type=Repositories) +* check out one of the [starter projects](https://github.com/search?q=topic%3Astarter+org%3Ajooby-project&type=Repositories) want to contribute? ===== diff --git a/coverage-report/pom.xml b/coverage-report/pom.xml index dec0c9b4cb..06a26ff861 100644 --- a/coverage-report/pom.xml +++ b/coverage-report/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-akka/README.md b/jooby-akka/README.md index 8621a2293a..aba9761406 100644 --- a/jooby-akka/README.md +++ b/jooby-akka/README.md @@ -11,7 +11,7 @@ Small module to build concurrent & distributed applications via [Akka](http://ak org.jooby jooby-akka - 1.1.0 + 1.1.1 ``` diff --git a/jooby-akka/pom.xml b/jooby-akka/pom.xml index 7be1d44535..10917c5755 100644 --- a/jooby-akka/pom.xml +++ b/jooby-akka/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-archetype/pom.xml b/jooby-archetype/pom.xml index 5e315aa377..fdf223a57b 100644 --- a/jooby-archetype/pom.xml +++ b/jooby-archetype/pom.xml @@ -7,7 +7,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 jooby-archetype diff --git a/jooby-assets-autoprefixer/README.md b/jooby-assets-autoprefixer/README.md index b1eb16f8c2..4a61afd2e9 100644 --- a/jooby-assets-autoprefixer/README.md +++ b/jooby-assets-autoprefixer/README.md @@ -2,7 +2,7 @@ PostCSS plugin to parse CSS and add vendor prefixes to CSS rules using values from Can I Use. It is recommended by Google and used in Twitter, and Taobao. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-auto-prefixer - 1.1.0 + 1.1.1 provided ``` @@ -111,6 +111,8 @@ For complete documentation about available options, please refer to the Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-autoprefixer/pom.xml b/jooby-assets-autoprefixer/pom.xml index ff6f9c1731..7a0cc1fc51 100644 --- a/jooby-assets-autoprefixer/pom.xml +++ b/jooby-assets-autoprefixer/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-babel/README.md b/jooby-assets-babel/README.md index 80989e5364..e6067c6fce 100644 --- a/jooby-assets-babel/README.md +++ b/jooby-assets-babel/README.md @@ -2,7 +2,7 @@ Babel is a JavaScript compiler with a set of ES2015 syntax transformers that allow you to use new syntax, right now without waiting for browser support. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-babel - 1.1.0 + 1.1.1 provided ``` @@ -35,7 +35,7 @@ assets { org.jooby jooby-assets-babel - 1.1.0 + 1.1.1 provided ``` @@ -55,7 +55,7 @@ assets { dev { sourceMaps: inline } - blacklist: [react] + presets: [es2015, react] } } ``` @@ -94,6 +94,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-babel/pom.xml b/jooby-assets-babel/pom.xml index e0251627e6..77d8a00d60 100644 --- a/jooby-assets-babel/pom.xml +++ b/jooby-assets-babel/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-clean-css/README.md b/jooby-assets-clean-css/README.md index 78d91fa57d..a88c30462f 100644 --- a/jooby-assets-clean-css/README.md +++ b/jooby-assets-clean-css/README.md @@ -2,7 +2,7 @@ A fast, efficient, and well tested CSS minifier, via: clean-css -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-clean-css - 1.1.0 + 1.1.1 provided ``` @@ -75,6 +75,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-clean-css/pom.xml b/jooby-assets-clean-css/pom.xml index 744a605637..fe38ef0b18 100644 --- a/jooby-assets-clean-css/pom.xml +++ b/jooby-assets-clean-css/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-closure-compiler/README.md b/jooby-assets-closure-compiler/README.md index 81fa354690..1d77b680be 100644 --- a/jooby-assets-closure-compiler/README.md +++ b/jooby-assets-closure-compiler/README.md @@ -2,7 +2,7 @@ Closure Compiler is a tool for making JavaScript download and run faster. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-closure-compiler - 1.1.0 + 1.1.1 provided ``` @@ -74,6 +74,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-closure-compiler/pom.xml b/jooby-assets-closure-compiler/pom.xml index 3acfa617ed..e848781a8a 100644 --- a/jooby-assets-closure-compiler/pom.xml +++ b/jooby-assets-closure-compiler/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-csslint/README.md b/jooby-assets-csslint/README.md index 53fe6886e3..a389733d55 100644 --- a/jooby-assets-csslint/README.md +++ b/jooby-assets-csslint/README.md @@ -2,7 +2,7 @@ CSSLint automated linting of Cascading Stylesheets. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-csslint - 1.1.0 + 1.1.1 provided ``` @@ -63,6 +63,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-csslint/pom.xml b/jooby-assets-csslint/pom.xml index d911dc299c..2cda7177c0 100644 --- a/jooby-assets-csslint/pom.xml +++ b/jooby-assets-csslint/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-j2v8/pom.xml b/jooby-assets-j2v8/pom.xml index 23461f87df..c9953e48d5 100644 --- a/jooby-assets-j2v8/pom.xml +++ b/jooby-assets-j2v8/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-jscs/README.md b/jooby-assets-jscs/README.md index 3926da6163..b800f8a96e 100644 --- a/jooby-assets-jscs/README.md +++ b/jooby-assets-jscs/README.md @@ -2,7 +2,7 @@ JavaScript Code Style checker. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-jscs - 1.1.0 + 1.1.1 provided ``` @@ -86,6 +86,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-jscs/pom.xml b/jooby-assets-jscs/pom.xml index 4c217b0ba3..dc0b5c3960 100644 --- a/jooby-assets-jscs/pom.xml +++ b/jooby-assets-jscs/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-jshint/README.md b/jooby-assets-jshint/README.md index c768fb8500..560ea91fbe 100644 --- a/jooby-assets-jshint/README.md +++ b/jooby-assets-jshint/README.md @@ -2,7 +2,7 @@ JSHint, helps to detect errors and potential problems in code. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-jshint - 1.1.0 + 1.1.1 provided ``` @@ -88,6 +88,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-jshint/pom.xml b/jooby-assets-jshint/pom.xml index bfd3a7b2b7..df1015e7a8 100644 --- a/jooby-assets-jshint/pom.xml +++ b/jooby-assets-jshint/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-less/README.md b/jooby-assets-less/README.md index 8bae84d714..d53629450e 100644 --- a/jooby-assets-less/README.md +++ b/jooby-assets-less/README.md @@ -2,7 +2,7 @@ Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-less - 1.1.0 + 1.1.1 provided ``` @@ -84,6 +84,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-less/pom.xml b/jooby-assets-less/pom.xml index 6bd90b3473..9c81c28a9e 100644 --- a/jooby-assets-less/pom.xml +++ b/jooby-assets-less/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-less4j/README.md b/jooby-assets-less4j/README.md index 97c49f6011..3e5ba000a0 100644 --- a/jooby-assets-less4j/README.md +++ b/jooby-assets-less4j/README.md @@ -2,7 +2,7 @@ Less4j is a port of Less written in Java. Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-less4j - 1.1.0 + 1.1.1 provided ``` @@ -82,6 +82,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-less4j/pom.xml b/jooby-assets-less4j/pom.xml index 144502a7ab..632aa49220 100644 --- a/jooby-assets-less4j/pom.xml +++ b/jooby-assets-less4j/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-ng-annotate/README.md b/jooby-assets-ng-annotate/README.md index b758658b33..30c42d3548 100644 --- a/jooby-assets-ng-annotate/README.md +++ b/jooby-assets-ng-annotate/README.md @@ -2,7 +2,7 @@ ng-annotate add, remove and rebuild AngularJS dependency injection annotations. -Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! ## dependency @@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project org.jooby jooby-assets-ng-annotate - 1.1.0 + 1.1.1 provided ``` @@ -75,6 +75,8 @@ assets { * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/jooby-assets-ng-annotate/pom.xml b/jooby-assets-ng-annotate/pom.xml index fff080a81a..8de18366b0 100644 --- a/jooby-assets-ng-annotate/pom.xml +++ b/jooby-assets-ng-annotate/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-nodejs/pom.xml b/jooby-assets-nodejs/pom.xml index 374a45a3e1..d48b9d0cdf 100644 --- a/jooby-assets-nodejs/pom.xml +++ b/jooby-assets-nodejs/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-react/README.md b/jooby-assets-react/README.md new file mode 100644 index 0000000000..e6f6a5deda --- /dev/null +++ b/jooby-assets-react/README.md @@ -0,0 +1,129 @@ +# react + +Write React applications easily in the JVM. + +Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project! + +## dependency + +```xml + + org.jooby + jooby-react + 1.1.1 + provided + +``` + +## usage + +Download react.js and react-dom.js into ```public/js/lib``` folder. + +Then add the react processor to ```conf/assets.conf```: + +``` +assets { + fileset { + + index: index.js + } + + pipeline { + + dev: [react] + dist: [react] + } + +} +``` + +Write some react code ```public/js/index.js```: + +```java + import React from 'react'; + import ReactDOM from 'react-dom'; + + const Hello = () => ( +

Hello React

+ ) + + ReactDOM.render(, document.getElementById('root')); +``` + +Choose one of the available template engines add the ```index.js``` to the page: + +```java + + + +
+ {{ index_scripts | raw}} + + +``` + +The ```{{ index_scripts | raw}}``` here is pebble expression. Open an browser and try it. + +## how it works? + +This module give you a ready to use react environment with: ```ES6``` and ```JSX``` support via babel.js and rollup.js. + +You don't need to install ```node.js```, ```npm```, ... nothing, babel.js and rollup.js run on top of j2v8 as part of the JVM process. + +## options + +### react-router + +Just drop the react-router-dom.js into the ```public/js/lib``` folder and use it. + +### rollup + +It supports all the option of rollup.js processor. + +# see also + +## css processors + +* [autoprefixer](https://github.com/jooby-project/jooby/tree/master/jooby-assets-autoprefixer): parse CSS and add vendor prefixes to CSS rules via [autoprefixer](https://github.com/postcss/autoprefixer). + +* [props](https://github.com/jooby-project/jooby/tree/master/jooby-assets-props): replace application properties in CSS files. + +* [clean-css](https://github.com/jooby-project/jooby/tree/master/jooby-assets-clean-css): minify css. + +* [csslint](https://github.com/jooby-project/jooby/tree/master/jooby-assets-csslint): check and validate css rules. + +* [less4j](https://github.com/jooby-project/jooby/tree/master/jooby-assets-less4j): Less support from [less4j](https://github.com/SomMeri/less4j). + +* [less](https://github.com/jooby-project/jooby/tree/master/jooby-assets-less): Less support from [less.js](http://lesscss.org). + +* [sass](https://github.com/jooby-project/jooby/tree/master/jooby-assets-sass): Sass support from Java Sass Compiler (libsass). + +* [svg-sprites](https://github.com/jooby-project/jooby/tree/master/jooby-assets-svg-sprites): Generates SVG and CSS sprites with PNG fallbacks via [dr-svg-sprites](https://github.com/drdk/dr-svg-sprites). + +* [svg-symbol](https://github.com/jooby-project/jooby/tree/master/jooby-assets-svg-symbol): Generates SVG and CSS sprites using svg `symbols`. + +* [yui-css](https://github.com/jooby-project/jooby/tree/master/jooby-assets-yui-compressor): YUI CSS optimizer. + +## js processors + +* [props](https://github.com/jooby-project/jooby/tree/master/jooby-assets-props): replace application properties in JavaScript files. + +* [jscs](https://github.com/jooby-project/jooby/tree/master/jooby-assets-jscs): JavaScript code style checker. + +* [jshint](https://github.com/jooby-project/jooby/tree/master/jooby-assets-jshint): JavaScript linter, helps to detect errors and potential problems in code.. + +* [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. + +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + +* [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. + +* [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. + +* [closure-compiler](https://github.com/jooby-project/jooby/tree/master/jooby-assets-closure-compiler): Google JavaScript optimizer and minifier. + +* [uglify](https://github.com/jooby-project/jooby/tree/master/jooby-assets-uglify): uglify.js optimizer. + +* [requirejs](https://github.com/jooby-project/jooby/tree/master/jooby-assets-requirejs): r.js optimizer. + +* [yui-js](https://github.com/jooby-project/jooby/tree/master/jooby-assets-yui-compressor#yui-js): YUI JS optimizer. diff --git a/jooby-assets-react/pom.xml b/jooby-assets-react/pom.xml index 58aea1a60b..9cceae3e7b 100644 --- a/jooby-assets-react/pom.xml +++ b/jooby-assets-react/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-assets-react/src/main/java/org/jooby/assets/React.java b/jooby-assets-react/src/main/java/org/jooby/assets/React.java index 940bfd04ba..fb0055cccf 100644 --- a/jooby-assets-react/src/main/java/org/jooby/assets/React.java +++ b/jooby-assets-react/src/main/java/org/jooby/assets/React.java @@ -85,7 +85,7 @@ *

* Choose one of the available * template engines add the - * index.js to the page: + * index.js to the page: * *

{@code
  *   
diff --git a/jooby-assets-requirejs/README.md b/jooby-assets-requirejs/README.md
index fb0067ad69..43fc3d8bff 100644
--- a/jooby-assets-requirejs/README.md
+++ b/jooby-assets-requirejs/README.md
@@ -2,7 +2,7 @@
 
 require.js optimizer resolve and optimize require.js files.
 
-Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
+Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
 
 ## dependency
 
@@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project
 
   org.jooby
   jooby-assets-requirejs
-  1.1.0
+  1.1.1
   provided
 
 ```
@@ -77,6 +77,8 @@ assets {
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-requirejs/pom.xml b/jooby-assets-requirejs/pom.xml
index cac3138b6c..8992336880 100644
--- a/jooby-assets-requirejs/pom.xml
+++ b/jooby-assets-requirejs/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets-rollup/README.md b/jooby-assets-rollup/README.md
index 02bec86236..19347a7280 100644
--- a/jooby-assets-rollup/README.md
+++ b/jooby-assets-rollup/README.md
@@ -2,53 +2,109 @@
 
 rollup.js the next-generation ES6 module bundler.
 
-Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
+Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
 
 ## dependency
 
 ```xml
 
-  org.jooby
-  jooby-assets-rollup
-  1.1.0
-  provided
+ org.jooby
+ jooby-rollup.js
+ 1.1.1
+ provided
 
 ```
 
 ## usage
 
-```
+```java
 assets {
- fileset {
-   home: ...
- }
- pipeline {
-   ...
-   dist: [rollup]
- }
+  fileset {
+    home: ...
+  }
+
+  pipeline {
+    ...
+    dev: [rollup]
+    dist: [rollup]
+  }
+
 }
 ```
 
 ## options
 
+### generate
+
 ```
-assets {
- fileset {
-   home: ...
- }
- pipeline {
-   ...
-   dist: [rollmap]
- }
- rollup {
-   output {
-     format: amd
-   }
- }
-}
+rollup {
+    genereate {
+      format: es
+    }
+  }
+
 ```
 
-See: rollup.js options.
+See generate options.
+
+### plugins
+
+#### babel
+
+```
+rollup {
+    plugins {
+      babel {
+        presets: [[es2015, {modules: false}]]
+      }
+    }
+  }
+
+```
+
+See https://babeljs.io for more options.
+
+#### legacy
+
+This plugins add a ```export default``` line to legacy modules:
+
+```
+rollup {
+    plugins {
+      legacy {
+        "/js/lib/react.js": React
+      }
+    }
+  }
+
+```
+
+#### alias
+
+Set an alias to a common (probably long) path.
+
+```
+rollup {
+    plugins {
+      alias {
+        "/js/lib/react.js": "react"
+      }
+    }
+  }
+
+```
+
+Instead of:
+
+```js
+import React from 'js/lib/react.js';
+```
+
+Now, you can import a module like:
+
+```js
+import React from 'react';
+```
 
 # see also
 
@@ -84,6 +140,8 @@ See: rollup.js op
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-rollup/pom.xml b/jooby-assets-rollup/pom.xml
index 0be0c9e430..03361959f2 100644
--- a/jooby-assets-rollup/pom.xml
+++ b/jooby-assets-rollup/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets-sass/README.md b/jooby-assets-sass/README.md
index f266e3c72e..b6194df50f 100644
--- a/jooby-assets-sass/README.md
+++ b/jooby-assets-sass/README.md
@@ -10,7 +10,7 @@
 
  org.jooby
  jooby-assets-sass
- 1.1.0
+ 1.1.1
  provided
 
 ```
@@ -87,6 +87,8 @@ assets {
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-sass/pom.xml b/jooby-assets-sass/pom.xml
index d89b314d68..150e66f484 100644
--- a/jooby-assets-sass/pom.xml
+++ b/jooby-assets-sass/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets-svg-sprites/README.md b/jooby-assets-svg-sprites/README.md
index 5e46a52e9f..7a121d1b33 100644
--- a/jooby-assets-svg-sprites/README.md
+++ b/jooby-assets-svg-sprites/README.md
@@ -2,7 +2,7 @@
 
 An [AssetAggregator](/apidocs/org/jooby/assets/AssetAggregator.html) that creates SVG sprites with PNG fallbacks at needed sizes via dr-svg-sprites.
 
-Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
+Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
 
 ## dependency
 
@@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project
 
  org.jooby
  jooby-assets-svg-sprites
- 1.1.0
+ 1.1.1
  provided
 
 ```
@@ -97,6 +97,8 @@ Please refer to dr-svg-sprites<
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-svg-sprites/pom.xml b/jooby-assets-svg-sprites/pom.xml
index bb943c5a17..59c6191cf4 100644
--- a/jooby-assets-svg-sprites/pom.xml
+++ b/jooby-assets-svg-sprites/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets-svg-symbol/README.md b/jooby-assets-svg-symbol/README.md
index 6dffaa370c..742712818d 100644
--- a/jooby-assets-svg-symbol/README.md
+++ b/jooby-assets-svg-symbol/README.md
@@ -2,7 +2,7 @@
 
 SVG ```symbol``` for icons: merge svg files from a folder and generates a ```sprite.svg``` and ```sprite.css``` files.
 
-Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
+Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
 
 ## dependency
 
@@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project
 
  org.jooby
  jooby-assets-svg-symbol
- 1.1.0
+ 1.1.1
  provided
 
 ```
@@ -167,6 +167,8 @@ This option is useful for generating more specific css class selectors.
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-svg-symbol/pom.xml b/jooby-assets-svg-symbol/pom.xml
index 6c5d7b4c66..94b11fd6a2 100644
--- a/jooby-assets-svg-symbol/pom.xml
+++ b/jooby-assets-svg-symbol/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets-uglify/README.md b/jooby-assets-uglify/README.md
index a5bd586544..8704b7602f 100644
--- a/jooby-assets-uglify/README.md
+++ b/jooby-assets-uglify/README.md
@@ -2,7 +2,7 @@
 
 UglifyJs2 JavaScript parser / mangler / compressor / beautifier toolkit.
 
-Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
+Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
 
 ## dependency
 
@@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project
 
   org.jooby
   jooby-assets-uglify
-  1.1.0
+  1.1.1
   provided
 
 ```
@@ -77,6 +77,8 @@ assets {
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-uglify/pom.xml b/jooby-assets-uglify/pom.xml
index 11884b03e7..a0baffa7fd 100644
--- a/jooby-assets-uglify/pom.xml
+++ b/jooby-assets-uglify/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets-yui-compressor/README.md b/jooby-assets-yui-compressor/README.md
index e0501c5086..b0ef84ee57 100644
--- a/jooby-assets-yui-compressor/README.md
+++ b/jooby-assets-yui-compressor/README.md
@@ -2,7 +2,7 @@
 
 Yui compressor.
 
-Make sure you already setup the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
+Make sure you've already set up the [assets module](https://github.com/jooby-project/jooby/tree/master/jooby-assets) in your project!
 
 ## dependency
 
@@ -10,7 +10,7 @@ Make sure you already setup the [assets module](https://github.com/jooby-project
 
   org.jooby
   jooby-assets-yui-compressor
-  1.1.0
+  1.1.1
   provided
 
 ```
@@ -93,6 +93,8 @@ assets {
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets-yui-compressor/pom.xml b/jooby-assets-yui-compressor/pom.xml
index c11ba7d60f..8109612bb7 100644
--- a/jooby-assets-yui-compressor/pom.xml
+++ b/jooby-assets-yui-compressor/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-assets/README.md b/jooby-assets/README.md
index 3e57cfa0fa..524448362a 100644
--- a/jooby-assets/README.md
+++ b/jooby-assets/README.md
@@ -10,7 +10,7 @@ A variety of processors are available: ([jshint](https://github.com/jooby-projec
 
   org.jooby
   jooby-assets
-  1.1.0
+  1.1.1
 
 ```
 
@@ -150,7 +150,7 @@ This module comes with a live compiler which is enabled by default in ```dev```:
 
 If you want to turn it off, just set the ```assets.watch = false```.
 
-The fancy error page is generated by [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops), here is an example on how to unable [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops):
+The fancy error page is generated by [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops), here is an example on how to enable [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops):
 
 ```java
 {
@@ -163,11 +163,11 @@ The fancy error page is generated by [whoops](https://github.com/jooby-project/j
 
 # asset processor
 
-Checks, validate and/or modify asset contents. An [AssetProcessor](/apidocs/org/jooby/assets/AssetProcessor.html) is usually provided as a separated dependency.
+Checks, validates and/or modifies asset contents. An [AssetProcessor](/apidocs/org/jooby/assets/AssetProcessor.html) is usually provided as a separate dependency.
 
-## how to use it?
+## usage
 
-First thing to do is to add the dependency:
+Start by adding the dependency to your ```pom.xml```:
 
 ```xml
   
@@ -177,9 +177,10 @@ First thing to do is to add the dependency:
   
 ```
 
-Did you see the **provided** scope? We just need the processor for development, because assets are processed at runtime. In ```prod```, assets are processed at built-time via Maven/Gradle plugin, so we don't need this library/dependency. This also, helps to keep our dependencies and the jar size small.
+Notice the **provided** scope. The processor is only required for development, since the assets are processed at runtime in this case. In ```prod```, assets are processed at build-time via the Maven or Gradle plugins, so the dependency is not needed there. This also helps to keep the number of dependencies and the jar size smaller.
+
+After the dependency is declared, all that's needed is to add the processor to the pipeline:
 
-Now we have the dependency all we have to do is to add it to our pipeline:
 
 ```text
 assets {
@@ -191,7 +192,7 @@ assets {
 
 ## configuration
 
-It is possible to configure or set options too:
+It's possible to configure or set options as well:
 
 ```text
 assets {
@@ -205,7 +206,7 @@ assets {
 }
 ```
 
-Previous example, set a ```foo``` property to ```bar```! Options can be set per environment too:
+The previous example sets the ```foo``` property to ```bar```. Options can be set per environment as well:
 
 ```text
 assets {
@@ -225,11 +226,11 @@ assets {
 }
 ```
 
-Here, in ```dev``` processor has two properties: ```foo:foo``` and ```bar:bar```, while in ```dist``` the processor only has ```foo:bar```
+In this example, the processor will have two properties in the ```dev``` environment: ```foo:foo``` and ```bar:bar```, while in ```dist``` the processor will only have ```foo:bar```
 
 ## binding
 
-The ```my-processor``` will be resolved it to: ```org.jooby.assets.MyProcessor``` class. The processor name is converted to ```MyProcessor```, it converts the hyphenated name to upper camel and by default processors are defined in the ```org.jooby.assets``` package.
+The ```my-processor``` token will be resolved to the: ```org.jooby.assets.MyProcessor``` class. The processor name is converted to ```MyProcessor``` by converting the hyphenated name to upper camel case and by placing it in the ```org.jooby.assets``` package (a default for processors).
 
 A custom binding is provided via the ```class``` property:
 
@@ -249,9 +250,9 @@ assets {
 
 Contributes new or dynamically generated content to a ```fileset```. Content generated by an aggregator might be processed by an {@link AssetProcessor}.
 
-## how to use it?
+## usage
 
-First thing to do is to add the dependency:
+Start by adding the dependency to your ```pom.xml```:
 
 ```xml
 
@@ -262,9 +263,9 @@ First thing to do is to add the dependency:
 
 ```
 
-Did you see the **provided** scope? We just need the aggregator for development, because assets are processed at runtime. In ```prod```, assets are processed at built-time via Maven/Gradle plugin, so we don't need it. This also, helps to keep our dependencies and the jar size small.
+Notice the **provided** scope. The aggregator is only required for development, since the assets are processed at runtime in this case. In ```prod```, assets are processed at build-time via the Maven or Gradle plugins, so the dependency is not needed there. This also helps to keep the number of dependencies and the jar size smaller.
 
-Now we have the dependency all we have to do is to add the ```svg-sprites``` aggregator to a fileset:
+After the dependency is declared, all that's needed is to add the ```svg-sprites``` aggregator to a fileset:
 
 ```
 assets {
@@ -287,7 +288,7 @@ assets {
 }
 ```
 
-Here for example, the ```svg-sprites``` aggregator contributes the ```css/sprite.css``` file to the ```home``` fileset. The fileset then looks like:
+In this example, the ```svg-sprites``` aggregator contributes the ```css/sprite.css``` file to the ```home``` fileset. The fileset then looks like:
 
 ```
 assets {
@@ -301,7 +302,7 @@ assets {
 }
 ```
 
-It replaces the aggregator name with one or more files from [AssetAggregator.fileset](/apidocs/org/jooby/assets/AssetAggregator.html#fileset--) method.
+It replaces the aggregator name with one or more files from the [AssetAggregator.fileset](/apidocs/org/jooby/assets/AssetAggregator.html#fileset--) method.
 
 # available processors
 
@@ -337,6 +338,8 @@ It replaces the aggregator name with one or more files from [AssetAggregator.fil
 
 * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel.
 
+* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support.
+
 * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler.
 
 * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations.
diff --git a/jooby-assets/pom.xml b/jooby-assets/pom.xml
index 3b274cef87..a1086805a9 100644
--- a/jooby-assets/pom.xml
+++ b/jooby-assets/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-aws/README.md b/jooby-aws/README.md
index 096de12b3a..6a4da6a0b7 100644
--- a/jooby-aws/README.md
+++ b/jooby-aws/README.md
@@ -14,7 +14,7 @@ It also give you access to aws credentials (access and secret keys).
 
   org.jooby
   jooby-aws
-  1.1.0
+  1.1.1
 
 ```
 
diff --git a/jooby-aws/pom.xml b/jooby-aws/pom.xml
index a1fdb96e54..3227e1de24 100644
--- a/jooby-aws/pom.xml
+++ b/jooby-aws/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-banner/README.md b/jooby-banner/README.md
index 4542ac7f02..3d5f50ba93 100644
--- a/jooby-banner/README.md
+++ b/jooby-banner/README.md
@@ -8,7 +8,7 @@ Prints out an ASCII art banner on startup using 
  org.jooby
  jooby-caffeine-cache
- 1.1.0
+ 1.1.1
 
 ```
 
diff --git a/jooby-caffeine/pom.xml b/jooby-caffeine/pom.xml
index e657bfc5db..aef4db1276 100644
--- a/jooby-caffeine/pom.xml
+++ b/jooby-caffeine/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-camel/README.md b/jooby-camel/README.md
index 86f938f8de..fa68078cde 100644
--- a/jooby-camel/README.md
+++ b/jooby-camel/README.md
@@ -23,7 +23,7 @@ depend on [camel-guice](http://camel.apache.org/guice.html), but it provides sim
 
   org.jooby
   jooby-camel
-  1.1.0
+  1.1.1
 
 ```
 
diff --git a/jooby-camel/pom.xml b/jooby-camel/pom.xml
index 9510726208..0288f6015b 100644
--- a/jooby-camel/pom.xml
+++ b/jooby-camel/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-cassandra/README.md b/jooby-cassandra/README.md
index 53c58b5226..36a6a0da80 100644
--- a/jooby-cassandra/README.md
+++ b/jooby-cassandra/README.md
@@ -10,7 +10,7 @@ This module offers cassandra database
 
  org.jooby
  jooby-cassandra
- 1.1.0
+ 1.1.1
 
 ```
 
@@ -208,7 +208,7 @@ A [Session.Store](/apidocs/org/jooby/cassandra/CassandraSessionStore.html) power
 
  org.jooby
  jooby-cassandra
- 1.1.0
+ 1.1.1
 
 ```
 
diff --git a/jooby-cassandra/pom.xml b/jooby-cassandra/pom.xml
index 707811390c..a4aa525bd0 100644
--- a/jooby-cassandra/pom.xml
+++ b/jooby-cassandra/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-commons-email/README.md b/jooby-commons-email/README.md
index 69aedd302c..d3f1aaed28 100644
--- a/jooby-commons-email/README.md
+++ b/jooby-commons-email/README.md
@@ -16,7 +16,7 @@ Small but helpful module that provides access to ```Email``` instances.
 
   org.jooby
   jooby-commons-email
-  1.1.0
+  1.1.1
 
 ```
 
diff --git a/jooby-commons-email/pom.xml b/jooby-commons-email/pom.xml
index 7c20206f2c..82852e63c0 100644
--- a/jooby-commons-email/pom.xml
+++ b/jooby-commons-email/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-consul/README.md b/jooby-consul/README.md
new file mode 100644
index 0000000000..f5cae9090c
--- /dev/null
+++ b/jooby-consul/README.md
@@ -0,0 +1,112 @@
+# consul
+
+[Consul](https://www.consul.io) client module. 
+
+Exports a Consul [client](https://github.com/OrbitzWorldwide/consul-client).
+
+Also register the application as a service and setup a health check.
+
+## dependency
+
+```xml
+
+  org.jooby
+  jooby-consul
+  1.1.1
+
+```
+
+## usage
+
+```java
+{
+  use(new Consulby());
+  
+  get("/myservice/health", req -> {
+    Consul consul = require(Consul.class);
+    List serviceHealths = consul.healthClient()
+      .getHealthyServiceInstances("myservice")
+      .getResponse();
+    return serviceHealths;
+  });
+}
+```
+
+## configuration
+
+Configuration is done via ```.conf```.
+ 
+For example, one can change the consul endpoint url,
+change the advertised service host, and disable registration health check:
+
+```properties
+consul.default.url = "http://consul.internal.domain.com:8500"
+consul.default.register.host = 10.0.0.2
+consul.default.register.check = null
+```
+
+or, disable the automatic registration feature completely:
+
+```properties
+consul.default.register = null
+```
+
+Also, `Consul` and `Registration` objects can be configured programmatically:
+
+```java
+{
+  use(new Consulby()
+      .withConsulBuilder(consulBuilder -> {
+        consulBuilder.withPing(false);
+        consulBuilder.withBasicAuth("admin", "changeme");
+      })
+      .withRegistrationBuilder(registrationBuilder -> {
+        registrationBuilder.enableTagOverride(true);
+        registrationBuilder.id("custom-service-id");
+      }));
+}
+```
+
+## multiple consul
+
+The module can be instantiated more than one time to allow connecting to many Consul installations: 
+
+```java
+{
+  use(new Consulby("consul1"));
+  use(new Consulby("consul2"));
+}
+```
+
+Since the module will fallback on the `consul.default` config prefix,
+it is possible to only override the desired properties in the `.conf`,
+for example, here, disabling health check only for `consul2`:
+
+```properties
+consul.consul1.url = "http://consul1.internal.domain.com:8500"
+
+consul.consul2.url = "http://consul2.internal.domain.com:8500"
+consul.consul2.register.check = null
+```
+
+## consul.conf
+
+```properties
+consul {
+  default {
+    url = "http://localhost:8500"
+    register {
+      name = ${application.name}
+      host = ${application.host}
+      port = ${application.port}
+      tags = []
+      check {
+        path = /health
+        response = ${application.name}-${application.version}
+        interval = 15s
+        timeout = 5s
+      }
+    }
+  }
+}
+```
diff --git a/jooby-consul/pom.xml b/jooby-consul/pom.xml
index 1447927252..8bc21b445f 100644
--- a/jooby-consul/pom.xml
+++ b/jooby-consul/pom.xml
@@ -5,7 +5,7 @@
   
     org.jooby
     jooby-project
-    1.1.1-SNAPSHOT
+    1.1.1
   
 
   4.0.0
diff --git a/jooby-consul/src/main/java/org/jooby/consul/Consulby.java b/jooby-consul/src/main/java/org/jooby/consul/Consulby.java
index 81ed85a9b1..6e24e40b82 100644
--- a/jooby-consul/src/main/java/org/jooby/consul/Consulby.java
+++ b/jooby-consul/src/main/java/org/jooby/consul/Consulby.java
@@ -18,6 +18,15 @@
  */
 package org.jooby.consul;
 
+import java.text.MessageFormat;
+import java.util.Objects;
+import java.util.UUID;
+import java.util.concurrent.TimeUnit;
+import java.util.function.Consumer;
+
+import org.jooby.Env;
+import org.jooby.Jooby;
+
 import com.google.inject.Binder;
 import com.orbitz.consul.AgentClient;
 import com.orbitz.consul.Consul;
@@ -25,25 +34,23 @@
 import com.orbitz.consul.model.agent.Registration;
 import com.typesafe.config.Config;
 import com.typesafe.config.ConfigFactory;
-import org.jooby.Env;
-import org.jooby.Jooby;
-
-import java.text.MessageFormat;
-import java.util.Objects;
-import java.util.UUID;
-import java.util.concurrent.TimeUnit;
-import java.util.function.Consumer;
 
 /**
- * 

Consul client module.

+ *

+ * Consul client module. + *

* - *

Exports the {@link Consul} client.

+ *

+ * Exports the {@link Consul} client. + *

* - *

Also register the application as a service and setup a health check.

+ *

+ * Also register the application as a service and setup a health check. + *

* *

usage

* - *
+ * 
{@code
  * {
  *   use(new Consulby());
  *
@@ -55,14 +62,18 @@
  *     return serviceHealths;
  *   });
  * }
- * 
+ * }
* *

configuration

* - *

Configuration is done via .conf.

+ *

+ * Configuration is done via .conf. + *

* - *

For example, one can change the consul endpoint url, - * change the advertised service host, and disable registration health check:

+ *

+ * For example, one can change the consul endpoint url, + * change the advertised service host, and disable registration health check: + *

* *
  * consul.default.url = "http://consul.internal.domain.com:8500"
@@ -70,7 +81,9 @@
  * consul.default.register.check = null
  * 
* - *

or, disable the automatic registration feature completely:

+ *

+ * or, disable the automatic registration feature completely: + *

* *
  * consul.default.register = null
@@ -93,9 +106,14 @@ public Consulby() {
   }
 
   /**
-   * 

A new {@link Consulby} instance, with a provided config name.

+ *

+ * A new {@link Consulby} instance, with a provided config name. + *

* - *

The module can be instantiated more than one time to allow connecting to many Consul installations:

+ *

+ * The module can be instantiated more than one time to allow connecting to many Consul + * installations: + *

* *
    * {
@@ -104,9 +122,11 @@ public Consulby() {
    * }
    * 
* - *

Since the module will fallback on the consul.default config prefix, + *

+ * Since the module will fallback on the consul.default config prefix, * it is possible to only override the desired properties in the .conf, - * for example, here, disabling health check only for `consul2`:

+ * for example, here, disabling health check only for `consul2`: + *

* *
    * consul.consul1.url = "http://consul1.internal.domain.com:8500"
@@ -117,14 +137,16 @@ public Consulby() {
    *
    * @param name A config name
    */
-  public Consulby(String name) {
+  public Consulby(final String name) {
     this.name = Objects.requireNonNull(name, "A consul config name is required.");
   }
 
   /**
-   * 

{@link Consul} object can be configured programmatically:

+ *

+ * {@link Consul} object can be configured programmatically: + *

* - *
+   * 
{@code
    * {
    *   use(new Consulby()
    *     .withConsulBuilder(consulBuilder -> {
@@ -132,20 +154,22 @@ public Consulby(String name) {
    *       consulBuilder.withBasicAuth("admin", "changeme");
    *     }));
    * }
-   * 
+ * }
* * @param consulBuilderConsumer A {@link Consumer} that accepts {@link Consul.Builder} * @return This {@link Consulby} to allow chaining */ - public Consulby withConsulBuilder(Consumer consulBuilderConsumer) { + public Consulby withConsulBuilder(final Consumer consulBuilderConsumer) { this.consulBuilderConsumer = consulBuilderConsumer; return this; } /** - *

{@link Registration} object can be configured programmatically:

+ *

+ * {@link Registration} object can be configured programmatically: + *

* - *
+   * 
{@code
    * {
    *   use(new Consulby()
    *     .withRegistrationBuilder(registrationBuilder -> {
@@ -153,18 +177,20 @@ public Consulby withConsulBuilder(Consumer consulBuilderConsumer
    *       registrationBuilder.id("custom-service-id");
    *     }));
    * }
-   * 
+ * }
* - * @param registrationBuilderConsumer A {@link Consumer} that accepts {@link ImmutableRegistration.Builder} + * @param registrationBuilderConsumer A {@link Consumer} that accepts + * {@link ImmutableRegistration.Builder} * @return This {@link Consulby} to allow chaining */ - public Consulby withRegistrationBuilder(Consumer registrationBuilderConsumer) { + public Consulby withRegistrationBuilder( + final Consumer registrationBuilderConsumer) { this.registrationBuilderConsumer = registrationBuilderConsumer; return this; } @Override - public void configure(Env env, Config config, Binder binder) throws Throwable { + public void configure(final Env env, final Config config, final Binder binder) throws Throwable { Config consulConfig = config.getConfig("consul.default"); if (!name.equals("default") && config.hasPath("consul." + name)) { diff --git a/jooby-couchbase/README.md b/jooby-couchbase/README.md index 2eb89e940a..3d8518e1f4 100644 --- a/jooby-couchbase/README.md +++ b/jooby-couchbase/README.md @@ -10,7 +10,7 @@ This module provides couchbase access via org.jooby jooby-couchbase - 1.1.0 + 1.1.1 ``` @@ -303,7 +303,7 @@ A [Session.Store](/apidocs/org/jooby/couchbase/CouchbaseSessionStore) powered by org.jooby jooby-couchbase - 1.1.0 + 1.1.1 ``` diff --git a/jooby-couchbase/pom.xml b/jooby-couchbase/pom.xml index 81471666d7..dda0df20da 100644 --- a/jooby-couchbase/pom.xml +++ b/jooby-couchbase/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-crash/README.md b/jooby-crash/README.md index 497676a839..d570c55dac 100644 --- a/jooby-crash/README.md +++ b/jooby-crash/README.md @@ -8,7 +8,7 @@ org.jooby jooby-crash - 1.1.0 + 1.1.1 ``` diff --git a/jooby-crash/pom.xml b/jooby-crash/pom.xml index 4072f3049e..f73c373139 100644 --- a/jooby-crash/pom.xml +++ b/jooby-crash/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-csl/README.md b/jooby-csl/README.md index 0beded5809..433402a4d3 100644 --- a/jooby-csl/README.md +++ b/jooby-csl/README.md @@ -8,7 +8,7 @@ org.jooby jooby-csl - 1.1.0 + 1.1.1 ``` diff --git a/jooby-csl/pom.xml b/jooby-csl/pom.xml index e574a64cff..2005aee194 100644 --- a/jooby-csl/pom.xml +++ b/jooby-csl/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-dist/pom.xml b/jooby-dist/pom.xml index 1b67d56feb..e49ce3bf8e 100644 --- a/jooby-dist/pom.xml +++ b/jooby-dist/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-ebean/README.md b/jooby-ebean/README.md index 4dda803c0c..027edb0f1e 100644 --- a/jooby-ebean/README.md +++ b/jooby-ebean/README.md @@ -14,7 +14,7 @@ This module extends [jdbc module](/doc/jdbc), before going forward, make sure yo org.jooby jooby-ebean - 1.1.0 + 1.1.1 ``` @@ -22,7 +22,7 @@ This module extends [jdbc module](/doc/jdbc), before going forward, make sure yo ```java { - use(new Ebeanby().doWith(conf -> { + use(new Ebeanby().doWith((ServerConfig conf) -> { conf.addClass(Pet.class); })); @@ -93,12 +93,18 @@ Or programmatically: ```java { - use(new Ebeanby().doWith(conf -> { + use(new Ebeanby().doWith((ServerConfig conf) -> { conf.setDisableClasspathSearch(false); })); } ``` +## starter project + +We do provide an [ebean-starter](https://github.com/jooby-project/ebean-starter) project. Go and [fork it](https://github.com/jooby-project/ebean-starter). + +That's all folks!! + ## ebean.conf ```properties diff --git a/jooby-ebean/pom.xml b/jooby-ebean/pom.xml index 1737de0b2b..2d804dee72 100644 --- a/jooby-ebean/pom.xml +++ b/jooby-ebean/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-ehcache/README.md b/jooby-ehcache/README.md index 132b4c0d4f..eb602c2b63 100644 --- a/jooby-ehcache/README.md +++ b/jooby-ehcache/README.md @@ -13,7 +13,7 @@ Provides advanced cache features via [Ehcache](http://ehcache.org) org.jooby jooby-ehcache - 1.1.0 + 1.1.1 ``` @@ -117,7 +117,7 @@ Please note the ```default``` cache works as a template and isn't a real/usable org.jooby jooby-ehcache - 1.1.0 + 1.1.1 ``` diff --git a/jooby-ehcache/pom.xml b/jooby-ehcache/pom.xml index 80c2c0635a..c7e98f87b8 100644 --- a/jooby-ehcache/pom.xml +++ b/jooby-ehcache/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-elasticsearch/README.md b/jooby-elasticsearch/README.md index 540da362a0..19b4f15898 100644 --- a/jooby-elasticsearch/README.md +++ b/jooby-elasticsearch/README.md @@ -12,7 +12,7 @@ Open Source, Distributed, RESTful Search Engine via [Elastic Search](https://git org.jooby jooby-elasticsearch - 1.1.0 + 1.1.1 ``` diff --git a/jooby-elasticsearch/pom.xml b/jooby-elasticsearch/pom.xml index 2e51ac41d2..2bdf94bd73 100644 --- a/jooby-elasticsearch/pom.xml +++ b/jooby-elasticsearch/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-executor/README.md b/jooby-executor/README.md index fe948b70cd..db862d5126 100644 --- a/jooby-executor/README.md +++ b/jooby-executor/README.md @@ -12,7 +12,7 @@ Manage the life cycle of {@link ExecutorService} and build async apps, schedule org.jooby jooby-executor - 1.1.0 + 1.1.1 ``` diff --git a/jooby-executor/pom.xml b/jooby-executor/pom.xml index e59ea44174..9cb61291f0 100644 --- a/jooby-executor/pom.xml +++ b/jooby-executor/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-filewatcher/README.md b/jooby-filewatcher/README.md index 429ce17f7c..e0fead674c 100644 --- a/jooby-filewatcher/README.md +++ b/jooby-filewatcher/README.md @@ -8,7 +8,7 @@ Watches for file system changes or event. It uses a watch service to monitor a d org.jooby jooby-file watcher - 1.1.0 + 1.1.1 ``` diff --git a/jooby-filewatcher/pom.xml b/jooby-filewatcher/pom.xml index a77cdfaa0f..3e1c96df82 100644 --- a/jooby-filewatcher/pom.xml +++ b/jooby-filewatcher/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-flyway/README.md b/jooby-flyway/README.md index 7b967c6a07..4acc3d4ac8 100644 --- a/jooby-flyway/README.md +++ b/jooby-flyway/README.md @@ -10,7 +10,7 @@ This module run [Flyway](http://flywaydb.org) on startup and apply database migr org.jooby jooby-flyway - 1.1.0 + 1.1.1 ``` diff --git a/jooby-flyway/pom.xml b/jooby-flyway/pom.xml index 13200654c1..f6ccc43a0d 100644 --- a/jooby-flyway/pom.xml +++ b/jooby-flyway/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-ftl/README.md b/jooby-ftl/README.md index 799daaedad..eb2fc6fd7b 100644 --- a/jooby-ftl/README.md +++ b/jooby-ftl/README.md @@ -13,7 +13,7 @@ org.jooby jooby-ftl - 1.1.0 + 1.1.1 ``` diff --git a/jooby-ftl/pom.xml b/jooby-ftl/pom.xml index a07a158b8e..75902facbc 100644 --- a/jooby-ftl/pom.xml +++ b/jooby-ftl/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-gradle-plugin/README.md b/jooby-gradle-plugin/README.md index 75bb98c47f..579f7f21ef 100644 --- a/jooby-gradle-plugin/README.md +++ b/jooby-gradle-plugin/README.md @@ -18,7 +18,7 @@ buildscript { dependencies { /** joobyRun */ - classpath group: 'org.jooby', name: 'jooby-gradle-plugin', version: '1.1.0' + classpath group: 'org.jooby', name: 'jooby-gradle-plugin', version: '1.1.1' } } diff --git a/jooby-gradle-plugin/pom.xml b/jooby-gradle-plugin/pom.xml index 0bd2860cd8..88131e317c 100644 --- a/jooby-gradle-plugin/pom.xml +++ b/jooby-gradle-plugin/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-gson/README.md b/jooby-gson/README.md index 8825780a44..5bc0834f34 100644 --- a/jooby-gson/README.md +++ b/jooby-gson/README.md @@ -14,7 +14,7 @@ JSON support via [Gson](https://github.com/google/gson) library. org.jooby jooby-gson - 1.1.0 + 1.1.1 ``` diff --git a/jooby-gson/pom.xml b/jooby-gson/pom.xml index 0028a4ac84..f1a196fe3e 100644 --- a/jooby-gson/pom.xml +++ b/jooby-gson/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-guava-cache/README.md b/jooby-guava-cache/README.md index a416d0ed7c..c01a50c2d9 100644 --- a/jooby-guava-cache/README.md +++ b/jooby-guava-cache/README.md @@ -12,7 +12,7 @@ Provides cache solution and session storage via: org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-jdbi/README.md b/jooby-jdbi/README.md index 1308106a59..a3c52afef9 100644 --- a/jooby-jdbi/README.md +++ b/jooby-jdbi/README.md @@ -18,7 +18,7 @@ Before start, make sure you already setup a database connection as described in org.jooby jooby-jdbi - 1.1.0 + 1.1.1 ``` diff --git a/jooby-jdbi/pom.xml b/jooby-jdbi/pom.xml index 72a9731489..e87f76e63c 100644 --- a/jooby-jdbi/pom.xml +++ b/jooby-jdbi/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-jedis/README.md b/jooby-jedis/README.md index 0dbd244195..b5a3a26bdc 100644 --- a/jooby-jedis/README.md +++ b/jooby-jedis/README.md @@ -8,7 +8,7 @@ org.jooby jooby-jedis - 1.1.0 + 1.1.1 ``` @@ -96,7 +96,7 @@ For more information about [Jedis](https://github.com/xetorthio/jedis) checkout org.jooby jooby-jedis - 1.1.0 + 1.1.1 ``` diff --git a/jooby-jedis/pom.xml b/jooby-jedis/pom.xml index 701865b6da..841ea5302c 100644 --- a/jooby-jedis/pom.xml +++ b/jooby-jedis/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-jetty/README.md b/jooby-jetty/README.md index c3f85b57c6..07dd5fc856 100644 --- a/jooby-jetty/README.md +++ b/jooby-jetty/README.md @@ -12,7 +12,7 @@ org.jooby jooby-jetty - 1.1.0 + 1.1.1 ``` diff --git a/jooby-jetty/pom.xml b/jooby-jetty/pom.xml index 26a33744ff..8af4e1f96a 100644 --- a/jooby-jetty/pom.xml +++ b/jooby-jetty/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-jongo/README.md b/jooby-jongo/README.md index 62960ded8d..9573ea646e 100644 --- a/jooby-jongo/README.md +++ b/jooby-jongo/README.md @@ -14,7 +14,7 @@ org.jooby jooby-jongo - 1.1.0 + 1.1.1 ``` diff --git a/jooby-jongo/pom.xml b/jooby-jongo/pom.xml index 326803cd58..5d4fd4ebc9 100644 --- a/jooby-jongo/pom.xml +++ b/jooby-jongo/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-jooq/README.md b/jooby-jooq/README.md index e43e98384c..b9caf1017d 100644 --- a/jooby-jooq/README.md +++ b/jooby-jooq/README.md @@ -14,7 +14,7 @@ This module depends on [jdbc](/doc/jdbc) module, make sure you read the doc of t org.jooby jooby-jooq - 1.1.0 + 1.1.1 ``` diff --git a/jooby-jooq/pom.xml b/jooby-jooq/pom.xml index fdd2d8ce7e..a28579a03c 100644 --- a/jooby-jooq/pom.xml +++ b/jooby-jooq/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-lang-js/README.md b/jooby-lang-js/README.md index 28e03e8a4a..3d53e0ee42 100644 --- a/jooby-lang-js/README.md +++ b/jooby-lang-js/README.md @@ -8,13 +8,13 @@ org.jooby jooby-lang-js - 1.1.0 + 1.1.1 ``` ## usage -Write an `app.js` file inside your project directory: +Create an `app.js` file in your project directory: ```js @@ -24,7 +24,7 @@ app.get('/', function () 'Hey Jooby!'); ``` -Go to your `pom.xml` and update/set the `application.class` property to `org.jooby.JoobyJs` like: +In your `pom.xml`, set the `application.class` property to `org.jooby.JoobyJs` like this: ```xml @@ -32,7 +32,7 @@ Go to your `pom.xml` and update/set the `application.class` property to `org.joo ``` -The `org.jooby.JoobyJs` class setup [Nashorn](http://openjdk.java.net/projects/nashorn/) and startup `Jooby`. +The `org.jooby.JoobyJs` class will set up [Nashorn](http://openjdk.java.net/projects/nashorn/) and start `Jooby`. ## jooby function @@ -52,7 +52,7 @@ jooby(function () { })(); ``` -Another minor but useful feature is the: **import of classes** and **packages** when you go with the functional version: +Another minor, but useful feature is the: **import of classes** and **packages** when you go with the functional version: ```js jooby(function (Jackson) { @@ -76,11 +76,11 @@ jooby(function (Jackson) { })(org.jooby.json); ``` -Import of packages is done via: ```importPackage``` function from in ```nashorn:mozilla_compat.js```. +Import of packages is done via: ```importPackage``` function from ```nashorn:mozilla_compat.js```. ## routes -Routes work as in Java, but it is worth to mention what are the available alternatives at the time you need to write a route in JavaScript: +Routes work as in Java, but it is worth mentioning the available alternatives when you write a route in JavaScript: ```js jooby(function () { @@ -93,18 +93,18 @@ jooby(function () { return 'Hey Jooby!'; }); - // returns a value but access to request object + // returns a value, but with access to the request object this.get('/', function (req) { var x = require(X) return x.doSomething(); }); - // access to request and rsp (like in express.js) + // access to the request and the response (as in express.js) this.get('/', function (req, rsp) { rsp.send('Hey Jooby!'); }); - // access to request and rsp + // access to the request and the response this.get('/', function (req, rsp, chain) { chain.next(); }); diff --git a/jooby-lang-js/pom.xml b/jooby-lang-js/pom.xml index 35e1b0beaa..c059f116c0 100644 --- a/jooby-lang-js/pom.xml +++ b/jooby-lang-js/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-lang-kotlin/README.md b/jooby-lang-kotlin/README.md index 10c7f332fd..395f96c3d6 100644 --- a/jooby-lang-kotlin/README.md +++ b/jooby-lang-kotlin/README.md @@ -1,6 +1,6 @@ # kotlin -We do provide a very tiny module with some special functions that makes a [Jooby](http://jooby.org) application more Kotlin idiomatic. +[Jooby](http://jooby.org) provides a tiny module with some functions that will make an application more Kotlin idiomatic. ## dependency @@ -8,13 +8,13 @@ We do provide a very tiny module with some special functions that makes a [Jooby org.jooby jooby-lang-kotlin - 1.1.0 + 1.1.1 ``` ## usage -```kotlin +```java import org.jooby.* @@ -32,11 +32,12 @@ The `run` function is a [type-safe builder](http://kotlinlang.org/docs/reference ## idioms + ### request access -Access to [request](/apidocs/org/jooby/Request.html) is available via **request callback**: +Access to the [request](/apidocs/org/jooby/Request.html) is available via a **request callback**: -```kotlin +```java run(*args) { get("/:name") {req -> val name = req.param("name").value @@ -45,9 +46,9 @@ run(*args) { } ``` -The **request** idiom gives you implicit access to the [request](/apidocs/org/jooby/Request.html) object, previous example can be written as: +The **request** idiom gives you implicit access to the [request](/apidocs/org/jooby/Request.html) object. The previous example can be written as: -```kotlin +```java run(*args) { get("/:name") { val name = param("name").value @@ -59,9 +60,9 @@ run(*args) { ### route group -This idiom allow to group one or more routes under a common `path`: +This idiom allows grouping one or more routes under a common `path`: -```kotlin +```java run(*args) { route("/api/pets") { @@ -83,11 +84,11 @@ run(*args) { ### class reference -We do provide `Kotlin class references` where a `Java class reference` is required. +[Jooby](http://jooby.org) provides a `Kotlin class references` where a `Java class reference` is required. Example 1: Register a `MVC routes` -```kotlin +```java run(*args) { use(Pets::class) } @@ -95,7 +96,7 @@ run(*args) { Example 2: Get an application service: -```kotlin +```java run(*args) { get("/query") { @@ -110,9 +111,9 @@ run(*args) { ### JSON API -Next example uses the [jackson module](/doc/jackson) to parse and render `JSON`: +The next example uses the [jackson module](/doc/jackson) to parse and render `JSON`: -```kotlin +```java import org.jooby.* import org.jooby.json.* @@ -136,7 +137,7 @@ fun main(args: Array) { ### mvc example -```kotlin +```java import org.jooby.* import org.jooby.mvc.* @@ -160,6 +161,6 @@ fun main(args: Array) { ## starter project -We do provide a [kotlin-starter](https://github.com/jooby-project/kotlin-starter) project. Go and [fork it](https://github.com/jooby-project/kotlin-starter). +[Jooby](http://jooby.org) provides a [kotlin-starter](https://github.com/jooby-project/kotlin-starter) project. Go and [fork it](https://github.com/jooby-project/kotlin-starter). -That's all folks!! +That's all folks! diff --git a/jooby-lang-kotlin/pom.xml b/jooby-lang-kotlin/pom.xml index b9df7dc87f..cc48977e57 100644 --- a/jooby-lang-kotlin/pom.xml +++ b/jooby-lang-kotlin/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-livereload/README.md b/jooby-livereload/README.md index a0c6bf9f64..c2eb4ecc8d 100644 --- a/jooby-livereload/README.md +++ b/jooby-livereload/README.md @@ -6,8 +6,8 @@ Even cooler, when you change a CSS file or an image, the browser is updated inst ## exports -* livereload.js route -* livereload websocket +* `livereload.js` route +* `livereload` websocket ## dependency @@ -15,7 +15,7 @@ Even cooler, when you change a CSS file or an image, the browser is updated inst org.jooby jooby-livereload - 1.1.0 + 1.1.1 ``` @@ -63,4 +63,8 @@ It automatically reload static resources from ```public```, ```target``` (Maven Every time a change is detected the websocket send a ```reload command```. +## starter project + +We do provide a [livereload-starter](https://github.com/jooby-project/livereload-starter) project. Go and [fork it](https://github.com/jooby-project/livereload-starter). + That's all folks!! diff --git a/jooby-livereload/pom.xml b/jooby-livereload/pom.xml index 930b7b0860..bf2f8f5777 100644 --- a/jooby-livereload/pom.xml +++ b/jooby-livereload/pom.xml @@ -6,7 +6,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 jooby-livereload jooby-livereload diff --git a/jooby-maven-plugin/README.md b/jooby-maven-plugin/README.md index ec59f9ad1c..573e71a7b9 100644 --- a/jooby-maven-plugin/README.md +++ b/jooby-maven-plugin/README.md @@ -40,7 +40,7 @@ It's worth to mention that dynamic reload of classes is done via [JBoss Modules] org.jooby jooby-maven-plugin - 1.1.0 + 1.1.1 ${application.class} @@ -113,7 +113,7 @@ List of commands to execute before starting the ```application```. Useful for [n org.jooby jooby-maven-plugin - 1.1.0 + 1.1.1 ${application.class} @@ -134,7 +134,7 @@ Set one or more ```JVM args```: org.jooby jooby-maven-plugin - 1.1.0 + 1.1.1 ${application.class} true diff --git a/jooby-maven-plugin/pom.xml b/jooby-maven-plugin/pom.xml index b10dc05ef3..2c01cf9c65 100644 --- a/jooby-maven-plugin/pom.xml +++ b/jooby-maven-plugin/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-metrics/README.md b/jooby-metrics/README.md index 884aa75793..6df7a662bf 100644 --- a/jooby-metrics/README.md +++ b/jooby-metrics/README.md @@ -8,7 +8,7 @@ org.jooby jooby-metrics - 1.1.0 + 1.1.1 ``` diff --git a/jooby-metrics/pom.xml b/jooby-metrics/pom.xml index 7556f2a2cf..d356f22d8f 100644 --- a/jooby-metrics/pom.xml +++ b/jooby-metrics/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-mongodb-rx/README.md b/jooby-mongodb-rx/README.md index 3aa202656d..31fe7e43da 100644 --- a/jooby-mongodb-rx/README.md +++ b/jooby-mongodb-rx/README.md @@ -13,7 +13,7 @@ A MongoDB based driver providing support for React org.jooby jooby-mongodb-rx - 1.1.0 + 1.1.1 ``` diff --git a/jooby-mongodb-rx/pom.xml b/jooby-mongodb-rx/pom.xml index af7a32c75a..1c48aa6105 100644 --- a/jooby-mongodb-rx/pom.xml +++ b/jooby-mongodb-rx/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-mongodb/README.md b/jooby-mongodb/README.md index 0c88b42237..3a9d016070 100644 --- a/jooby-mongodb/README.md +++ b/jooby-mongodb/README.md @@ -14,7 +14,7 @@ org.jooby jooby-mongodb - 1.1.0 + 1.1.1 ``` @@ -114,7 +114,7 @@ Use [named](/apidocs/org/jooby/mongodb/Mongodb.html#-named) when you need two or org.jooby jooby-mongodb - 1.1.0 + 1.1.1 ``` diff --git a/jooby-mongodb/pom.xml b/jooby-mongodb/pom.xml index a58e769ffa..07b44a6e41 100644 --- a/jooby-mongodb/pom.xml +++ b/jooby-mongodb/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-morphia/README.md b/jooby-morphia/README.md index d89ec02b64..8ed5fc913d 100644 --- a/jooby-morphia/README.md +++ b/jooby-morphia/README.md @@ -13,7 +13,7 @@ Extends the [mongodb](https://github.com/jooby-project/jooby/tree/master/jooby-m org.jooby jooby-morphia - 1.1.0 + 1.1.1 ``` diff --git a/jooby-morphia/pom.xml b/jooby-morphia/pom.xml index b20e385c79..f17a1ae4f3 100644 --- a/jooby-morphia/pom.xml +++ b/jooby-morphia/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-netty/README.md b/jooby-netty/README.md index d42d1e9fb4..0a99b5fc81 100644 --- a/jooby-netty/README.md +++ b/jooby-netty/README.md @@ -12,7 +12,7 @@ org.jooby jooby-netty - 1.1.0 + 1.1.1 ``` diff --git a/jooby-netty/pom.xml b/jooby-netty/pom.xml index 022200e4ba..05a50031a5 100644 --- a/jooby-netty/pom.xml +++ b/jooby-netty/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-pac4j/README.md b/jooby-pac4j/README.md index 3563a34b84..4e04fce596 100644 --- a/jooby-pac4j/README.md +++ b/jooby-pac4j/README.md @@ -15,7 +15,7 @@ Authentication module via: [Pac4j](https://github.com/pac4j/pac4j). org.jooby jooby-pac4j - 1.1.0 + 1.1.1 ``` diff --git a/jooby-pac4j/pom.xml b/jooby-pac4j/pom.xml index 1ad29363a8..3dc596c67e 100644 --- a/jooby-pac4j/pom.xml +++ b/jooby-pac4j/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-pebble/README.md b/jooby-pebble/README.md index 6b95e79678..532b14ec15 100644 --- a/jooby-pebble/README.md +++ b/jooby-pebble/README.md @@ -13,7 +13,7 @@ org.jooby jooby-pebble - 1.1.0 + 1.1.1 ``` diff --git a/jooby-pebble/pom.xml b/jooby-pebble/pom.xml index 35689a84a0..327fb6970c 100644 --- a/jooby-pebble/pom.xml +++ b/jooby-pebble/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-quartz/README.md b/jooby-quartz/README.md index 69e9ab21f9..1c56bb471d 100644 --- a/jooby-quartz/README.md +++ b/jooby-quartz/README.md @@ -8,7 +8,7 @@ Cron triggers, job scheduling and async processing via [Quartz](http://quartz-sc org.jooby jooby-quartz - 1.1.0 + 1.1.1 ``` diff --git a/jooby-quartz/pom.xml b/jooby-quartz/pom.xml index b49db9fed2..99813129ce 100644 --- a/jooby-quartz/pom.xml +++ b/jooby-quartz/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-querydsl/README.md b/jooby-querydsl/README.md index 16acce7a7d..83d367e68f 100644 --- a/jooby-querydsl/README.md +++ b/jooby-querydsl/README.md @@ -14,7 +14,7 @@ This module depends on [jdbc module](doc/jdbc), make sure you read the doc of th org.jooby jooby-querydsl - 1.1.0 + 1.1.1 ``` diff --git a/jooby-querydsl/pom.xml b/jooby-querydsl/pom.xml index 0d54fb22ff..9d410ef01f 100644 --- a/jooby-querydsl/pom.xml +++ b/jooby-querydsl/pom.xml @@ -4,7 +4,7 @@ jooby-project org.jooby - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-raml/README.md b/jooby-raml/README.md index f25875caa9..d3d2b6a195 100644 --- a/jooby-raml/README.md +++ b/jooby-raml/README.md @@ -17,7 +17,7 @@ RESTful API Modeling Language (RAML) makes it easy to manage the whole API lifec org.jooby jooby-raml - 1.1.0 + 1.1.1 ``` diff --git a/jooby-raml/pom.xml b/jooby-raml/pom.xml index 70e0298b8e..0a91f4ec3c 100644 --- a/jooby-raml/pom.xml +++ b/jooby-raml/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-reactor/README.md b/jooby-reactor/README.md index ba70fb7623..ab98b9d35c 100644 --- a/jooby-reactor/README.md +++ b/jooby-reactor/README.md @@ -8,7 +8,7 @@ org.jooby jooby-reactor - 1.1.0 + 1.1.1 ``` diff --git a/jooby-reactor/pom.xml b/jooby-reactor/pom.xml index 55391973b3..c960307868 100644 --- a/jooby-reactor/pom.xml +++ b/jooby-reactor/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-requery/README.md b/jooby-requery/README.md index 649eb4799c..845b976920 100644 --- a/jooby-requery/README.md +++ b/jooby-requery/README.md @@ -2,13 +2,17 @@ Safe, clean and efficient database access via Requery. +## exports + +* `EntityStore` object(s) + ## dependency ```xml org.jooby jooby-requery - 1.1.0 + 1.1.1 ``` @@ -167,4 +171,8 @@ Advanced configuration is available via callback function: } ``` +## starter project + +We do provide a [requery-starter](https://github.com/jooby-project/requery-starter) project. Go and [fork it](https://github.com/jooby-project/requery-starter). + That's all folks!! diff --git a/jooby-requery/pom.xml b/jooby-requery/pom.xml index 0eab7f97f3..fe7719a859 100644 --- a/jooby-requery/pom.xml +++ b/jooby-requery/pom.xml @@ -4,7 +4,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 jooby-requery requery module diff --git a/jooby-rocker/README.md b/jooby-rocker/README.md index c2f9b5e747..f5eb7375fe 100644 --- a/jooby-rocker/README.md +++ b/jooby-rocker/README.md @@ -4,20 +4,20 @@ Java 8 optimized, memory efficient, speedy template engine producing statically Rocker is a Java 8 optimized (runtime compat with 6+), near zero-copy rendering, speedy template engine that produces statically typed, plain java object templates that are compiled along with the rest of your project. +## exports + +* Rocker [renderer](/apidocs/org/jooby/Renderer.html) + ## dependency ```xml org.jooby jooby-rocker - 1.1.0 + 1.1.1 ``` -## exports - -* Rocker [renderer](/apidocs/org/jooby/Renderer.html) - ## usage ```java @@ -43,7 +43,7 @@ The **static**, **efficient** and **type-safe** flavor: } ``` -The **dynamic** flavor is available via * [View](/apidocs/org/jooby/View.html) objects: +Or the **dynamic** flavor is available via [View](/apidocs/org/jooby/View.html) objects: ```java { @@ -53,7 +53,7 @@ The **dynamic** flavor is available via * [View](/apidocs/org/jooby/View.html) o } ``` -Which is syntax sugar for: +which is syntax sugar for: ```java { diff --git a/jooby-rocker/pom.xml b/jooby-rocker/pom.xml index d07d028035..2bfc53bd2b 100644 --- a/jooby-rocker/pom.xml +++ b/jooby-rocker/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 jooby-rocker jooby-rocker diff --git a/jooby-run/pom.xml b/jooby-run/pom.xml index af0127d641..0046a7bc31 100644 --- a/jooby-run/pom.xml +++ b/jooby-run/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-rxjava-jdbc/README.md b/jooby-rxjava-jdbc/README.md index 6475f690c0..12a00233d2 100644 --- a/jooby-rxjava-jdbc/README.md +++ b/jooby-rxjava-jdbc/README.md @@ -11,7 +11,7 @@ org.jooby jooby-rxjava-jdbc - 1.1.0 + 1.1.1 ``` diff --git a/jooby-rxjava-jdbc/pom.xml b/jooby-rxjava-jdbc/pom.xml index 9dcfd80aeb..7dfb177676 100644 --- a/jooby-rxjava-jdbc/pom.xml +++ b/jooby-rxjava-jdbc/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-rxjava/README.md b/jooby-rxjava/README.md index 79d77cf1cc..dfb4d4bfe1 100644 --- a/jooby-rxjava/README.md +++ b/jooby-rxjava/README.md @@ -10,7 +10,7 @@ RxJava is a Java VM implementation of Reactive Ext org.jooby jooby-rxjava - 1.1.0 + 1.1.1 ``` diff --git a/jooby-rxjava/pom.xml b/jooby-rxjava/pom.xml index 451c789381..7097e6be1b 100644 --- a/jooby-rxjava/pom.xml +++ b/jooby-rxjava/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-scanner/README.md b/jooby-scanner/README.md index 1ea95c6663..40cc319636 100644 --- a/jooby-scanner/README.md +++ b/jooby-scanner/README.md @@ -10,7 +10,7 @@ This module provides `class-path` scanning services for `MVC routes`, `modules`, org.jooby jooby-scanner - 1.1.0 + 1.1.1 ``` diff --git a/jooby-scanner/pom.xml b/jooby-scanner/pom.xml index 78dbe82bf3..f89a2b3216 100644 --- a/jooby-scanner/pom.xml +++ b/jooby-scanner/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-servlet/README.md b/jooby-servlet/README.md index d800b9725a..f5ad96a0e3 100644 --- a/jooby-servlet/README.md +++ b/jooby-servlet/README.md @@ -1,13 +1,13 @@ # servlets This module exists for strict environments where the ONLY option is to deploy into a Servlet Container. -If you are free to deploy a new server technology, we strongly recommend to avoid this and go directly with [Netty](http://netty.io), [Jetty](http://www.eclipse.org/jetty/) or [Undertow](http://undertow.io). +It's strongly recommended to avoid this and rather opt for using one of [Netty](http://netty.io), [Jetty](http://www.eclipse.org/jetty/) or [Undertow](http://undertow.io). ## usage -In order to deploy into a Servlet Container, we need to generate a ```*.war``` file. The next steps guide you on how to do it: +In order to deploy into a Servlet Container, you need to generate a ```*.war``` file. Here's how: -* Write a ```war.activator``` file inside the ```src/etc``` directory. +* Create a ```war.activator``` file in the ```src/etc``` directory. * Open a console and type: ```mvn clean package``` @@ -25,7 +25,7 @@ In order to deploy into a Servlet Container, we need to generate a ```*.war``` f ### special note on contextPath -To avoid a headache... make sure to use the ```contextPath``` variable while loading static/dynamic +To avoid potential headaches, make sure to use the ```contextPath``` variable while loading static/dynamic resources (.css, .js, etc..). For example: @@ -39,18 +39,18 @@ For example: ``` -Here the expression: ```{{contextPath}}``` corresponds to the template engine (handlebars here) or ```${contextPath}``` for Freemarker. +The expression: ```{{contextPath}}``` corresponds to the template engine (handlebars in that case) or ```${contextPath}``` for Freemarker. -## how it works? +## how does it work? -The presence of the ```src/etc/war.activator``` file triggers a Maven profile. Content of the file doesn't matter, just the presence. +The presence of the ```src/etc/war.activator``` file triggers a Maven profile. The contents of the file doesn't matter, it just needs to be present. -The Maven profile build the ```*.war``` file using the ```maven-assembly-plugin```. The assembly descriptor can be found +The Maven profile builds the ```*.war``` file using the ```maven-assembly-plugin```. The assembly descriptor can be found [here](https://github.com/jooby-project/jooby/blob/master/jooby-dist/src/main/resources/assemblies/jooby.war.xml) ### web.xml -A default ```web.xml``` file is generated by the assembly plugin. File looks like: +A default ```web.xml``` file is generated by the assembly plugin. This file looks like: ```xml @@ -85,9 +85,9 @@ A default ```web.xml``` file is generated by the assembly plugin. File looks lik ``` -#### upload size +#### max upload size -Default upload size is set to ```204800b``` (200kb). If you need to increase the upload size, add +The default max upload size is set to ```204800b``` (200kb). If you need to increase this, add the ```war.maxRequestSize``` property to ```pom.xml```: ```xml diff --git a/jooby-servlet/pom.xml b/jooby-servlet/pom.xml index b6af06e6ee..0470227b49 100644 --- a/jooby-servlet/pom.xml +++ b/jooby-servlet/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-sitemap/README.md b/jooby-sitemap/README.md index f09f61254c..50692b998d 100644 --- a/jooby-sitemap/README.md +++ b/jooby-sitemap/README.md @@ -12,7 +12,7 @@ Generate sitemap.xml files org.jooby jooby-sitemap - 1.1.0 + 1.1.1 ``` diff --git a/jooby-sitemap/pom.xml b/jooby-sitemap/pom.xml index b354eeccd8..804da1b919 100644 --- a/jooby-sitemap/pom.xml +++ b/jooby-sitemap/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-spec/README.md b/jooby-spec/README.md index aeae4a910a..899e1dcb5b 100644 --- a/jooby-spec/README.md +++ b/jooby-spec/README.md @@ -2,17 +2,17 @@ The spec module allows you to export your API/microservices outside a [Jooby](http://jooby.org) application. -The goal of this module is to define a common way to write APIs and provide you tools like live doc and testing **with no extra effort**. +The goal of this module is to define a common way to write APIs and provide tools like live doc and testing **with no extra effort**. -> You aren't force to learn any other tool or annotated your code special annotations. All you have to do is **write your application** following a few/minor suggestions. +> You won't be forced to learn any other tool or annotate your code with special annotations. All you have to do is **write your application** following a few simple suggestions. -This module process, collect and compile **routes** from your application. It extracts HTTP method/pattern, parameter, responses, types and doc. +This module will process, collect and compile **routes** from your application. It extracts HTTP method, path patterns, parameters, response types and documentation. -You will find here the basis and the necessary documentation to build and expose rich APIs for free, but keep in mind this module isn't intended for direct usage. It is the basis for tools like [Swagger](http://swagger.io) or [RAML](http://raml.org). +You will find the basics and the necessary documentation to build and expose rich APIs for free, but keep in mind that this module isn't intended to be used directly. It is the base for tools like [Swagger](http://swagger.io) or [RAML](http://raml.org). # definition -Let's review how to build rich APIs using the ```spec``` module via ```script``` or ```mvc``` way: +Let's review how to build rich APIs using the ```spec``` module using either the ```script``` or the ```mvc``` programming styles: ## script API @@ -173,7 +173,7 @@ public class Pets { } ``` -Previous examples are feature identical, but they were written in very different way. Still API Spec for them look likes: +The previous examples, while feature identical, are written very differently. The API Spec for both is still the same: ```yaml @@ -250,17 +250,17 @@ DELETE /api/pets/:id doc: A 204 ``` -> NOTE: We use ```textual``` representation here for simplicity and easy read, but keep in mind the output is compiled into a binary format. +> NOTE: We use a ```textual``` representation here for simplicity and readability, but keep in mind that the output is compiled into a binary format. ## script rules -Have a look at the previous examples again? Do you see anything special? No, right? +Consider the previous examples again. Do you notice anything special? No, right? -Well there are some minor things you need to keep in mind for getting or collecting route metadata from **script** routes: +There are however some minor issues that you need to keep in mind for getting or collecting route metadata from **script** routes: ### params -Params need to be in one sentence/statement, like: +Parameters need to be in one sentence/statement, like: ```java req -> { @@ -279,7 +279,7 @@ req -> { ### response type (a.k.a return type) -There should be **ONLY one** return statement and return type needs to be declared as variable, like: +There should be **ONLY one** return statement and the return type needs to be declared as a variable, like this: ```java req -> { @@ -290,7 +290,7 @@ req -> { } ``` -not like: +not like this: ```java req -> { @@ -313,13 +313,13 @@ req -> { } ``` -There is a workaround if these rules doesn't make sense to you and/or the algorithm fails to resolve the correct type. Please checkout next section. +If these rules don't make sense to you or if the algorithm fails to resolve the correct type, there is a workaround outlined in the next section. -## writing doc +## writing documentation -If you take a few minutes and write good quality doc the prize will be huge! +By taking a few minutes to write quality documentation for your code, you will reap huge benefits! -The tool takes and export the doc as part of your API!! +The spec tool will export the doc as part of your API! Here is an example on how to document script routes: @@ -392,25 +392,25 @@ response: doc: Returns 200 with a single pet or 404 ``` -Here you tell the tool response is a ```Pet``` via *JavaDoc* type references: ```{@link Type}```. +In this example you tell the spec tool that the response is a ```Pet``` via *JavaDoc* type references: ```{@link Type}```. -This is useful when the tool isn't able to detect the type for you and/or you aren't able to follow the return rules described before. +This is useful when the tool isn't able to detect the type for you and/or you aren't able to follow the return rules described earlier. -The status codes section have a ```200``` and ```404``` entries with default messages. You can override the default message by using ```code = message``` like: +The status codes section has entries for ```200``` and ```404``` with default messages. You can override the default message by using ```code = message``` like: ```html @return Returns a {@link Pet} with 200 = Success status or 404 = Missing ``` -## how it works? +## how does it work? -The spec module scan and parse the source code: ```*.java``` and produces a list of ```RouteSpec```. +The spec module scans and parses the source code files: ```*.java``` and produces a list of ```RouteSpec```. -It is required for getting information from ```script routes``` and extract ```JavaDoc```. +This is required for getting information from ```script routes``` and to extract ```JavaDoc```. -We don't need that for ```mvc routes``` because all the information is available via *Reflection* and ```java.lang.Method```. +However, this is not needed for ```mvc routes``` because all the information is available through *Reflection* and the ```java.lang.Method```. -So, the tool needs the source code in order to work properly. In order to use the tool at deploy time you must to setup the ```jooby:spec``` maven plugin: +Since the spec tool needs the source code in order to work properly you must set up the ```jooby:spec``` maven plugin in order to use the spec tool at deploy time: ```xml @@ -433,7 +433,7 @@ buildscript { dependencies { /** joobyRun */ - classpath group: 'org.jooby', name: 'jooby-gradle-plugin', version: '1.1.0' + classpath group: 'org.jooby', name: 'jooby-gradle-plugin', version: '1.1.1' } } @@ -445,6 +445,6 @@ apply plugin: 'jooby' gradle joobySpec ``` -The maven/gradle plugin exports the API into a binary format: ```.spec``` which can be parse it later. +The maven and gradle plugins export the API to a binary format: ```.spec``` which can be parsed at a later time. -That's all about the spec, as you see there are some minor rules to follow while writing ```script routes```. Now it's time see what tools and integrations are available!!! +That's all about the spec, as you've seen there are some minor rules to follow while writing ```script routes```. Now it's time see what tools and integrations are available! diff --git a/jooby-spec/pom.xml b/jooby-spec/pom.xml index e5eba6b308..bf0f9468a0 100644 --- a/jooby-spec/pom.xml +++ b/jooby-spec/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-spymemcached/README.md b/jooby-spymemcached/README.md index 4deaf908a7..e69eb56d52 100644 --- a/jooby-spymemcached/README.md +++ b/jooby-spymemcached/README.md @@ -12,7 +12,7 @@ Provides memcached access via [SpyMemcached](https://github.com/dustin/java-memc org.jooby jooby-spymemcached - 1.1.0 + 1.1.1 ``` @@ -62,7 +62,7 @@ or programmatically: org.jooby jooby-spymemcached - 1.1.0 + 1.1.1 ``` diff --git a/jooby-spymemcached/pom.xml b/jooby-spymemcached/pom.xml index 02d67227b3..986deea5f6 100644 --- a/jooby-spymemcached/pom.xml +++ b/jooby-spymemcached/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-swagger/README.md b/jooby-swagger/README.md index 4376267ddb..ae6930ae17 100644 --- a/jooby-swagger/README.md +++ b/jooby-swagger/README.md @@ -10,7 +10,7 @@ org.jooby jooby-swagger - 1.1.0 + 1.1.1 ``` diff --git a/jooby-swagger/pom.xml b/jooby-swagger/pom.xml index 4781909d10..ccb58c3d65 100644 --- a/jooby-swagger/pom.xml +++ b/jooby-swagger/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-thymeleaf/README.md b/jooby-thymeleaf/README.md index 021c941d5d..672b6a72e9 100644 --- a/jooby-thymeleaf/README.md +++ b/jooby-thymeleaf/README.md @@ -8,7 +8,7 @@ org.jooby jooby-thymeleaf - 1.1.0 + 1.1.1 ``` diff --git a/jooby-thymeleaf/pom.xml b/jooby-thymeleaf/pom.xml index 1e7986b461..2f1eaf0f9c 100644 --- a/jooby-thymeleaf/pom.xml +++ b/jooby-thymeleaf/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-unbescape/README.md b/jooby-unbescape/README.md index 51b4d4446a..1311a8d178 100644 --- a/jooby-unbescape/README.md +++ b/jooby-unbescape/README.md @@ -8,7 +8,7 @@ org.jooby jooby-unbescape - 1.1.0 + 1.1.1 ``` diff --git a/jooby-unbescape/pom.xml b/jooby-unbescape/pom.xml index e3ce9d357d..f9715701ce 100644 --- a/jooby-unbescape/pom.xml +++ b/jooby-unbescape/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-undertow/README.md b/jooby-undertow/README.md index 4d1a742803..63927b7bb5 100644 --- a/jooby-undertow/README.md +++ b/jooby-undertow/README.md @@ -12,7 +12,7 @@ org.jooby jooby-undertow - 1.1.0 + 1.1.1 ``` diff --git a/jooby-undertow/pom.xml b/jooby-undertow/pom.xml index d530150392..30dad51378 100644 --- a/jooby-undertow/pom.xml +++ b/jooby-undertow/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby-whoops/README.md b/jooby-whoops/README.md index e8e1488990..08fc98a4de 100644 --- a/jooby-whoops/README.md +++ b/jooby-whoops/README.md @@ -12,7 +12,7 @@ Pretty error page that helps you debug your web application. org.jooby jooby-whoops - 1.1.0 + 1.1.1 ``` diff --git a/jooby-whoops/pom.xml b/jooby-whoops/pom.xml index 80d1557b14..37f27da67c 100644 --- a/jooby-whoops/pom.xml +++ b/jooby-whoops/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/jooby/pom.xml b/jooby/pom.xml index 8db4d8f3dc..8e70205f36 100644 --- a/jooby/pom.xml +++ b/jooby/pom.xml @@ -5,7 +5,7 @@ org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 4.0.0 diff --git a/md/available-asset-procesors.md b/md/available-asset-procesors.md index 039d57212b..d8a45d4882 100644 --- a/md/available-asset-procesors.md +++ b/md/available-asset-procesors.md @@ -30,6 +30,8 @@ * [babel](https://github.com/jooby-project/jooby/tree/master/jooby-assets-babel): Ecma6 now via Babel. +* [react](https://github.com/jooby-project/jooby/tree/master/jooby-assets-react): React support. + * [rollup](https://github.com/jooby-project/jooby/tree/master/jooby-assets-rollup): rollup.js the next-generation ES6 module bundler. * [ng-annotate](https://github.com/jooby-project/jooby/tree/master/jooby-assets-ng-annotate): Add, remove and rebuild AngularJS dependency injection annotations. diff --git a/md/doc/assets-rollup/rollup.md b/md/doc/assets-rollup/rollup.md index c74d6b3fcd..ac7ab055f9 100644 --- a/md/doc/assets-rollup/rollup.md +++ b/md/doc/assets-rollup/rollup.md @@ -8,16 +8,16 @@ ```xml - org.jooby - jooby-assets-rollup - {{version}} - provided + org.jooby + jooby-rollup.js + {{version}} + provided ``` ## usage -``` +```java assets { fileset { home: ... @@ -66,7 +66,7 @@ See https://babeljs.io for more options. #### legacy -Add a ```export default``` line to legacy modules: +This plugins add a ```export default``` line to legacy modules: ``` rollup { @@ -109,3 +109,4 @@ import React from 'react'; # see also {{available-asset-procesors.md}} + \ No newline at end of file diff --git a/md/doc/assets/assets.md b/md/doc/assets/assets.md index 090035f3fe..7490568077 100644 --- a/md/doc/assets/assets.md +++ b/md/doc/assets/assets.md @@ -150,7 +150,7 @@ This module comes with a live compiler which is enabled by default in ```dev```: If you want to turn it off, just set the ```assets.watch = false```. -The fancy error page is generated by [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops), here is an example on how to unable [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops): +The fancy error page is generated by [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops), here is an example on how to enable [whoops](https://github.com/jooby-project/jooby/tree/master/jooby-whoops): ```java { diff --git a/md/doc/more/more.md b/md/doc/more/more.md index 96e5562ca8..006350345f 100644 --- a/md/doc/more/more.md +++ b/md/doc/more/more.md @@ -23,9 +23,10 @@ * [scanner](/doc/scanner): scan the application class-path and register `routes`, `modules`, `services` and `applications`. -# amazon web services +# web services * [aws](/doc/aws): wire AWS services and expose them in Guice. +* [consul](/doc/consul): service discovery and configuration service. # sitemap diff --git a/pom.xml b/pom.xml index 2fd8f674dc..92f2cbfc29 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.jooby jooby-project - 1.1.1-SNAPSHOT + 1.1.1 pom jooby-project