diff --git a/README.md b/README.md index 4e79baa5..65066923 100644 --- a/README.md +++ b/README.md @@ -181,47 +181,47 @@ Install ------- To use `slick-pg` in [sbt](http://www.scala-sbt.org/ "slick-sbt") project, add the following to your project file: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg" % "0.11.2" ``` > If you need `joda-time` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_joda-time" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_joda-time" % "0.11.2" ``` > If you need `jts` geom support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_jts" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_jts" % "0.11.2" ``` > If you need `jdk8 date` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_date2" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_date2" % "0.11.2" ``` > If you need `threeten-bp` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_threeten" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_threeten" % "0.11.2" ``` > If you need `json4s` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_json4s" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_json4s" % "0.11.2" ``` > If you need `play-json` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_play-json" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_play-json" % "0.11.2" ``` > If you need `spray-json` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_spray-json" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_spray-json" % "0.11.2" ``` > If you need `argonaut json` support, pls append dependency: ```scala -libraryDependencies += "com.github.tminglei" %% "slick-pg_argonaut" % "0.11.1" +libraryDependencies += "com.github.tminglei" %% "slick-pg_argonaut" % "0.11.2" ``` @@ -230,7 +230,7 @@ Or, in [maven](http://maven.apache.org/ "maven") project, you can add `slick-pg` com.github.tminglei slick-pg_2.11 - 0.11.1 + 0.11.2 ... diff --git a/project/Build.scala b/project/Build.scala index ac3579a2..d51e7be1 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -7,7 +7,7 @@ object SlickPgBuild extends Build { organizationName := "slick-pg", organization := "com.github.tminglei", name := "slick-pg", - version := "0.11.1", + version := "0.11.2", scalaVersion := "2.11.7", crossScalaVersions := Seq("2.11.7", "2.10.6"), diff --git a/src/main/scala/com/github/tminglei/slickpg/PgRangeSupport.scala b/src/main/scala/com/github/tminglei/slickpg/PgRangeSupport.scala index bd8ad22b..032c0767 100644 --- a/src/main/scala/com/github/tminglei/slickpg/PgRangeSupport.scala +++ b/src/main/scala/com/github/tminglei/slickpg/PgRangeSupport.scala @@ -89,7 +89,7 @@ trait PgRangeSupport extends range.PgRangeExtensions with utils.PgCommonJdbcType def nextTimestampRange() = nextTimestampRangeOption().orNull def nextTimestampRangeOption() = r.nextStringOption().map(mkRangeFn(toTimestamp)) def nextDateRange() = nextDateRangeOption().orNull - def nextDateRangeOption() = r.nextStringOption().map(toSQLDate) + def nextDateRangeOption() = r.nextStringOption().map(mkRangeFn(toSQLDate)) } ////////////////////////////////////////////////////////////////////