Skip to content

Commit

Permalink
Update dependency versions (#153)
Browse files Browse the repository at this point in the history
* Update dependency versions

* Format
  • Loading branch information
travisbrown authored May 26, 2021
1 parent c01857d commit 33588ac
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 2.6.4
version = 2.7.5
continuationIndent.defnSite = 2
docstrings = JavaDoc
includeCurlyBraceInSelectChains = false
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ val compilerOptions = Seq(
val scala212 = "2.12.13"
val scala213 = "2.13.6"

val circeVersion = "0.13.0"
val circeVersion = "0.14.0"
val paradiseVersion = "2.1.1"

val jawnVersion = "1.0.0"
val scalaTestVersion = "3.2.3"
val jawnVersion = "1.1.2"
val scalaTestVersion = "3.2.9"
val scalaTestPlusVersion = "3.2.2.0"

val previousCirceGenericExtrasVersion = "0.13.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ object ConfiguredDecoder extends IncompleteConfiguredDecoders {
val keyAnnotationMap: Map[String, String] =
keyNames
.zip(keysToList(keys()))
.collect {
case (field, Some(keyAnnotation)) => (field, keyAnnotation.value)
.collect { case (field, Some(keyAnnotation)) =>
(field, keyAnnotation.value)
}
.toMap

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ object ConfiguredAsObjectEncoder {
fieldsToList(fields())
.map(_.name)
.zip(keyAnnotations)
.collect {
case (field, Some(keyAnnotation)) => (field, keyAnnotation.value)
.collect { case (field, Some(keyAnnotation)) =>
(field, keyAnnotation.value)
}
.toMap

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ package examples {
)

val decodeBar: Decoder[Bar] = Decoder.forProduct2("i", "s")(Bar.apply)
val encodeBar: Encoder[Bar] = Encoder.forProduct2("i", "s") {
case Bar(i, s) => (i, s)
val encodeBar: Encoder[Bar] = Encoder.forProduct2("i", "s") { case Bar(i, s) =>
(i, s)
}
}

Expand All @@ -101,8 +101,8 @@ package examples {
)

implicit val decodeBaz: Decoder[Baz] = Decoder[List[String]].map(Baz(_))
implicit val encodeBaz: Encoder[Baz] = Encoder.instance {
case Baz(xs) => Json.fromValues(xs.map(Json.fromString))
implicit val encodeBaz: Encoder[Baz] = Encoder.instance { case Baz(xs) =>
Json.fromValues(xs.map(Json.fromString))
}
}

Expand All @@ -116,8 +116,8 @@ package examples {
)

val decodeBam: Decoder[Bam] = Decoder.forProduct2("w", "d")(Bam.apply)(Wub.decodeWub, implicitly)
val encodeBam: Encoder[Bam] = Encoder.forProduct2[Bam, Wub, Double]("w", "d") {
case Bam(w, d) => (w, d)
val encodeBam: Encoder[Bam] = Encoder.forProduct2[Bam, Wub, Double]("w", "d") { case Bam(w, d) =>
(w, d)
}(Wub.encodeWub, implicitly)
}

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.4.7
sbt.version=1.5.2
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ addSbtPlugin("com.github.sbt" % "sbt-release" % "1.0.15")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.1")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.1")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.2")
addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.11.0")

0 comments on commit 33588ac

Please sign in to comment.