packages feed

persistent-sqlite 2.5.0.1 → 2.5.0.2

raw patch · 4 files changed

+16/−1 lines, 4 filesdep +temporarydep ~text

Dependencies added: temporary

Dependency ranges changed: text

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 2.5.0.2++* Fix lstat workaround for https://ghc.haskell.org/trac/ghc/ticket/7072 on Mac OS X [#564](https://github.com/yesodweb/persistent/pull/564)+ ## 2.5.0.1  * Reapply workaround for https://ghc.haskell.org/trac/ghc/ticket/7072 [#561](https://github.com/yesodweb/persistent/pull/561)
cbits/sqlite3.c view

file too large to diff

persistent-sqlite.cabal view
@@ -1,5 +1,5 @@ name:            persistent-sqlite-version:         2.5.0.1+version:         2.5.0.2 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -65,6 +65,8 @@                 , persistent                 , persistent-sqlite                 , persistent-template+                , temporary+                , text                 , time                 , transformers 
test/Spec.hs view
@@ -8,10 +8,14 @@ {-# LANGUAGE TypeFamilies               #-}  import Control.Monad.IO.Class  (liftIO)+import qualified Data.Text as T import Data.Time import Database.Persist.Sqlite import Database.Persist.TH+import qualified Database.Sqlite as Sqlite import Test.Hspec+import System.IO (hClose)+import System.IO.Temp (withSystemTempFile)  share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase| Test@@ -34,3 +38,8 @@         tid <- insert $ Test now         Just (Test now') <- get tid         liftIO $ now' `shouldBe` now+    it "issue #564" $ asIO $ withSystemTempFile "test564.sqlite3"$ \fp h -> do+        hClose h+        conn <- Sqlite.open (T.pack fp)+        Sqlite.close conn+        return ()