Skip to content

Commit

Permalink
Common: bump specs2-core to 4.10.5 (close #197)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuwy committed Oct 28, 2020
1 parent 898ecbe commit 193043d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ object StorageTarget {
object RedshiftJdbc {
val empty = RedshiftJdbc(None, None, None, None, None, None, None, None, None, None, None, None)

implicit val jdbcDecoder: Decoder[RedshiftJdbc] =
implicit def jdbcDecoder: Decoder[RedshiftJdbc] =
Decoder.forProduct12("BlockingRowsMode", "DisableIsValidQuery", "DSILogLevel",
"FilterLevel", "loginTimeout", "loglevel", "socketTimeout", "ssl", "sslMode",
"sslRootCert", "tcpKeepAlive", "TCPKeepAliveMinutes")(RedshiftJdbc.apply)

implicit val jdbcEncoder: Encoder.AsObject[RedshiftJdbc] =
implicit def jdbcEncoder: Encoder.AsObject[RedshiftJdbc] =
Encoder.forProduct12("BlockingRowsMode", "DisableIsValidQuery", "DSILogLevel",
"FilterLevel", "loginTimeout", "loglevel", "socketTimeout", "ssl", "sslMode",
"sslRootCert", "tcpKeepAlive", "TCPKeepAliveMinutes")((j: RedshiftJdbc) =>
Expand Down Expand Up @@ -217,25 +217,25 @@ object StorageTarget {
.toEitherNel
.flatMap { json => (decodeStorageTarget(json).toEitherNel, validate(client)(json).toEitherNel).parMapN { case (config, _) => config } }

implicit val redsfhitConfigDecoder: Decoder[RedshiftConfig] =
implicit def redsfhitConfigDecoder: Decoder[RedshiftConfig] =
deriveDecoder[RedshiftConfig]

implicit val encryptedConfigDecoder: Decoder[EncryptedConfig] =
implicit def encryptedConfigDecoder: Decoder[EncryptedConfig] =
deriveDecoder[EncryptedConfig]

implicit val tunnerConfigDecoder: Decoder[TunnelConfig] =
implicit def tunnerConfigDecoder: Decoder[TunnelConfig] =
deriveDecoder[TunnelConfig]

implicit val bastionConfigDecoder: Decoder[BastionConfig] =
implicit def bastionConfigDecoder: Decoder[BastionConfig] =
deriveDecoder[BastionConfig]

implicit val destinationConfigDecoder: Decoder[DestinationConfig] =
implicit def destinationConfigDecoder: Decoder[DestinationConfig] =
deriveDecoder[DestinationConfig]

implicit val parameterStoreConfigDecoder: Decoder[ParameterStoreConfig] =
implicit def parameterStoreConfigDecoder: Decoder[ParameterStoreConfig] =
deriveDecoder[ParameterStoreConfig]

implicit val passwordConfigDecoder: Decoder[PasswordConfig] =
implicit def passwordConfigDecoder: Decoder[PasswordConfig] =
deriveDecoder[PasswordConfig]

implicit def schemaCriterionConfigDecoder: Decoder[SchemaCriterion] =
Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ object Dependencies {
val jSch = "0.1.55"

// Scala (test only)
val specs2 = "4.0.4"
val scalaCheck = "1.12.6"
val specs2 = "4.10.5"
val scalaCheck = "1.14.0"
}

val resolutionRepos = Seq(
Expand Down
4 changes: 4 additions & 0 deletions project/metals.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// DO NOT EDIT! This file is auto-generated.
// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.0-RC1-105-118a551b")

0 comments on commit 193043d

Please sign in to comment.