packages feed

temporary-resourcet 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+20/−19 lines, 2 filesdep ~tastydep ~tasty-hunitPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: tasty, tasty-hunit

API changes (from Hackage documentation)

Files

temporary-resourcet.cabal view
@@ -1,5 +1,5 @@ name:           temporary-resourcet-version:        0.1.0.0+version:        0.1.0.1 cabal-version:  >= 1.8 synopsis:       Portable temporary files and directories with automatic deletion description:@@ -18,11 +18,11 @@ license-file:   LICENSE copyright:      (c) 2003-2006, Isaac Jones                 (c) 2005-2009, Duncan Coutts-                (c) 2014, Thomas Tuegel+                (c) 2014-2018, Thomas Tuegel author:         Isaac Jones <ijones@syntaxpolice.org>                 Duncan Coutts <duncan@haskell.org>-                Thomas Tuegel <ttuegel@gmail.com>-maintainer:     Thomas Tuegel <ttuegel@gmail.com>+                Thomas Tuegel <ttuegel@mailbox.org>+maintainer:     Thomas Tuegel <ttuegel@mailbox.org> homepage:       http://www.github.com/ttuegel/temporary-resourcet bug-reports: https://github.com/ttuegel/temporary-resourcet/issues build-type:     Simple@@ -57,7 +57,7 @@     base >=3 && <10,     directory >=1.0,     resourcet >=0.3 && <2,-    tasty >=0.8 && <0.11,-    tasty-hunit >=0.8 && <0.11,+    tasty >=1.0 && <1.2,+    tasty-hunit >=0.8 && <0.12,     temporary-resourcet,     transformers >=0.2.0.0
test/Test.hs view
@@ -1,27 +1,28 @@ module Main where -import Test.Tasty-import Test.Tasty.HUnit+import           Test.Tasty+import           Test.Tasty.HUnit -import Control.Monad ( liftM )-import Control.Monad.IO.Class ( liftIO )-import Control.Monad.Trans.Resource-import System.Directory ( doesDirectoryExist, doesFileExist )-import System.IO.Temp+import           Control.Monad                (liftM)+import           Control.Monad.IO.Class       (liftIO)+import           Control.Monad.Trans.Resource+import           System.Directory             (doesDirectoryExist,+                                               doesFileExist)+import           System.IO.Temp  main :: IO () main = defaultMain $ testGroup "temporary-resourcet"     [ testGroup "createTempDirectory"-        [ testCase "release" $ assert test_createTempDirectory_release-        , testCase "runResourceT" $ assert test_createTempDirectory_runResourceT+        [ testCase "release" $ test_createTempDirectory_release @? "Directory still exists"+        , testCase "runResourceT" $ test_createTempDirectory_runResourceT @? "Directory still exists"         ]     , testGroup "openBinaryTempFile"-        [ testCase "release" $ assert test_openBinaryTempFile_release-        , testCase "runResourceT" $ assert test_openBinaryTempFile_runResourceT+        [ testCase "release" $ test_openBinaryTempFile_release @? "File still exists"+        , testCase "runResourceT" $ test_openBinaryTempFile_runResourceT @? "File still exists"         ]     , testGroup "openTempFile"-        [ testCase "release" $ assert test_openTempFile_release-        , testCase "runResourceT" $ assert test_openTempFile_runResourceT+        [ testCase "release" $ test_openTempFile_release @? "File still exists"+        , testCase "runResourceT" $ test_openTempFile_runResourceT @? "File still exists"         ]     ]