packages feed

wai-middleware-route 0.1 → 0.1.0.1

raw patch · 2 files changed

+10/−6 lines, 2 filesdep ~bytestringdep ~http-typesdep ~regex-posixPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: bytestring, http-types, regex-posix, wai

API changes (from Hackage documentation)

Files

src/Network/Wai/Middleware/Route.hs view
@@ -53,4 +53,4 @@     where
         onPath :: Method -> Rule -> Rule       
         onPath "*" p = p
-        onPath m p = (&&) <$> ((==m) . requestMethod) <*> p
+        onPath m p = (&&) <$> (==m) . requestMethod <*> p
wai-middleware-route.cabal view
@@ -1,5 +1,5 @@ name:           wai-middleware-route
-version:        0.1
+version:        0.1.0.1
 cabal-version:  >= 1.8
 build-type:     Simple
 synopsis:       Wai dispatch middleware
@@ -12,14 +12,18 @@ license-file:   LICENSE
 homepage:       https://github.com/akaspin/wai-middleware-route
 
+Source-repository head
+  type:            git
+  location:        git://github.com/akaspin/wai-middleware-route.git
+
 library
   hs-source-dirs:  src
   build-depends:   
                    base >= 4 && < 5,
-                   wai,
-                   bytestring,
-                   regex-posix,
-                   http-types
+                   wai >= 0.4 && < 0.5,
+                   bytestring >= 0.9 && < 0.10,
+                   regex-posix >= 0.94.4,
+                   http-types >= 0.6 && < 0.7
   ghc-options:     -Wall
   exposed-modules: Network.Wai.Middleware.Route