packages feed

postgres-embedded 0.1.6 → 0.1.7

raw patch · 4 files changed

+6/−11 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,7 +1,3 @@-## 0.1.6--Still unstable version for testing--## 0.1.5+## 0.1.7  Unstable version for testing
README.md view
@@ -1,4 +1,3 @@-# postgres-embedded [![Hackage version](https://img.shields.io/hackage/v/postgres-embedded.svg?label=Hackage)](https://hackage.haskell.org/package/postgres-embedded) [![Linux Build Status](https://img.shields.io/travis/ilya-murzinov/postgres-embedded.svg?label=Linux%20build)](https://travis-ci.org/ilya-murzinov/postgres-embedded) -[![Windows Build Status](https://img.shields.io/appveyor/ci/ilya-murzinov/postgres-embedded.svg?label=Windows%20build)](https://ci.appveyor.com/project/ilya-murzinov/postgres-embedded)+# postgres-embedded [![Hackage version](https://img.shields.io/hackage/v/postgres-embedded.svg?label=Hackage)](https://hackage.haskell.org/package/postgres-embedded) [![Linux Build Status](https://img.shields.io/travis/ilya-murzinov/postgres-embedded.svg?label=Linux%20build)](https://travis-ci.org/ilya-murzinov/postgres-embedded) [![Windows Build Status](https://img.shields.io/appveyor/ci/ilya-murzinov/postgres-embedded.svg?label=Windows%20build)](https://ci.appveyor.com/project/ilya-murzinov/postgres-embedded)  Haskell API for starting/stopping embedded PostgreSQL instance.
postgres-embedded.cabal view
@@ -1,5 +1,5 @@ name:                postgres-embedded-version:             0.1.6+version:             0.1.7 description:         Library for easily running embedded PostgreSQL server for tests synopsis:            Library for easily running embedded PostgreSQL server for tests homepage:            https://github.com/ilya-murzinov/postgres-embedded@@ -14,7 +14,7 @@ extra-doc-files:     README.md                      CHANGELOG.md cabal-version:       >=1.18-tested-with:         GHC==8.2.1, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2+tested-with:         GHC==8.2.1, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4  source-repository head   type:     git
src/Database/PostgreSQL/Embedded/Postgres.hs view
@@ -8,7 +8,7 @@ import           Data.Conduit.Shell                    (rm, run, shell) import           Data.List                             (isInfixOf) import           Data.Monoid                           ((<>))-import           System.Directory                      (doesPathExist)+import           System.Directory                      (doesDirectoryExist) import           System.Exit                           (exitFailure) import           System.FilePath.Posix                 ((</>)) import           System.Info                           (os)@@ -25,7 +25,7 @@ startPostgres (StartupConfig сlean version_) dConfig@(DBConfig p u) = do     e <- downloadPostgres getOS version_     let d = e </> "data"-    exists <- doesPathExist d+    exists <- doesDirectoryExist d     if exists && not сlean then do         putStrLn $ "Directory " <> d <> " must not exist"         exitFailure