Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump libraries #344

Merged
merged 7 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
matrix:
scala:
- 2.13.7
- 2.12.15
- 2.13.15
- 2.12.20

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ val commonSettings = Seq(
organizationName := "Evolution",
organizationHomepage := Some(url("https://evolution.com")),
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq("2.13.7", "2.12.15"),
crossScalaVersions := Seq("2.13.15", "2.12.20"),
releaseCrossBuild := true,
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
publishTo := Some(Resolver.evolutionReleases),
Expand Down
12 changes: 6 additions & 6 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object Dependencies {
val `cats-helper` = "com.evolutiongaming" %% "cats-helper" % "3.5.0"
val random = "com.evolutiongaming" %% "random" % "1.0.0"
val configTools = "com.evolutiongaming" %% "config-tools" % "1.0.4"
val skafka = "com.evolutiongaming" %% "skafka" % "16.0.0"
val skafka = "com.evolutiongaming" %% "skafka" % "17.1.2"


object Cats {
Expand All @@ -16,7 +16,7 @@ object Dependencies {
}

object CatsEffect {
private val version = "3.3.14"
private val version = "3.5.3"
val effect = "org.typelevel" %% "cats-effect" % version
}

Expand All @@ -26,14 +26,14 @@ object Dependencies {
}

object PlayJsonTools {
private val version = "0.11.0"
private val version = "1.1.1"

val tools = "com.evolutiongaming" %% "play-json-tools" % version
val tools = "com.evolution" %% "play-json-tools" % version
}

object Circe {
private val version = "0.12.3"
private val versionExtras = "0.12.2"
private val version = "0.14.9"
private val versionExtras = "0.14.1"

val core = "io.circe" %% "circe-core" % version
val generic = "io.circe" %% "circe-generic" % version
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.3
sbt.version=1.10.2
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.1")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.evolutiongaming.stracer

import com.evolution.playjson.tools.PlayJsonHelper._
import com.evolutiongaming.stracer.hex.{FromHex, ToHex}
import com.evolutiongaming.playjsontools.PlayJsonHelper._
import play.api.libs.json._

object TraceJson {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
package com.evolutiongaming.random

import cats.syntax.all._
import cats.effect.{Clock, IO, Sync}
import com.evolutiongaming.catshelper.ThreadLocalOf
import cats.effect.IO
import com.evolutiongaming.stracer.IOSuite._
import org.scalatest.funsuite.AsyncFunSuite
import org.scalatest.matchers.should.Matchers

class ThreadLocalRandomSpec extends AsyncFunSuite with Matchers {

test("return random numbers") {
randomTraces[IO].run()
randomTraces.run()
}

private def randomTraces[F[_]: Sync: Clock: ThreadLocalOf]: F[Unit] =
private def randomTraces: IO[Unit] =
for {
random <- ThreadLocalRandom.of[F]
random <- ThreadLocalRandom.of[IO]
n1 <- random.int
n2 <- random.int
} yield {
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "5.0.2-SNAPSHOT"
ThisBuild / version := "6.0.0"
Loading