Skip to content

Commit 4773acd

Browse files
authored
Update http4s-blaze-client, http4s-circe to 0.23.8
1 parent 0e0fda9 commit 4773acd

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ addCommandAlias("ci-publish", ";github; ci-release")
1414
lazy val V = new {
1515
val cats: String = "2.7.0"
1616
val collectioncompat: String = "2.6.0"
17-
val github4s: String = "0.28.5"
18-
val http4s: String = "0.21.31"
19-
val runtime: String = "0.6.4"
17+
val github4s: String = "0.30.0"
18+
val http4s: String = "0.23.8"
19+
val runtime: String = "0.7.0"
2020
val scala: String = "2.13.8"
2121
val scala212: String = "2.12.15"
2222
val scalacheck: String = "1.15.4"

compiler/src/main/scala/org/scalaexercises/exercises/compiler/Compiler.scala

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ import cats.implicits._
2424
import github4s.Github
2525
import Comments.Mode
2626
import CommentRendering.RenderedComment
27-
import cats.effect.{ContextShift, IO}
27+
import cats.effect.IO
28+
import cats.effect.unsafe.IORuntime
2829
import github4s.domain.Commit
29-
import org.http4s.client.blaze.BlazeClientBuilder
30-
31-
import scala.concurrent.ExecutionContext
30+
import org.http4s.blaze.client.BlazeClientBuilder
3231

3332
class CompilerJava {
3433
def compile(
@@ -59,10 +58,9 @@ case class Compiler() {
5958

6059
lazy val sourceTextExtractor = new SourceTextExtraction()
6160

62-
implicit val cs: ContextShift[IO] = IO.contextShift(ExecutionContext.global)
63-
implicit val ec: ExecutionContext = ExecutionContext.global
61+
implicit val ioRuntime: IORuntime = IORuntime.global
6462

65-
lazy val clientResource = BlazeClientBuilder[IO](ec).resource
63+
lazy val clientResource = BlazeClientBuilder[IO].resource
6664

6765
def compile(
6866
library: Library,

0 commit comments

Comments
 (0)