Skip to content

Commit

Permalink
Merge pull request #1 from heralight/scala-2.10
Browse files Browse the repository at this point in the history
upgrade to scala 2.10
  • Loading branch information
d6y committed Jan 10, 2013
2 parents c8e2ab1 + bdeb37b commit 0240018
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
14 changes: 5 additions & 9 deletions build.sbt
100644 → 100755
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name := "imaging"


liftVersion <<= liftVersion ?? "2.5-SNAPSHOT" liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"


version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" } version <<= liftVersion apply { _ + "-1.2-SNAPSHOT" }


organization := "net.liftmodules" organization := "net.liftmodules"


scalaVersion := "2.9.2" scalaVersion := "2.10.0"


crossScalaVersions := Seq("2.9.2", "2.9.1-1", "2.9.1", "2.9.0-1", "2.9.0") crossScalaVersions := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")


resolvers += "CB Central Mirror" at "http://repo.cloudbees.com/content/groups/public" resolvers += "CB Central Mirror" at "http://repo.cloudbees.com/content/groups/public"


Expand All @@ -24,13 +24,9 @@ libraryDependencies <++= liftVersion { v =>
libraryDependencies <++= scalaVersion { sv => libraryDependencies <++= scalaVersion { sv =>
"org.apache.sanselan" % "sanselan" % "0.97-incubator" :: "org.apache.sanselan" % "sanselan" % "0.97-incubator" ::
(sv match { (sv match {
case "2.9.2" | "2.9.1" | "2.9.1-1" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test" case "2.9.2" | "2.9.1" | "2.9.1-1" => "org.specs2" %% "specs2" % "1.12.3" % "test"
case _ => "org.scala-tools.testing" %% "specs" % "1.6.8" % "test" case "2.10.0" => "org.specs2" %% "specs2" % "1.13" % "test"
}) :: }) ::
(sv match {
case "2.9.2" => "org.scalacheck" % "scalacheck_2.9.1" % "1.9" % "test"
case _ => "org.scalacheck" %% "scalacheck" % "1.9" % "test"
}) ::
Nil Nil
} }


Expand Down
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.12.1
2 changes: 1 addition & 1 deletion src/main/scala/net/liftmodules/imaging/ImageHelpers.scala
100644 → 100755
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
/* /*
* Copyright 2010 WorldWide Conferencing, LLC * Copyright 2010-2013 WorldWide Conferencing, LLC
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/net/liftmodules/imaging/ImageResizer.scala
100644 → 100755
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
/* /*
* Copyright 2010-2011 WorldWide Conferencing, LLC * Copyright 2010-2013 WorldWide Conferencing, LLC
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -246,4 +246,4 @@ class ImageResizer(renderingHintsMap:Map[java.awt.RenderingHints.Key,Any], multi
ret ret
} }


} }
5 changes: 2 additions & 3 deletions src/test/scala/net/liftmodules/imaging/ImageResizerSpec.scala
100644 → 100755
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
/* /*
* Copyright 2010-2011 WorldWide Conferencing, LLC * Copyright 2010-2013 WorldWide Conferencing, LLC
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@
package net.liftmodules package net.liftmodules
package imaging package imaging



import org.specs2.mutable._
import org.specs.Specification




class ImageResizerSpec extends Specification { class ImageResizerSpec extends Specification {
Expand Down

0 comments on commit 0240018

Please sign in to comment.