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 version #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
20 changes: 10 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
lazy val catsEffectVersion = "1.1.0"
lazy val catsVersion = "1.5.0"
lazy val circeVersion = "0.10.0"
lazy val doobieVersion = "0.6.0"
lazy val fs2Version = "1.0.2"
lazy val kindProjectorVersion = "0.9.9"
lazy val log4catsVersion = "0.2.0"
lazy val catsEffectVersion = "1.4.0"
lazy val catsVersion = "1.6.1"
lazy val circeVersion = "0.11.0"
lazy val doobieVersion = "0.7.0"
lazy val fs2Version = "1.0.5"
lazy val kindProjectorVersion = "0.9.10"
lazy val log4catsVersion = "0.3.0"
lazy val sangriaCirceVersion = "1.2.1"
lazy val sangriaVersion = "1.4.2"
lazy val scala12Version = "2.12.8"
lazy val http4sVersion = "0.20.0-M4"
lazy val slf4jVersion = "1.7.25"
lazy val scala12Version = "2.12.9"
lazy val http4sVersion = "0.20.10"
lazy val slf4jVersion = "1.7.28"

lazy val scalacSettings = Seq(
scalacOptions ++=
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ object Main extends IOApp {

// Our entry point starts the server and blocks forever.
def run(args: List[String]): IO[ExitCode] = {
implicit val log = Slf4jLogger.unsafeCreate[IO]
implicit val log = Slf4jLogger.getLogger[IO]
resource[IO].use(_ => IO.never.as(ExitCode.Success))
}

Expand Down
4 changes: 2 additions & 2 deletions modules/core/src/main/scala/repo/CityRepo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

package demo.repo

import cats._
import cats.effect.Sync
import cats.implicits._
import doobie._
import doobie.implicits._
Expand All @@ -18,7 +18,7 @@ trait CityRepo[F[_]] {

object CityRepo {

def fromTransactor[F[_]: Monad: Logger](xa: Transactor[F]): CityRepo[F] =
def fromTransactor[F[_]: Sync: Logger](xa: Transactor[F]): CityRepo[F] =
new CityRepo[F] {

val select: Fragment =
Expand Down
4 changes: 2 additions & 2 deletions modules/core/src/main/scala/repo/CountryRepo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

package demo.repo

import cats._
import cats.data._
import cats.effect.Sync
import cats.implicits._
import doobie._
import doobie.implicits._
Expand All @@ -21,7 +21,7 @@ trait CountryRepo[F[_]] {

object CountryRepo {

def fromTransactor[F[_]: Monad: Logger](xa: Transactor[F]): CountryRepo[F] =
def fromTransactor[F[_]: Sync: Logger](xa: Transactor[F]): CountryRepo[F] =
new CountryRepo[F] {

val select: Fragment =
Expand Down
4 changes: 2 additions & 2 deletions modules/core/src/main/scala/repo/LanguageRepo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

package demo.repo

import cats._
import cats.data._
import cats.effect.Sync
import cats.implicits._
import doobie._
import doobie.implicits._
Expand All @@ -19,7 +19,7 @@ trait LanguageRepo[F[_]] {

object LanguageRepo {

def fromTransactor[F[_]: Monad: Logger](xa: Transactor[F]): LanguageRepo[F] =
def fromTransactor[F[_]: Sync: Logger](xa: Transactor[F]): LanguageRepo[F] =
new LanguageRepo[F] {

val select: Fragment =
Expand Down
4 changes: 2 additions & 2 deletions modules/core/src/main/scala/repo/MasterRepo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

package demo.repo

import cats._
import cats.effect.Sync
import doobie._
import io.chrisdavenport.log4cats.Logger

Expand All @@ -16,7 +16,7 @@ final case class MasterRepo[F[_]](

object MasterRepo {

def fromTransactor[F[_]: Monad: Logger](xa: Transactor[F]): MasterRepo[F] =
def fromTransactor[F[_]: Sync: Logger](xa: Transactor[F]): MasterRepo[F] =
MasterRepo(
CityRepo.fromTransactor(xa),
CountryRepo.fromTransactor(xa),
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.2.3
sbt.version=1.2.8