Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Upgrade to Dropwizard 1.0.0 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelnos authored and nicktelford committed Aug 16, 2016
1 parent 6de0ffa commit 339be24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions project/Project.scala
Expand Up @@ -6,8 +6,8 @@ import sbtrelease._

object Versions {

val dropwizard = "1.0.0-rc2"
val jackson = "2.7.3"
val dropwizard = "1.0.0"
val jackson = "2.7.5" // DW 1.0.0 uses jackson 2.7.6, but jackson-module-scala 2.7.5 is latest
val mockito = "1.10.19"
val scalaTest = "2.2.6"
}
Expand Down
Expand Up @@ -3,7 +3,7 @@ package com.datasift.dropwizard.scala.test
import java.util.Date

import io.dropwizard.db.ManagedDataSource
import io.dropwizard.migrations.CloseableLiquibase
import io.dropwizard.migrations.{CloseableLiquibase, CloseableLiquibaseWithFileSystemMigrationsFile}

import scala.util.{Failure, Try}

Expand Down Expand Up @@ -33,7 +33,7 @@ class LiquibaseTest(suite: BeforeAndAfterAllMulti,
suite.beforeAll {
_dataSource = Try(newDataSource)
_liquibase = _dataSource
.flatMap(ds => Try(new CloseableLiquibase(ds, config.file)))
.flatMap(ds => Try(new CloseableLiquibaseWithFileSystemMigrationsFile(ds, config.file)))

_liquibase.foreach(_.update(config.contexts.mkString(",")))
}
Expand Down

0 comments on commit 339be24

Please sign in to comment.