From c4976f38959fd859859238090553e34ab6f330e5 Mon Sep 17 00:00:00 2001 From: tminglei Date: Fri, 7 Feb 2014 21:04:33 +0800 Subject: [PATCH] jump to v0.5.0 --- README.md | 18 +++++++----------- examples/play-slick-sample/README | 3 --- examples/play-slick-sample/project/Build.scala | 8 ++++---- project/Build.scala | 7 +++---- 4 files changed, 14 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index babe0570..f57ece59 100644 --- a/README.md +++ b/README.md @@ -12,21 +12,21 @@ Slick-pg - `postgis` Geometry - Composite type (`basic`) -** _tested on `postgreSQL 9.3` with `Slick 2.0.0-RC1`._ +** _tested on `postgreSQL 9.3` with `Slick 2.0.0`._ 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_2.10.3" % "0.5.0-RC1" +libraryDependencies += "com.github.tminglei" % "slick-pg_2.10" % "0.5.0" ``` Or, in [maven](http://maven.apache.org/ "maven") project, you can add `slick-pg` to your `pom.xml` like this: ```xml com.github.tminglei - slick-pg_2.10.3 - 0.5.0-RC1 + slick-pg_2.10 + 0.5.0 ``` @@ -42,14 +42,10 @@ trait MyPostgresDriver extends PostgresDriver with PgDateSupport with PgRangeSupport with PgHStoreSupport - with PgJsonSupport + with PgPlayJsonSupport with PgSearchSupport with PgPostGISSupport { - /// for json support - type DOCType = text.Document - override val jsonMethods = org.json4s.native.JsonMethods - /// override val Implicit = new ImplicitsPlus {} override val simple = new SimpleQLPlus {} @@ -168,8 +164,8 @@ Support details Version history ------------------------------ -v0.5.0-beta2 (2-Feb-2014): -1) upgrade to slick v2.0.0-RC1 +v0.5.0 (7-Feb-2014): +1) upgrade to slick v2.0.0 2) add basic composite type support 3) array support: allow nested composite type 4) add play-json support diff --git a/examples/play-slick-sample/README b/examples/play-slick-sample/README index ddc46cfe..4d7857b3 100644 --- a/examples/play-slick-sample/README +++ b/examples/play-slick-sample/README @@ -3,6 +3,3 @@ This is your new Play 2.2 application (init from `play-slick`) This file will be packaged with your application, when using `play dist`. - ----------------------------------------------------------------------- -!!!NOTES: NOT ready, since `play-json` didn't support `slick2` by now diff --git a/examples/play-slick-sample/project/Build.scala b/examples/play-slick-sample/project/Build.scala index a727d3d1..beadd8c1 100644 --- a/examples/play-slick-sample/project/Build.scala +++ b/examples/play-slick-sample/project/Build.scala @@ -12,10 +12,10 @@ object ApplicationBuild extends Build { jdbc, filters, "com.typesafe.slick" % "slick_2.10" % "2.0.0", "com.typesafe.play" % "play-slick_2.10" % "0.6.0-SNAPSHOT", - "com.github.tminglei" % "slick-pg_2.10.3" % "0.5.0-beta2", - "com.github.tminglei" % "slick-pg_joda-time_2.10.3" % "0.5.0-beta2", - "com.github.tminglei" % "slick-pg_play-json_2.10.3" % "0.5.0-beta2", - "com.github.tminglei" % "slick-pg_jts_2.10.3" % "0.5.0-beta2", + "com.github.tminglei" % "slick-pg_2.10" % "0.5.0", + "com.github.tminglei" % "slick-pg_joda-time_2.10" % "0.5.0", + "com.github.tminglei" % "slick-pg_play-json_2.10" % "0.5.0", + "com.github.tminglei" % "slick-pg_jts_2.10" % "0.5.0", "org.postgresql" % "postgresql" % "9.3-1100-jdbc41", "joda-time" % "joda-time" % "2.3", "org.joda" % "joda-convert" % "1.5", diff --git a/project/Build.scala b/project/Build.scala index 1ed2cecf..03472a51 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -8,7 +8,6 @@ object SlickPgBuild extends Build { organization := "com.github.tminglei", scalaVersion := "2.10.3", - scalaBinaryVersion <<= scalaVersion, scalacOptions ++= Seq("-deprecation", "-feature", "-language:implicitConversions", "-language:reflectiveCalls", @@ -57,7 +56,7 @@ object SlickPgBuild extends Build { lazy val mainDependencies = Seq ( "org.scala-lang" % "scala-reflect" % "2.10.3", - "com.typesafe.slick" % "slick_2.10" % "2.0.0-RC1", + "com.typesafe.slick" % "slick_2.10" % "2.0.0", "org.postgresql" % "postgresql" % "9.3-1100-jdbc41", "junit" % "junit" % "4.11" % "test", "com.novocode" % "junit-interface" % "0.10" % "test" @@ -66,12 +65,12 @@ object SlickPgBuild extends Build { lazy val coreSettings = Seq( name := "slick-pg_core", description := "Slick extensions for PostgreSQL - Core", - version := "0.5.0-beta2", + version := "0.5.0", libraryDependencies := mainDependencies ) lazy val slickPgSettings = Seq( - version := "0.5.0-beta2", + version := "0.5.0", resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" )