packages feed

scotty-tls 0.3.0.0 → 0.4.0

raw patch · 3 files changed

+8/−4 lines, 3 filesdep ~scotty

Dependency ranges changed: scotty

Files

+ CHANGELOG.md view
@@ -0,0 +1,3 @@+## 0.4.0+* Remove unnecessary argument to `scottyTTLS` so that `scotty-tls` can build+  with `scotty-0.10` and up
Web/Scotty/TLS.hs view
@@ -25,8 +25,8 @@   (setPort port defaultSettings) <=< scottyApp  scottyTTLS :: (Monad m, MonadIO n) => Port -> FilePath -> FilePath ->-              (forall a. m a -> n a) -> (m Response -> IO Response) -> ScottyT t m () -> n ()-scottyTTLS port key cert runM runToIO s = scottyAppT runM runToIO s >>= liftIO . runTLS+              (m Response -> IO Response) -> ScottyT t m () -> n ()+scottyTTLS port key cert runToIO s = scottyAppT runToIO s >>= liftIO . runTLS                                               (defaultTlsSettings { keyFile = key, certFile = cert })                                               (setPort port defaultSettings) 
scotty-tls.cabal view
@@ -1,5 +1,5 @@ name:                scotty-tls-version:             0.3.0.0+version:             0.4.0 synopsis:            TLS for Scotty description:         Run your Scotty apps over TLS homepage:            https://github.com/dmjio/scotty-tls.git@@ -11,13 +11,14 @@ build-type:          Simple cabal-version:       >=1.10 Extra-source-files:+        CHANGELOG.md         README.md         examples/Main.hs library   exposed-modules:     Web.Scotty.TLS   other-extensions:    RankNTypes   build-depends:       base >=4.3.1 && < 5,-                       scotty >=0.7.0,+                       scotty >=0.10.0,                        warp >= 1.3.4.1,                        warp-tls >=1.4.1.4,                        wai >= 1.3.0.1,