packages feed

mockery 0.3.4 → 0.3.5

raw patch · 3 files changed

+11/−11 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

mockery.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.15.0.+-- This file has been generated from package.yaml by hpack version 0.18.0. -- -- see: https://github.com/sol/hpack  name:           mockery-version:        0.3.4+version:        0.3.5 synopsis:       Support functions for automated testing description:    Support functions for automated testing category:       Testing@@ -36,6 +36,8 @@       Test.Mockery.Directory       Test.Mockery.Environment       Test.Mockery.Logging+  other-modules:+      Paths_mockery   default-language: Haskell2010  test-suite spec
src/Test/Mockery/Environment.hs view
@@ -33,7 +33,7 @@ -- environment can no longer be run in parallel. withModifiedEnvironment :: [(String, String)] -> IO a -> IO a withModifiedEnvironment environment action = bracketEnvironment $ do-  modifyEnvironment environment+  extendEnvironment environment   action  bracketEnvironment :: IO a -> IO a@@ -42,10 +42,10 @@ setEnvironment :: [(String, String)] -> IO () setEnvironment environment = do   clearEnvironment-  modifyEnvironment environment+  extendEnvironment environment -modifyEnvironment :: [(String, String)] -> IO ()-modifyEnvironment environment = forM_ environment $ uncurry setEnv+extendEnvironment :: [(String, String)] -> IO ()+extendEnvironment environment = forM_ environment $ uncurry setEnv  clearEnvironment :: IO () clearEnvironment = do
src/Test/Mockery/Logging.hs view
@@ -1,4 +1,3 @@-{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} module Test.Mockery.Logging (   captureLogMessages@@ -6,11 +5,10 @@ , LogLevel(..) ) where -#if !MIN_VERSION_base(4,8,0)-import           Control.Applicative-#endif import           Control.Exception-import           Data.IORef+import           Data.IORef.Compat+import           Prelude ()+import           Prelude.Compat import           System.Logging.Facade.Types import           System.Logging.Facade.Sink