Permalink
Browse files

Aligned with 2.5

Found the spec needed to be created as an object to avoid "Could not create an instance of net.liftmodules.openid.RawHelperSpec"
  • Loading branch information...
1 parent 5cd9d88 commit 2987b60da225d6ca23e8355c12da7e9f2d947f47 @d6y d6y committed Sep 9, 2012
Showing with 13 additions and 13 deletions.
  1. +12 −12 build.sbt
  2. +1 −1 src/test/scala/net/liftmodules/openid/RawHelperSpec.scala
View
@@ -1,33 +1,33 @@
name := "openid"
-liftVersion <<= liftVersion ?? "2.4"
+organization := "net.liftmodules"
-version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" }
+liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"
-organization := "net.liftmodules"
+version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" }
+
+scalaVersion := "2.9.2"
-scalaVersion := "2.9.1"
+scalacOptions ++= Seq("-unchecked", "-deprecation")
-crossScalaVersions := Seq("2.8.1", "2.9.0-1", "2.9.1")
+crossScalaVersions := Seq("2.9.2", "2.9.1-1", "2.9.1", "2.9.0-1", "2.9.0")
+
+resolvers += "CB Central Mirror" at "http://repo.cloudbees.com/content/groups/public"
resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
libraryDependencies <++= liftVersion { v =>
- "net.liftweb" %% "lift-mapper" % v % "compile->default" ::
+ "net.liftweb" %% "lift-mapper" % v % "compile->default" ::
Nil
-}
+}
libraryDependencies <++= scalaVersion { sv =>
"org.openid4java" % "openid4java-consumer" % "0.9.5" ::
(sv match {
- case "2.8.0" => "org.scala-tools.testing" %% "specs" % "1.6.5" % "test"
- case "2.9.1" => "org.scala-tools.testing" %% "specs" % "1.6.9" % "test"
- case "2.9.2" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test"
+ case "2.9.2" | "2.9.1" | "2.9.1-1" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test"
case _ => "org.scala-tools.testing" %% "specs" % "1.6.8" % "test"
}) ::
(sv match {
- case "2.8.0" => "org.scalacheck" %% "scalacheck" % "1.7" % "test"
- case "2.8.1" | "2.8.2" => "org.scalacheck" %% "scalacheck" % "1.8" % "test"
case "2.9.2" => "org.scalacheck" % "scalacheck_2.9.1" % "1.9" % "test"
case _ => "org.scalacheck" %% "scalacheck" % "1.9" % "test"
}) ::
@@ -22,7 +22,7 @@ import java.util.{List, ArrayList}
import org.specs.Specification
-object RawHelperSpec extends Specification {
+class RawHelperSpec extends Specification {
"RawUtils" should {
"Convert a java.util.List" in {
val org: List[Object] = new ArrayList[Object]()

0 comments on commit 2987b60

Please sign in to comment.