Skip to content

Commit ccc3593

Browse files
committed
Publish 2.0.0-M4 for Scala{.js} 2.10, 2.11 and 2.12
1 parent b249371 commit ccc3593

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ chrono.MinguoDate.now(fixedClock).toString == "Minguo ROC 98-02-13"
4949
#### Usage
5050

5151
The *scala-java-time* library is currently available for Scala (JVM, version 8 and later) and Scala.js (JavaScript).
52-
Scala 2.10, 2.11, and 2.12 (2.12.0-M5 and later) are supported.
52+
Scala 2.10, 2.11, and 2.12 are supported.
5353

5454
To get started with SBT, add one (or both) of these dependencies:
5555

56-
- `libraryDependencies += "io.github.soc" %% "scala-java-time" % "2.0.0-M3"` (for Scala)
57-
- `libraryDependencies += "io.github.soc" %%% "scala-java-time" % "2.0.0-M3"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)
56+
- `libraryDependencies += "io.github.soc" %% "scala-java-time" % "2.0.0-M4"` (for Scala)
57+
- `libraryDependencies += "io.github.soc" %%% "scala-java-time" % "2.0.0-M4"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)
5858

5959
#### Building
6060
This project builds using sbt.

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import sbt._
33
import io.github.soc.testng.{TestNGPlugin, TestNGScalaJSPlugin}
44

55
val scalaVer = "2.11.8"
6-
val crossScalaVer = Seq(scalaVer, "2.10.6", "2.12.0-M5")
6+
val crossScalaVer = Seq(scalaVer, "2.10.6", "2.12.0")
77

88
lazy val commonSettings = Seq(
99
name := "scala-java-time",
10-
version := "2.0.0-M3",
10+
version := "2.0.0-M4",
1111
organization := "io.github.soc",
1212
homepage := Some(url("https://github.com/soc/scala-java-time")),
1313
licenses := Seq("BSD 3-Clause License" -> url("https://opensource.org/licenses/BSD-3-Clause")),
@@ -58,7 +58,7 @@ lazy val scalajavatime = crossProject.crossType(CrossType.Full).in(file("."))
5858
TestNGPlugin.testNGSuites := Seq(((resourceDirectory in Test).value / "testng.xml").absolutePath)
5959
).jsSettings(
6060
libraryDependencies ++= Seq(
61-
"com.github.cquiroz" %%% "scala-java-locales" % "0.3.0-cldr30"
61+
"com.github.cquiroz" %%% "scala-java-locales" % "0.3.1-cldr30"
6262
)
6363
)
6464

changes.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
<author>Stephen Colebourne (Java version)</author>
88
</properties>
99
<body>
10-
1110
<!-- types are add, fix, remove, update -->
11+
<release version="2.0.0-M4" date="2016-11-06" description="v2.0.0-M4">
12+
<action dev="cquiroz" type="update" >
13+
Update locales version using CLDR 30
14+
</action>
15+
</release>
1216
<release version="2.0.0-M3" date="2016-08-09" description="v2.0.0-M3">
1317
<action dev="soc" type="update" >
1418
Cherry-pick fixes from upstream.

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.12
1+
sbt.version=0.13.13

project/plugins.sbt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
resolvers += Resolver.sonatypeRepo("public")
22

3-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.11")
4-
5-
addSbtPlugin("io.github.soc" % "sbt-testng" % "4.0.0-M2")
6-
7-
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M13")
3+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.13")
4+
addSbtPlugin("io.github.soc" % "sbt-testng" % "4.0.0-M3")
5+
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M14-7")
86

97
// Incompatible with 2.12.0-M5
108
// addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5")

shared/src/test/scala/org/threeten/bp/TestExamples.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ import org.testng.Assert.assertEquals
2727
val duration = Duration.between(date, tomorrow)
2828
assertEquals(duration.toMinutes, 1440L)
2929

30-
val instant = Instant.now(fixedClock)
30+
val instant1 = Instant.now(fixedClock)
31+
val instant2 = Instant.parse("2007-12-03T10:15:30.00Z")
3132

3233
val period = Period.between(date.toLocalDate, tomorrow.toLocalDate)
3334
assertEquals(period.get(temporal.ChronoUnit.DAYS), 1L)

0 commit comments

Comments
 (0)