packages feed

wai-app-static 0.0.1 → 0.0.1.1

raw patch · 4 files changed

+9/−4 lines, 4 filessetup-changedPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/Wai/Application/Static.hs view
@@ -248,7 +248,7 @@     cp <- checkPieces folder indices pieces     case cp of         Redirect pieces' -> do-            let loc = S8.pack $ '/' : encodePathInfo pieces' []+            let loc = S8.pack $ (concatMap (const "../") $ drop 1 pieces) ++ encodePathInfo pieces' []             return $ W.responseLBS W.status301                 [ ("Content-Type", "text/plain")                 , ("Location", loc)
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
+ Setup.lhs view
@@ -0,0 +1,7 @@+#!/usr/bin/env runhaskell++> module Main where+> import Distribution.Simple++> main :: IO ()+> main = defaultMain
wai-app-static.cabal view
@@ -1,5 +1,5 @@ name:            wai-app-static-version:         0.0.1+version:         0.0.1.1 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>