keter 1.3.9.1 → 1.3.9.2
raw patch · 3 files changed
+9/−6 lines, 3 filesdep −network-conduit-tlsPVP ok
version bump matches the API change (PVP)
Dependencies removed: network-conduit-tls
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Keter/Plugin/Postgres.hs +4/−4
- keter.cabal +1/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.3.9.2++* Lower case PostgreSQL names [#88](https://github.com/snoyberg/keter/pull/88)+ ## 1.3.9.1 * Allow blaze-builder 0.4
Keter/Plugin/Postgres.hs view
@@ -13,14 +13,14 @@ import Control.Concurrent.Chan import Control.Concurrent.MVar import Control.Exception (throwIO, try)-import Control.Monad (void)-import Control.Monad (forever, mzero, replicateM)+import Control.Monad (forever, mzero, replicateM, void) import Control.Monad.Trans.Class (lift) import qualified Control.Monad.Trans.State as S import Data.Default import qualified Data.HashMap.Strict as HMap import qualified Data.Map as Map import Data.Monoid ((<>))+import qualified Data.Char as C import qualified Data.Text as T import qualified Data.Text.Lazy as TL import Data.Text.Lazy.Builder (fromText, toLazyText)@@ -101,7 +101,7 @@ -- FIXME stop using the worker thread approach? void $ forkIO $ flip S.evalStateT (db0, g0) $ forever $ loop chan return Plugin- { pluginGetEnv = \appname o -> do+ { pluginGetEnv = \appname o -> case HMap.lookup "postgres" o of Just (Bool True) -> do x <- newEmptyMVar@@ -142,7 +142,7 @@ sanitize = T.map sanitize' sanitize' c- | 'A' <= c && c <= 'Z' = c+ | 'A' <= c && c <= 'Z' = C.toLower c | 'a' <= c && c <= 'z' = c | '0' <= c && c <= '9' = c | otherwise = '_'
keter.cabal view
@@ -1,5 +1,5 @@ Name: keter-Version: 1.3.9.1+Version: 1.3.9.2 Synopsis: Web application deployment manager, focusing on Haskell web frameworks Description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/keter>. Homepage: http://www.yesodweb.com/@@ -39,7 +39,6 @@ , system-fileio >= 0.3 && < 0.4 , conduit >= 1.1 , conduit-extra >= 1.1- , network-conduit-tls >= 1.1 , http-reverse-proxy >= 0.4 && < 0.5 , unix >= 2.5 , wai-app-static >= 3.0 && < 3.1