packages feed

sydtest-persistent-postgresql 0.2.0.0 → 0.2.0.1

raw patch · 4 files changed

+24/−4 lines, 4 filesdep −persistent-templatePVP ok

version bump matches the API change (PVP)

Dependencies removed: persistent-template

API changes (from Hackage documentation)

Files

+ CHANGELOG.md view
@@ -0,0 +1,17 @@+# Changelog++## [0.2.0.1] - 2022-04-26++### Added++* Compatibility with `GHC >= 9`++## [0.2.0.0] - 2021-06-19++### Added++* Dependency on `sydtest-persistent`++### Changed++* Type of `runSqliteTest` is changed to run `SqlPersistM` instead of `SqlPersistT IO`
src/Test/Syd/Persistent/Postgresql.hs view
@@ -49,7 +49,7 @@  -- | Set up a postgresql connection and migrate it to run the given function. withConnectionPool :: Migration -> (ConnectionPool -> IO r) -> IO r-withConnectionPool = unSetupFunc . connectionPoolSetupFunc+withConnectionPool migration func = unSetupFunc (connectionPoolSetupFunc migration) func  -- | The 'SetupFunc' version of 'withConnectionPool'. connectionPoolSetupFunc :: Migration -> SetupFunc ConnectionPool
sydtest-persistent-postgresql.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.34.7. -- -- see: https://github.com/sol/hpack  name:           sydtest-persistent-postgresql-version:        0.2.0.0+version:        0.2.0.1 synopsis:       An persistent-postgresql companion library for sydtest category:       Testing homepage:       https://github.com/NorfairKing/sydtest#readme@@ -16,6 +16,9 @@ license:        OtherLicense license-file:   LICENSE.md build-type:     Simple+extra-source-files:+    LICENSE.md+    CHANGELOG.md  source-repository head   type: git@@ -60,7 +63,6 @@       base >=4.7 && <5     , persistent     , persistent-postgresql-    , persistent-template     , sydtest     , sydtest-persistent-postgresql   if flag(sydtest_integration_tests)
test/Test/Syd/Persistent/Example.hs view
@@ -12,6 +12,7 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}  module Test.Syd.Persistent.Example where