gingersnap 0.1.0.0 → 0.1.1.0
raw patch · 2 files changed
+2/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- gingersnap.cabal +1/−1
- src/Gingersnap/Core.hs +1/−0
gingersnap.cabal view
@@ -1,5 +1,5 @@ name: gingersnap-version: 0.1.0.0+version: 0.1.1.0 synopsis: snap-core + aeson + postgresql-simple = delicious description: JSON API idioms for snap-core, preventing DB connection leaks license: BSD3
src/Gingersnap/Core.hs view
@@ -59,6 +59,7 @@ ctxConnectionPool :: ctx -> Pool Connection ctxGetReadOnlyMode :: ctx -> IO Bool+ ctxGetReadOnlyMode _ = pure False ctx_wrapSuccess :: ToJSON x => ctx -> x -> JSON.Value ctx_wrapSuccess _ x = JSON.object ["result" .= x]