Skip to content

Commit

Permalink
Merge pull request #736 from scala-steward/update/cats-core-2.2.0
Browse files Browse the repository at this point in the history
Update cats-core, cats-laws to 2.2.0
  • Loading branch information
adamw committed Sep 11, 2020
2 parents 9915447 + 8f42238 commit 4f26cda
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ lazy val cats: ProjectMatrix = (projectMatrix in file("integrations/cats"))
.settings(
name := "tapir-cats",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "2.1.1",
"org.typelevel" %% "cats-core" % "2.2.0",
scalaTest % Test,
scalaCheck % Test,
scalaTestPlusScalaCheck % Test,
"org.typelevel" %% "discipline-scalatest" % "2.0.1" % Test,
"org.typelevel" %% "cats-laws" % "2.1.1" % Test
"org.typelevel" %% "cats-laws" % "2.2.0" % Test
)
)
.jvmPlatform(scalaVersions = allScalaVersions)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package sttp.tapir.client.sttp

import cats.effect.{ContextShift, IO}
import cats.implicits._
import sttp.tapir.{DecodeResult, Endpoint}
import sttp.tapir.client.tests.ClientTests
import sttp.client._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.http4s.server.blaze.BlazeServerBuilder
import org.http4s.syntax.kleisli._
import sttp.tapir._
import sttp.tapir.server.http4s._
import cats.implicits._
import cats.syntax.all._

import scala.concurrent.ExecutionContext

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sttp.tapir.examples
import java.util.concurrent.atomic.AtomicReference

import cats.effect._
import cats.implicits._
import cats.syntax.all._
import com.github.ghik.silencer.silent
import io.circe.generic.auto._
import org.http4s.HttpRoutes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sttp.tapir.examples
import java.nio.charset.StandardCharsets

import cats.effect._
import cats.implicits._
import cats.syntax.all._
import org.http4s.HttpRoutes
import org.http4s.server.Router
import org.http4s.server.blaze.BlazeServerBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import zio.{Has, IO, Runtime, Task, UIO, ZIO, ZLayer, ZEnv}
import sttp.tapir.ztapir._
import sttp.tapir.server.http4s.ztapir._
import sttp.tapir.swagger.http4s.SwaggerHttp4s
import cats.implicits._
import cats.syntax.all._
import UserLayer.UserService
import sttp.tapir.examples.ZioExampleHttp4sServer.Pet
import zio.console.Console
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package sttp.tapir.server.akkahttp

import cats.implicits._
import cats.syntax.all._
import akka.actor.ActorSystem
import akka.http.scaladsl.Http
import akka.http.scaladsl.server.Route
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sttp.tapir.server.http4s
import cats.~>
import cats.data._
import cats.effect.{ContextShift, Sync}
import cats.implicits._
import cats.syntax.all._
import org.http4s.{EntityBody, HttpRoutes, Http, Request, Response}
import org.log4s._
import sttp.tapir.monad.MonadError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sttp.tapir.server.http4s
import java.io.ByteArrayInputStream

import cats.effect.{Blocker, ContextShift, Sync}
import cats.implicits._
import cats.syntax.all._
import fs2.Chunk
import org.http4s.headers.{`Content-Disposition`, `Content-Type`}
import org.http4s.{Charset, EntityDecoder, Request, multipart}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sttp.tapir.server.http4s
import java.nio.charset.StandardCharsets

import cats.effect.{Blocker, ContextShift, Sync}
import cats.implicits._
import cats.syntax.all._
import fs2.Chunk
import org.http4s
import org.http4s.headers.{`Content-Disposition`, `Content-Type`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sttp.tapir.server.http4s
import cats.{Monad, ~>}
import cats.data.OptionT
import cats.effect.{ContextShift, Sync}
import cats.implicits._
import cats.syntax.all._
import org.http4s.{EntityBody, HttpRoutes, Http}
import sttp.tapir.Endpoint
import sttp.tapir.Endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package sttp.tapir.server.http4s

import cats.data.{Kleisli, NonEmptyList}
import cats.effect._
import cats.implicits._
import cats.syntax.all._
import org.http4s.server.Router
import org.http4s.server.blaze.BlazeServerBuilder
import org.http4s.syntax.kleisli._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package sttp.tapir.server.vertx

import cats.data.NonEmptyList
import cats.effect.{IO, Resource}
import cats.implicits._
import cats.syntax.all._
import io.vertx.lang.scala.VertxExecutionContext
import io.vertx.scala.core.Vertx
import io.vertx.scala.core.http.HttpServerOptions
Expand Down

0 comments on commit 4f26cda

Please sign in to comment.