snap 0.6.0.1 → 0.6.0.2
raw patch · 4 files changed
+86/−4 lines, 4 filesdep +aeson-nativePVP ok
version bump matches the API change (PVP)
Dependencies added: aeson-native
API changes (from Hackage documentation)
Files
- snap.cabal +27/−2
- src/Snap/Snaplet.hs +1/−1
- src/Snap/Snaplet/Auth/Handlers.hs +1/−1
- test/snap-testsuite.cabal +57/−0
snap.cabal view
@@ -1,5 +1,5 @@ name: snap-version: 0.6.0.1+version: 0.6.0.2 synopsis: Snap: A Haskell Web Framework: project starter executable and glue code library description: Snap Framework project starter executable and glue code library license: BSD3@@ -89,10 +89,16 @@ Snap.Snaplet.Session.SecureCookie, Snap.Snaplet.Session.SessionManager + if impl(ghc >= 7.0) && impl(ghc < 7.4)+ build-depends:+ aeson-native >= 0.3 && < 0.4+ else+ build-depends:+ aeson >= 0.3.2 && < 0.4+ build-depends: Crypto >= 4.2 && < 4.3, MonadCatchIO-transformers >= 0.2 && < 0.3,- aeson >= 0.3.2 && < 0.4, attoparsec (>= 0.8.0.2 && < 0.9) || (>= 0.9.1.1 && < 0.10), base >= 4 && < 5,@@ -127,6 +133,25 @@ vector >= 0.7.1 && < 0.10, vector-algorithms >= 0.4 && < 0.6, xmlhtml >= 0.1 && < 0.2++ extensions:+ BangPatterns,+ CPP,+ DeriveDataTypeable,+ ExistentialQuantification,+ FlexibleContexts,+ FlexibleInstances,+ GeneralizedNewtypeDeriving,+ MultiParamTypeClasses,+ NoMonomorphismRestriction,+ OverloadedStrings,+ PackageImports,+ Rank2Types,+ ScopedTypeVariables,+ TemplateHaskell,+ TypeFamilies,+ TypeOperators,+ TypeSynonymInstances if flag(hint) build-depends:
src/Snap/Snaplet.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE MultiParamTypeClasses #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} {-# LANGUAGE TypeOperators #-} {-|
src/Snap/Snaplet/Auth/Handlers.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} {-|
test/snap-testsuite.cabal view
@@ -37,6 +37,25 @@ template-haskell -- FIXME + extensions:+ BangPatterns,+ CPP,+ DeriveDataTypeable,+ ExistentialQuantification,+ FlexibleContexts,+ FlexibleInstances,+ GeneralizedNewtypeDeriving,+ MultiParamTypeClasses,+ NoMonomorphismRestriction,+ OverloadedStrings,+ PackageImports,+ Rank2Types,+ ScopedTypeVariables,+ TemplateHaskell,+ TypeFamilies,+ TypeOperators,+ TypeSynonymInstances+ ghc-options: -O2 -Wall -fhpc -fwarn-tabs -funbox-strict-fields -threaded -fno-warn-unused-do-bind @@ -75,6 +94,25 @@ template-haskell --FIXME + extensions:+ BangPatterns,+ CPP,+ DeriveDataTypeable,+ ExistentialQuantification,+ FlexibleContexts,+ FlexibleInstances,+ GeneralizedNewtypeDeriving,+ MultiParamTypeClasses,+ NoMonomorphismRestriction,+ OverloadedStrings,+ PackageImports,+ Rank2Types,+ ScopedTypeVariables,+ TemplateHaskell,+ TypeFamilies,+ TypeOperators,+ TypeSynonymInstances+ ghc-options: -O2 -Wall -fwarn-tabs -funbox-strict-fields -threaded -fno-warn-unused-do-bind @@ -103,6 +141,25 @@ utf8-string >= 0.3 && < 0.4, template-haskell --FIXME++ extensions:+ BangPatterns,+ CPP,+ DeriveDataTypeable,+ ExistentialQuantification,+ FlexibleContexts,+ FlexibleInstances,+ GeneralizedNewtypeDeriving,+ MultiParamTypeClasses,+ NoMonomorphismRestriction,+ OverloadedStrings,+ PackageImports,+ Rank2Types,+ ScopedTypeVariables,+ TemplateHaskell,+ TypeFamilies,+ TypeOperators,+ TypeSynonymInstances ghc-options: -O2 -Wall -fwarn-tabs -funbox-strict-fields -threaded -fno-warn-unused-do-bind