Spock-digestive 0.2.0.0 → 0.3.0.0
raw patch · 3 files changed
+10/−8 lines, 3 filesdep +Spock-coredep −SpockPVP ok
version bump matches the API change (PVP)
Dependencies added: Spock-core
Dependencies removed: Spock
API changes (from Hackage documentation)
Files
- README.md +1/−3
- Spock-digestive.cabal +4/−4
- src/Web/Spock/Digestive.hs +5/−1
README.md view
@@ -24,11 +24,9 @@ ### Supported GHC Versions -* 7.6.3-* 7.8.4 * 7.10.2 ### License Released under the MIT license.-(c) 2014 - 2015 Alexander Thiemann <mail@athiemann.net>+(c) 2014 - 2016 Alexander Thiemann <mail@athiemann.net>
Spock-digestive.cabal view
@@ -1,5 +1,5 @@ name: Spock-digestive-version: 0.2.0.0+version: 0.3.0.0 synopsis: Digestive functors support for Spock description: Run forms defined using digestive functors with Spock homepage: https://github.com/agrafix/Spock-digestive@@ -8,18 +8,18 @@ license-file: LICENSE author: Alexander Thiemann <mail@athiemann.net> maintainer: mail@athiemann.net-copyright: (c) 2014 - 2015 Alexander Thiemann <mail@athiemann.net>+copyright: (c) 2014 - 2016 Alexander Thiemann <mail@athiemann.net> category: Web build-type: Simple cabal-version: >=1.10-tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.2+tested-with: GHC==7.10.2 extra-source-files: README.md library exposed-modules: Web.Spock.Digestive build-depends:- Spock >=0.9,+ Spock-core >=0.11, base >=4.6 && <5, digestive-functors >=0.7, http-types >=0.8,
src/Web/Spock/Digestive.hs view
@@ -1,11 +1,15 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DoAndIfThenElse #-} module Web.Spock.Digestive ( runForm ) where -import Web.Spock.Shared+import Web.Spock.Core +#if MIN_VERSION_base(4, 8, 0)+#else import Control.Applicative+#endif import Control.Monad.Trans import Network.HTTP.Types import Network.Wai