Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

branch merging 2.8.x (b5d2a1a) #397

Merged
merged 43 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
44e4274
Update sbt-sonatype to 3.8.1
scala-steward Nov 21, 2019
c387e2e
Update sbt-scalajs, scalajs-compiler to 0.6.31
scala-steward Nov 21, 2019
d1b8b91
Update sbt to 1.3.4
scala-steward Nov 23, 2019
054b525
Merge pull request #355 from scala-steward/update/sbt-1.3.4
mergify[bot] Nov 25, 2019
5ef85e2
Fix release process
marcospereira Nov 19, 2019
507a26a
Remove offending plugin. Reorder project definition
ignasi35 Nov 22, 2019
f53e74b
Merge branch 'master' into update/sbt-sonatype-3.8.1
mergify[bot] Nov 26, 2019
ac5a495
Merge pull request #353 from scala-steward/update/sbt-sonatype-3.8.1
mergify[bot] Nov 26, 2019
71d1c74
Merge branch 'master' into update/sbt-scalajs-0.6.31
mergify[bot] Nov 26, 2019
d5c4d2a
Merge pull request #354 from scala-steward/update/sbt-scalajs-0.6.31
mergify[bot] Nov 26, 2019
e8fe98c
Update interplay to 2.1.3
scala-steward Nov 26, 2019
1bcc470
Update play-docs-sbt-plugin to 2.8.0-RC2
scala-steward Nov 27, 2019
9fe557b
Update sbt-header to 5.3.1
scala-steward Nov 27, 2019
31189db
Update sbt-header to 5.3.1 (#360)
octonato Nov 28, 2019
6724b8b
Update play-docs-sbt-plugin to 2.8.0-RC2 (#359)
octonato Nov 28, 2019
24d8592
Update interplay to 2.1.3 (#358)
octonato Nov 28, 2019
c701538
[2.8.x]: Fix release process (bp #352) (#356)
octonato Nov 28, 2019
b8ee62c
Fix code examples in Scaladoc
cchantep Dec 2, 2019
102ea3f
Merge pull request #363 from playframework/fix/scaladoc
mergify[bot] Dec 3, 2019
603a96a
Update interplay to 2.1.4
scala-steward Dec 3, 2019
5faeb78
Update interplay to 2.1.4 (#364)
octonato Dec 3, 2019
31bb3b6
Update play-docs-sbt-plugin to 2.8.0-RC5
scala-steward Dec 3, 2019
67e293b
Merge pull request #365 from scala-steward/update/play-docs-sbt-plugi…
mergify[bot] Dec 4, 2019
cdc5a26
Update scalafmt-core to 2.3.2
scala-steward Dec 9, 2019
3cfa134
Update sbt-scalafmt to 2.3.0
scala-steward Dec 10, 2019
44606cf
Update sbt-scalafmt to 2.3.0 (#371)
octonato Dec 10, 2019
6b02b54
formatting
octonato Dec 10, 2019
1a1274e
Merge branch 'master' into update/scalafmt-core-2.3.2
mergify[bot] Dec 10, 2019
d546dbe
Merge pull request #370 from scala-steward/update/scalafmt-core-2.3.2
mergify[bot] Dec 10, 2019
ed1c238
Add iterableWrites2 because iterableWrites is incompatible with Map[A…
sirmax Dec 7, 2019
8c96ef5
Merge branch 'master' into fix/368-iterableWrites
mergify[bot] Dec 11, 2019
316c796
Merge pull request #369 from sirmax/fix/368-iterableWrites
mergify[bot] Dec 11, 2019
0ab6985
Update play-docs-sbt-plugin to 2.8.0
scala-steward Dec 12, 2019
217c194
Merge pull request #373 from scala-steward/update/play-docs-sbt-plugi…
mergify[bot] Dec 13, 2019
37795e0
Update scalacheck to 1.14.3
scala-steward Dec 13, 2019
2ded695
Automatically merge green PRs from scala-steward
marcospereira Dec 13, 2019
ff0db8d
Merge pull request #375 from scala-steward/update/scalacheck-1.14.3
mergify[bot] Dec 13, 2019
df8040f
Update sbt to 1.3.5
scala-steward Dec 13, 2019
37bc880
Update scalatest to 3.1.0
scala-steward Nov 30, 2019
1f07579
Automatically merge green PRs from scala-steward (#376)
octonato Dec 14, 2019
bb0dee8
Update sbt to 1.3.5 (#374)
ignasi35 Dec 16, 2019
590ed87
Merge remote-tracking branch 'upstream/2.8.x' into branch-merge-2.8.x
octonato Dec 19, 2019
1387409
Merge branch '2.8.x' into branch-merge-2.8.x
octonato Jan 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
pull_request_rules:

- name: Merge ScalaSteward's PRs that are ready
conditions:
- author=scala-steward
- status-success=Travis CI - Pull Request
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
actions:
merge:
method: merge

- name: Merge PRs that are ready
conditions:
- status-success=Travis CI - Pull Request
Expand Down
9 changes: 5 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ lazy val `play-json` = crossProject(JVMPlatform, JSPlatform)
.settings(
commonSettings ++ playJsonMimaSettings ++ Seq(
libraryDependencies ++= jsonDependencies(scalaVersion.value) ++ Seq(
"org.scalatest" %%% "scalatest" % "3.0.8" % Test,
"org.scalacheck" %%% "scalacheck" % "1.14.2" % Test,
"com.chuusai" %% "shapeless" % "2.3.3" % Test,
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided"
"org.scalatest" %%% "scalatest" % "3.1.0" % Test,
"org.scalatestplus" %%% "scalacheck-1-14" % "3.1.0.0" % Test,
"org.scalacheck" %%% "scalacheck" % "1.14.3" % Test,
"com.chuusai" %% "shapeless" % "2.3.3" % Test,
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided"
),
libraryDependencies ++=
(CrossVersion.partialVersion(scalaVersion.value) match {
Expand Down
4 changes: 3 additions & 1 deletion play-json/js/src/test/scala/JsonSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ package play.api.libs.json
import play.api.libs.json.Json._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsonSpec extends WordSpec with MustMatchers {
class JsonSpec extends AnyWordSpec with Matchers {
"Complete JSON should create full object" when {
"lose precision when parsing BigDecimals" in {
val n = BigDecimal("12345678901234567890.123456789")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ package play.api.libs.json
import play.api.libs.json.Json._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsObjectSpec extends WordSpec with MustMatchers {
class JsObjectSpec extends AnyWordSpec with Matchers {
"JsObject.deepMerge" should {
"not fail when the objects are empty" in {
Json.obj().deepMerge(Json.obj()).mustEqual(Json.obj())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ package play.api.libs.json
import play.api.libs.json.Json._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsPathSpec extends WordSpec with MustMatchers {
class JsPathSpec extends AnyWordSpec with Matchers {
"JsPath" should {
"retrieve simple path" in {
val obj = Json.obj("key1" -> Json.obj("key11" -> "value11"), "key2" -> "value2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ import play.api.libs.functional.Functor
import JsResult.functorJsResult

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsResultSpec extends WordSpec with MustMatchers {
class JsResultSpec extends AnyWordSpec with Matchers {
"JSON Result" should {
"be functor" in {
val jsres = JsSuccess("jsStr")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import play.api.libs.json.JsonNaming.SnakeCase
import play.api.libs.json.Json._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

case class User(age: Int, name: String)
case class Dog(name: String, master: User)
Expand Down Expand Up @@ -121,7 +123,7 @@ case class WithDefaultSnake(firstProp: String, defaultProp: String = "the defaul
case class Optional(props: Option[String])
case class OptionalWithDefault(props: Option[String] = None)

class JsonExtensionSpec extends WordSpec with MustMatchers {
class JsonExtensionSpec extends AnyWordSpec with Matchers {
"JsonExtension" should {
"create a reads[User]" in {
import play.api.libs.json.Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ package play.api.libs.json
import play.api.libs.json.Json._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsonRichSpec extends WordSpec with MustMatchers {
class JsonRichSpec extends AnyWordSpec with Matchers {
"JSON" should {
"create json with rich syntax" in {
def js = Json.obj(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import scala.collection.immutable.ListMap

import org.scalatest._
import org.scalacheck.Gen
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsonSharedSpec extends WordSpec with MustMatchers with org.scalatestplus.scalacheck.ScalaCheckPropertyChecks {
class JsonSharedSpec extends AnyWordSpec with Matchers with org.scalatestplus.scalacheck.ScalaCheckPropertyChecks {
case class User(id: Long, name: String, friends: List[User])

implicit val UserFormat: Format[User] = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import play.api.libs.json.Reads._
import play.api.libs.functional.syntax._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsonTransSpec extends WordSpec with MustMatchers {
class JsonTransSpec extends AnyWordSpec with Matchers {
"JSON transformers " should {
val js = Json.obj(
"field1" -> "alpha",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ import play.api.libs.json.Json._
import play.api.libs.functional.syntax._

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class JsonValidSharedSpec extends WordSpec with MustMatchers {
class JsonValidSharedSpec extends AnyWordSpec with Matchers {
"JSON reads" should {
"validate simple types" in {
JsString("string").validate[String].mustEqual(JsSuccess("string"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

package play.api.libs.json

import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec
object TestFormats {
implicit def eitherReads[A: Reads, B: Reads] = Reads[Either[A, B]] { js =>
implicitly[Reads[A]].reads(js) match {
Expand Down Expand Up @@ -35,7 +37,7 @@ final class TextId(val value: String) extends AnyVal
import org.scalatest._
import org.scalacheck.Gen

class MacroSpec extends WordSpec with MustMatchers with org.scalatestplus.scalacheck.ScalaCheckPropertyChecks {
class MacroSpec extends AnyWordSpec with Matchers with org.scalatestplus.scalacheck.ScalaCheckPropertyChecks {
"Reads" should {
"be generated for simple case class" in {
val json = Json.obj("bar" -> "lorem")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import java.math.BigInteger
import java.net.URI

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class ReadsSharedSpec extends WordSpec with MustMatchers {
class ReadsSharedSpec extends AnyWordSpec with Matchers {
"Reads" should {
"not repath the second result on flatMap" when {
val aPath = JsPath \ "a"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
package play.api.libs.json

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

final class TupleSpec extends WordSpec with MustMatchers {
final class TupleSpec extends AnyWordSpec with Matchers {
"Reading/Write tuples" should {
def check[T: Reads: Writes](value: T, expected: String) = {
Json.stringify(Json.toJson(value)).mustEqual(expected)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
package play.api.libs.json

import org.scalatest._
import org.scalatest.matchers.must.Matchers
import org.scalatest.wordspec.AnyWordSpec

class WritesSharedSpec extends WordSpec with MustMatchers {
class WritesSharedSpec extends AnyWordSpec with Matchers {
"Functional Writes" should {
implicit val locationWrites = Writes[Location] { location =>
Json.obj(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.3.6
sbt.version=1.3.6