Skip to content

Commit

Permalink
bump logback & scala versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Fakhritdinov committed Jan 30, 2024
1 parent 462fc38 commit ba58ffe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inThisBuild(Seq(
startYear := Some(2019),
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),

crossScalaVersions := Seq("2.13.8", "3.2.0", "2.12.15"),
crossScalaVersions := Seq("2.13.12", "3.3.0", "2.12.18"),

versionScheme := Some("semver-spec"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object GroupWithin {

def empty[F[_]]: GroupWithin[F] = new GroupWithin[F] {

def apply[A](settings: Settings)(f: Nel[A] => F[Unit]) = {
def apply[A](settings: Settings)(f: Nel[A] => F[Unit]): Resource[F, Enqueue[F, A]] = {
val enqueue = new Enqueue[F, A] {
def apply(a: A) = f(Nel.of(a))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ object ToFuture {

implicit def ioToFuture(implicit runtime: IORuntime): ToFuture[IO] = new ToFuture[IO] {
def apply[A](fa: IO[A]) = {
Try(fa.syncStep.unsafeRunSync()) match {
Try(fa.syncStep(Int.MaxValue).unsafeRunSync()) match {
case Success(Left(computation)) =>
computation.unsafeToFuture()
case Success(Right(value)) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object ToTry {

for {
a <- Try {
fa.syncStep.unsafeRunSync() match {
fa.syncStep(Int.MaxValue).unsafeRunSync() match {
case Left(computation) =>
computation.unsafeRunTimed(timeout)
case Right(value) =>
Expand All @@ -58,7 +58,7 @@ object ToTry {


implicit val idToTry: ToTry[Id] = new ToTry[Id] {
def apply[A](fa: Id[A]) = Success(fa)
def apply[A](fa: Id[A]): Try[A] = Success(fa)
}


Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object Dependencies {
val `slf4j-api` = "org.slf4j" % "slf4j-api" % "2.0.5"

object Logback {
val classic = "ch.qos.logback" % "logback-classic" % "1.4.5"
val classic = "ch.qos.logback" % "logback-classic" % "1.4.14"
}

object Cats {
Expand Down

0 comments on commit ba58ffe

Please sign in to comment.