Skip to content

Commit d4c10ab

Browse files
committed
[#48] Update project dependencies to latest version
1 parent d342189 commit d4c10ab

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

build.sbt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name := "stripe-scala"
22

33
val currentScalaVersion = "2.12.8"
44
val scala211Version = "2.11.11"
5-
val circeVersion = "0.9.3"
5+
val circeVersion = "0.11.1"
66

77
scalaVersion := currentScalaVersion
88

@@ -31,22 +31,23 @@ Defaults.itSettings
3131

3232
configs(IntegrationTest)
3333

34-
val enumeratumVersion = "1.5.12"
35-
val enumeratumCirceVersion = "1.5.14"
36-
val akkaStreamJson = "3.4.0"
34+
val enumeratumVersion = "1.5.13"
35+
val enumeratumCirceVersion = "1.5.21"
36+
val akkaStreamJson = "3.5.0"
3737

3838
libraryDependencies ++= Seq(
39-
"com.typesafe.akka" %% "akka-http" % "10.0.9",
39+
"com.typesafe.akka" %% "akka-http" % "10.1.8",
40+
"com.typesafe.akka" %% "akka-stream" % "2.5.22",
4041
"de.knutwalker" %% "akka-stream-circe" % akkaStreamJson,
4142
"de.knutwalker" %% "akka-http-circe" % akkaStreamJson,
4243
"io.circe" %% "circe-core" % circeVersion,
4344
"io.circe" %% "circe-generic" % circeVersion,
4445
"io.circe" %% "circe-parser" % circeVersion,
4546
"com.beachape" %% "enumeratum" % enumeratumVersion,
4647
"com.beachape" %% "enumeratum-circe" % enumeratumCirceVersion,
47-
"com.iheart" %% "ficus" % "1.4.1",
48-
"com.typesafe.scala-logging" %% "scala-logging" % "3.7.2",
49-
"org.scalatest" %% "scalatest" % "3.0.3" % "test, it",
48+
"com.iheart" %% "ficus" % "1.4.6",
49+
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
50+
"org.scalatest" %% "scalatest" % "3.0.7" % "test, it",
5051
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test, it"
5152
)
5253

project/plugins.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.15")
1+
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.16")
22

3-
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.8")
3+
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.11")
44

5-
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
5+
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")
66

7-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
7+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.5")
88

9-
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "2.0.0")
9+
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0")

src/main/scala/org/mdedetrich/stripe/v1/Collections.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ object Collections {
1818
trait ListJsonMappers[A] {
1919
protected def listDecoder[B <: List[A]](
2020
implicit decoder: Decoder[A]): ((String, Boolean, scala.List[A], Option[Long]) => B) => Decoder[B] =
21-
Decoder.forProduct4[String, Boolean, scala.List[A], Option[Long], B]("url", "has_more", "data", "total_count")
21+
Decoder.forProduct4[B, String, Boolean, scala.List[A], Option[Long]]("url", "has_more", "data", "total_count")
2222

2323
protected def listEncoder[B <: List[A]](implicit encoder: Encoder[A]): ObjectEncoder[B] =
24-
Encoder.forProduct5[String, String, Boolean, scala.List[A], Option[Long], B]("object",
24+
Encoder.forProduct5[B, String, String, Boolean, scala.List[A], Option[Long]]("object",
2525
"url",
2626
"has_more",
2727
"data",

0 commit comments

Comments
 (0)