Skip to content

Commit

Permalink
jump to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tminglei committed Feb 7, 2014
1 parent 8c85758 commit c4976f3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 22 deletions.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.github.tminglei</groupId>
<artifactId>slick-pg_2.10.3</artifactId>
<version>0.5.0-RC1</version>
<artifactId>slick-pg_2.10</artifactId>
<version>0.5.0</version>
</dependency>
```

Expand All @@ -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 {}

Expand Down Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions examples/play-slick-sample/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions examples/play-slick-sample/project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 3 additions & 4 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand All @@ -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/"
)

Expand Down

0 comments on commit c4976f3

Please sign in to comment.