clean code CouchbasePlugin because duplicate code in connectDefault & connectAll: I replace those 2 method by a [private] def connect
update dependencies:
+ play 2.1.0 -> 2.2.0
+ scala 2.10.0 -> 2.10.2
+ couchbase-client 1.1.6 -> 1.1.9. TODO update to 1.2.0 & use new features of this version: http://docs.couchbase.com/couchbase-sdk-java-1.2/#release-notes-for-couchbase-client-library-java-120-ga-13-september-2013
+ sbt 0.13.0 (play 2.2 use this version of sbt)
+ sbt-idea 1.3.0-SNAPSHOT -> 1.5.1
Results.Async is deprecated in 2.2.0: Use Action.async to build async actions instead
comment out unused private vals & fixes some warning by IntelliJ. Incompatible note: I change try{..} catch{ case e => ..} to { case NonFatal(e) =>..}
new Promise(Future<A>) is deprecated Since 2.2: use wrap(Future) instead
+ change DesignDocument[_] to DesignDocument (IntelliJ mark error)
+ play.api.libs.iteratee.Iteratee#mapDone is deprecated in 2.2.0: use Iteratee.map instead
+ fixes error "Too many arguments" when matching "case JsUndefined(_)". Must remove the underline (_), or use: "case _: JsUndefined"
+ Results.Async is deprecated in 2.2.0: Use Action.async to build async actions instead
some misc change to mute the warning from IntelliJ