From 3e375a175c47e49896a47cf1984d90c626c5ac57 Mon Sep 17 00:00:00 2001 From: Gabriel Volpe Date: Sat, 9 May 2020 17:09:56 +0200 Subject: [PATCH 1/2] Updating Cats Effect and Redis4Cats version to 0.10.0-RC1 --- .../scala/dev/profunktor/redis4cats/effect/JRFutureSpec.scala | 1 - .../src/main/scala/dev/profunktor/redis4cats/LoggerIOApp.scala | 1 - project/Dependencies.scala | 2 +- version.sbt | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/core/src/test/scala/dev/profunktor/redis4cats/effect/JRFutureSpec.scala b/modules/core/src/test/scala/dev/profunktor/redis4cats/effect/JRFutureSpec.scala index 204b349d..046a1541 100644 --- a/modules/core/src/test/scala/dev/profunktor/redis4cats/effect/JRFutureSpec.scala +++ b/modules/core/src/test/scala/dev/profunktor/redis4cats/effect/JRFutureSpec.scala @@ -19,7 +19,6 @@ package dev.profunktor.redis4cats.effect import java.util.concurrent.CompletableFuture import cats.effect.{ Blocker, ContextShift, IO } -import cats.syntax.all._ import dev.profunktor.redis4cats.testutils.Redis4CatsAsyncFunSuite import scala.concurrent.ExecutionContext diff --git a/modules/examples/src/main/scala/dev/profunktor/redis4cats/LoggerIOApp.scala b/modules/examples/src/main/scala/dev/profunktor/redis4cats/LoggerIOApp.scala index 17c4cacc..ce043df8 100644 --- a/modules/examples/src/main/scala/dev/profunktor/redis4cats/LoggerIOApp.scala +++ b/modules/examples/src/main/scala/dev/profunktor/redis4cats/LoggerIOApp.scala @@ -17,7 +17,6 @@ package dev.profunktor.redis4cats import cats.effect.{ ExitCode, IO, IOApp } -import cats.syntax.functor._ import dev.profunktor.redis4cats.effect.Log import dev.profunktor.redis4cats.log4cats._ import io.chrisdavenport.log4cats.Logger diff --git a/project/Dependencies.scala b/project/Dependencies.scala index c04c10ec..ca6e62e5 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -4,7 +4,7 @@ object Dependencies { object Versions { val cats = "2.1.1" - val catsEffect = "2.1.2" + val catsEffect = "2.1.3" val fs2 = "2.3.0" val log4cats = "1.0.1" diff --git a/version.sbt b/version.sbt index 46837583..bfae9f8a 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.10.0-SNAPSHOT" +version in ThisBuild := "0.10.0-RC1" From 8bda1c1e7462da2b3893de0e948cce9f2d087293 Mon Sep 17 00:00:00 2001 From: Gabriel Volpe Date: Sat, 9 May 2020 17:14:43 +0200 Subject: [PATCH 2/2] s/Versions/V --- project/Dependencies.scala | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index ca6e62e5..843ba7d4 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -2,7 +2,7 @@ import sbt._ object Dependencies { - object Versions { + object V { val cats = "2.1.1" val catsEffect = "2.1.3" val fs2 = "2.3.0" @@ -20,32 +20,32 @@ object Dependencies { } object Libraries { - def cats(artifact: String): ModuleID = "org.typelevel" %% s"cats-$artifact" % Versions.cats - def log4cats(artifact: String): ModuleID = "io.chrisdavenport" %% s"log4cats-$artifact" % Versions.log4cats + def cats(artifact: String): ModuleID = "org.typelevel" %% s"cats-$artifact" % V.cats + def log4cats(artifact: String): ModuleID = "io.chrisdavenport" %% s"log4cats-$artifact" % V.log4cats - val catsEffect = "org.typelevel" %% "cats-effect" % Versions.catsEffect - val fs2Core = "co.fs2" %% "fs2-core" % Versions.fs2 + val catsEffect = "org.typelevel" %% "cats-effect" % V.catsEffect + val fs2Core = "co.fs2" %% "fs2-core" % V.fs2 val log4CatsCore = log4cats("core") val log4CatsSlf4j = log4cats("slf4j") - val redisClient = "io.lettuce" % "lettuce-core" % Versions.lettuce - val logback = "ch.qos.logback" % "logback-classic" % Versions.logback + val redisClient = "io.lettuce" % "lettuce-core" % V.lettuce + val logback = "ch.qos.logback" % "logback-classic" % V.logback // Scala test libraries val catsLaws = cats("core") val catsTestKit = cats("testkit") val catsTestKitST = "org.typelevel" %% "cats-testkit-scalatest" % "1.0.1" - val scalaTest = "org.scalatest" %% "scalatest" % Versions.scalaTest - val scalaCheck = "org.scalacheck" %% "scalacheck" % Versions.scalaCheck + val scalaTest = "org.scalatest" %% "scalatest" % V.scalaTest + val scalaCheck = "org.scalacheck" %% "scalacheck" % V.scalaCheck } object CompilerPlugins { - val betterMonadicFor = compilerPlugin("com.olegpy" %% "better-monadic-for" % Versions.betterMonadicFor) - val contextApplied = compilerPlugin("org.augustjune" %% "context-applied" % Versions.contextApplied) + val betterMonadicFor = compilerPlugin("com.olegpy" %% "better-monadic-for" % V.betterMonadicFor) + val contextApplied = compilerPlugin("org.augustjune" %% "context-applied" % V.contextApplied) val kindProjector = compilerPlugin( - "org.typelevel" % "kind-projector" % Versions.kindProjector cross CrossVersion.full + "org.typelevel" % "kind-projector" % V.kindProjector cross CrossVersion.full ) }