hascar 0.2.1.0 → 0.2.1.1
raw patch · 4 files changed
+11/−5 lines, 4 filesdep ~directorydep ~optparse-applicativePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: directory, optparse-applicative
API changes (from Hackage documentation)
Files
- app/Options.hs +1/−0
- changelog.md +5/−0
- hascar.cabal +3/−3
- src/Codec/Archive/SAPCAR.hs +2/−2
app/Options.hs view
@@ -5,6 +5,7 @@ ) where import Control.Monad+import Data.Semigroup ((<>)) import Options.Applicative import qualified Data.Text as T
changelog.md view
@@ -1,3 +1,8 @@+0.2.1.1+-------++- Make it compile with ghc-8.0.2+ 0.2.1.0 -------
hascar.cabal view
@@ -1,5 +1,5 @@ name: hascar-version: 0.2.1.0+version: 0.2.1.1 synopsis: Decompress SAPCAR archives description: Decompress SAPCAR archives homepage: https://github.com/VirtualForgeGmbH/hascar@@ -43,11 +43,11 @@ , ansi-wl-pprint >= 0.6.7.3 && < 0.7 , binary >= 0.7.5.0 && < 0.9 , bytestring >= 0.10.6.0 && < 0.11- , directory >= 1.2.2.0 && < 1.3+ , directory , filepath >= 1.4.0.0 && < 1.5 , gitrev >= 1.2.0 && < 1.3 , hascar- , optparse-applicative >= 0.12.1.0 && < 0.13+ , optparse-applicative , path >= 0.5.7 && < 0.6 , text >= 1.2.2.1 && < 1.3 , transformers >= 0.4.2.0 && < 0.6
src/Codec/Archive/SAPCAR.hs view
@@ -194,7 +194,7 @@ => Path b File -> (forall s. SapCar s m a) -> m a-withSapCarPath sarfile = bracket open close . withSapCarHandle+withSapCarPath sarfile a = bracket open close $ withSapCarHandle a where open = liftIO $ openBinaryFile (toFilePath sarfile) ReadMode close = liftIO . hClose@@ -205,7 +205,7 @@ => FilePath -> (forall s. SapCar s m a) -> m a-withSapCarFile sarfile = bracket open close . withSapCarHandle+withSapCarFile sarfile a = bracket open close $ withSapCarHandle a where open = liftIO $ openBinaryFile sarfile ReadMode close = liftIO . hClose