Skip to content

Commit

Permalink
1.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydmeta committed Apr 22, 2015
1 parent 3eaf234 commit e4840eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ Compatible with Scala 2.10.x and 2.11.x
For basic enumeratum (with no Play support):
```scala
libraryDependencies ++= Seq(
"com.beachape" %% "enumeratum" % "1.2.0"
"com.beachape" %% "enumeratum" % "1.2.1"
)
```

For enumeratum with Play JSON:
```scala
libraryDependencies ++= Seq(
"com.beachape" %% "enumeratum" % "1.2.0",
"com.beachape" %% "enumeratum-play-json" % "1.2.0"
"com.beachape" %% "enumeratum" % "1.2.1",
"com.beachape" %% "enumeratum-play-json" % "1.2.1"
)
```

For enumeratum with full Play support:
```scala
libraryDependencies ++= Seq(
"com.beachape" %% "enumeratum" % "1.2.0",
"com.beachape" %% "enumeratum-play" % "1.2.0"
"com.beachape" %% "enumeratum" % "1.2.1",
"com.beachape" %% "enumeratum-play" % "1.2.1"
)
```

Expand Down
4 changes: 2 additions & 2 deletions enumeratum-core/src/test/scala/enumeratum/EnumSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class EnumSpec extends FunSpec with Matchers {
it("should be in the same order that the objects were declared in") {
import scala.util._
(1 to 100).foreach { i =>
val members = Random.shuffle((1 to Random.nextInt(20)).map { m => s"member$m" })
val members = Random.shuffle((1 to Random.nextInt(20)).map { m => s"Member$m" })
val membersDefs = members.map { m => s"case object $m extends Enum$i" }.mkString("\n\n")
val objDefinition =
s"""
Expand All @@ -169,7 +169,7 @@ class EnumSpec extends FunSpec with Matchers {
Enum$i
"""
val obj = Eval[Enum[_ <: EnumEntry]](objDefinition)
obj.values.map(_.toString) shouldBe members
obj.values.map(_.entryName) shouldBe members
}
}

Expand Down
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.typesafe.sbt.SbtGit.{GitKeys => git}

object Enumeratum extends Build {

lazy val theVersion = "1.2.1-SNAPSHOT"
lazy val theVersion = "1.2.1"
lazy val theScalaVersion = "2.11.6"
lazy val scalaVersions = Seq("2.10.5", "2.11.6")

Expand Down

0 comments on commit e4840eb

Please sign in to comment.