apiary-cookie 0.3.1.0 → 0.4.0.0
raw patch · 3 files changed
+5/−5 lines, 3 filesdep ~apiaryPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: apiary
API changes (from Hackage documentation)
Files
- LICENSE +1/−1
- apiary-cookie.cabal +3/−3
- src/Web/Apiary/Cookie.hs +1/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2014 philopon+Copyright (c) 2014 Hirotomo Moriwaki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
apiary-cookie.cabal view
@@ -1,5 +1,5 @@ name: apiary-cookie-version: 0.3.1.0+version: 0.4.0.0 x-revision: 1 synopsis: Cookie support for apiary web framework. description:@@ -23,8 +23,8 @@ build-depends: base >=4.7 && <4.8 , mtl >=2.1 && <2.3 , transformers >=0.3 && <0.5- , bytestring >=0.10 && <0.11- , apiary >=0.3.1 && <0.4+ , bytestring >=0.10 && <0.11+ , apiary >=0.4 && <0.5 , cookie >=0.4 && <0.5 , clientsession >=0.9 && <0.10 , reflection >=1.4 && <1.5
src/Web/Apiary/Cookie.hs view
@@ -21,7 +21,7 @@ -- main :: IO () -- main = 'withCookie' def $ run 3000 . runApiary def $ do -- --- [capture|/:String|] . action $ \s -> do+-- [capture|/:String|] . action $ \\s -> do -- 'setCookie' (def { setCookieName = "param", setCookieValue = S.pack s }) -- 'setCookie' (def { setCookieName = "dog", setCookieValue = "bowwow" }) -- contentType "text/plain"