Skip to content
Browse files

2.0.0-beta6 + workaround for publish bug

  • Loading branch information...
1 parent 3297cb7 commit 31adbdffbb524cdcbec6cda35fc909dfc008413a @jliszka jliszka committed
Showing with 19 additions and 5 deletions.
  1. +8 −0 CHANGELOG.md
  2. +4 −3 README.md
  3. +7 −2 project/RogueBuild.scala
View
8 CHANGELOG.md
@@ -1,5 +1,13 @@
## Release Notes
+# 2.0.0-beta6
+
+- simplified phantom types
+- use size() instead of count() to respect skip and limit
+- shardkey awareness
+- lots of renames, most notably AbstractQuery and ModifyQuery => Query
+- pass a negative number to DBCursor.limit() so that the cursor closes
+
# 2.0.0-beta5
- Internal: Use standard Either convention of failure on the Left.
View
7 README.md
@@ -37,8 +37,9 @@ Because Rogue is designed to work with several versions of lift-mongodb-record (
you'll want to declare your dependency on Rogue as `intransitive` and declare an explicit dependency
on the version of Lift you want to target. In sbt, that would look like the following:
- val rogue = "com.foursquare" %% "rogue-core" % "2.0.0-beta5" intransitive()
- val rogue = "com.foursquare" %% "rogue-lift" % "2.0.0-beta5" intransitive()
+ val rogueField = "com.foursquare" %% "rogue-field" % "2.0.0-beta6" intransitive()
+ val rogueCore = "com.foursquare" %% "rogue-core" % "2.0.0-beta6" intransitive()
+ val rogueLift = "com.foursquare" %% "rogue-lift" % "2.0.0-beta6" intransitive()
val liftMongoRecord = "net.liftweb" %% "lift-mongodb-record" % "2.4-M5"
You can substitute "2.4-M2" for whatever version of Lift you are using. Rogue has been used in
@@ -88,7 +89,7 @@ for "findAndModify" query objects
## Releases
-The latest release is 2.0.0-beta5. See the [changelog](https://github.com/foursquare/rogue/blob/master/CHANGELOG.md) for more details.
+The latest release is 2.0.0-beta6. See the [changelog](https://github.com/foursquare/rogue/blob/master/CHANGELOG.md) for more details.
New since 1.1.0:
View
9 project/RogueBuild.scala
@@ -9,12 +9,12 @@ object RogueBuild extends Build {
lazy val all: Project = Project("all", file(".")) aggregate(
field, core, lift)
- lazy val field = Project("rogue-field", file("rogue-field/"))
+ lazy val field = Project("rogue-field", file("rogue-field/")) dependsOn()
lazy val core = Project("rogue-core", file("rogue-core/")) dependsOn(field % "compile;test->test;runtime->runtime")
lazy val lift = Project("rogue-lift", file("rogue-lift/")) dependsOn(core % "compile;test->test;runtime->runtime")
lazy val defaultSettings: Seq[Setting[_]] = Seq(
- version := "2.0.0-beta6-SNAPSHOT",
+ version := "2.0.0-beta6",
organization := "com.foursquare",
crossScalaVersions := Seq("2.9.1", "2.9.0-1", "2.9.0"),
publishMavenStyle := true,
@@ -56,6 +56,11 @@ object RogueBuild extends Build {
},
retrieveManaged := true,
scalacOptions ++= Seq("-deprecation", "-unchecked"),
+
+ // Hack to work around SBT bug generating scaladoc for projects with no dependencies.
+ // https://github.com/harrah/xsbt/issues/85
+ unmanagedClasspath in Compile += Attributed.blank(new java.io.File("doesnotexist")),
+
testFrameworks += new TestFramework("com.novocode.junit.JUnitFrameworkNoMarker"),
credentials ++= {
val sonatype = ("Sonatype Nexus Repository Manager", "oss.sonatype.org")

0 comments on commit 31adbdf

Please sign in to comment.
Something went wrong with that request. Please try again.