Skip to content

Commit

Permalink
Bump scala-lru-map to 0.6.0 (close #180)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Feb 28, 2022
1 parent ebf554f commit 634f7fb
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ lazy val root = project
libraryDependencies ++= Seq(
Dependencies.Libraries.jodaConvert,
Dependencies.Libraries.jodaMoney,
Dependencies.Libraries.catsEffect,
Dependencies.Libraries.circeParser,
Dependencies.Libraries.lruMap,
Dependencies.Libraries.scalaj,
Expand Down
4 changes: 1 addition & 3 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ object Dependencies {
val jodaConvert = "2.2.0"

// Scala
val catsEffect = "2.1.4"
val circe = "0.13.0"
val lruMap = "0.5.0"
val lruMap = "0.6.0"
val scalaj = "2.4.1"

// Scala (test only)
Expand All @@ -36,7 +35,6 @@ object Dependencies {
val jodaConvert = "org.joda" % "joda-convert" % V.jodaConvert

// Scala
val catsEffect = "org.typelevel" %% "cats-effect" % V.catsEffect
val circeParser = "io.circe" %% "circe-parser" % V.circe
val lruMap = "com.snowplowanalytics" %% "scala-lru-map" % V.lruMap
val scalaj = "org.scalaj" %% "scalaj-http" % V.scalaj
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package com.snowplowanalytics.forex
import java.time.{ZoneId, ZonedDateTime}

import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.joda.money.{CurrencyUnit, Money}
import org.specs2.mutable.Specification

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter

import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.joda.money.{CurrencyUnit, Money}
import org.specs2.mutable.Specification
import org.specs2.matcher.DataTables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package com.snowplowanalytics.forex
import java.math.RoundingMode

import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.joda.money._
import org.specs2.mutable.Specification

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package com.snowplowanalytics.forex
import java.math.RoundingMode

import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.joda.money._
import org.specs2.mutable.Specification

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
package com.snowplowanalytics.forex

import cats.effect.IO
import cats.effect.unsafe.implicits.global

import org.specs2.mutable.Specification

import model._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import java.math.BigDecimal
import java.time.ZonedDateTime

import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.joda.money.CurrencyUnit
import org.specs2.mutable.Specification

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ package com.snowplowanalytics.forex
import java.time.{ZoneId, ZonedDateTime}

import scala.concurrent.duration._
import scala.concurrent.ExecutionContext

import cats.effect.IO
import cats.syntax.apply._
import cats.effect.unsafe.implicits.global
import org.joda.money.CurrencyUnit
import org.specs2.mock.Mockito
import org.specs2.mutable.Specification
Expand Down Expand Up @@ -48,7 +47,6 @@ class SpiedCacheSpec extends Specification with Mockito {
val spiedIoFx = Forex[IO](config, ioClient)
val spiedIoFxWith5NowishSecs = Forex[IO](fxConfigWith5NowishSecs, ioClient)

implicit val timer = IO.timer(ExecutionContext.global)

/**
* nowish cache with 5-sec memory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package com.snowplowanalytics.forex
import java.time.{ZoneId, ZonedDateTime}

import cats.effect.IO
import cats.effect.unsafe.implicits.global
import org.joda.money.CurrencyUnit
import org.specs2.mutable.Specification

Expand Down

0 comments on commit 634f7fb

Please sign in to comment.