Permalink
Browse files

Change types. v0.3

Signed-off-by: Alexander Dorofeev <aka.spin@gmail.com>
  • Loading branch information...
1 parent ec15216 commit ff6d34494f8169977d40be6cd2d93f62a8b56aa2 @akaspin committed Jan 19, 2012
Showing with 14 additions and 13 deletions.
  1. +12 −11 couchdb-conduit.cabal
  2. +2 −2 src/Database/CouchDB/Conduit/LowLevel.hs
View
@@ -1,5 +1,5 @@
name: couchdb-conduit
-version: 0.2.1.2
+version: 0.3.0.0
cabal-version: >= 1.8
build-type: Simple
stability: Experimental
@@ -26,12 +26,12 @@ library
hs-source-dirs: src
build-depends:
base >= 4 && < 5,
- conduit >= 0.1,
+ conduit == 0.1.*,
attoparsec >= 0.8 && < 0.11,
attoparsec-conduit >= 0.0 && < 0.1,
http-conduit == 1.2.*,
http-types >= 0.6 && < 0.7,
- monad-control == 0.3.*,
+ monad-control >= 0.3 && < 0.4,
transformers == 0.2.*,
transformers-base == 0.4.*,
lifted-base >= 0.1 && < 0.2,
@@ -41,9 +41,9 @@ library
text >= 0.11 && < 0.12,
unordered-containers >= 0.1 && < 0.2,
syb,
- containers,
+ containers >= 0.2,
data-default,
- blaze-builder
+ blaze-builder >= 0.2.1 && < 0.4
ghc-options: -Wall
exposed-modules:
Database.CouchDB.Conduit,
@@ -69,23 +69,24 @@ test-suite test
test-framework-quickcheck2,
test-framework-hunit,
couchdb-conduit,
- conduit >= 0.0.0.2 && < 0.1,
+ conduit == 0.1.*,
attoparsec >= 0.8 && < 0.11,
attoparsec-conduit >= 0.0 && < 0.1,
- http-conduit >= 1.1.0.1 && < 1.2,
+ http-conduit == 1.2.*,
http-types >= 0.6 && < 0.7,
monad-control >= 0.3 && < 0.4,
- transformers >= 0.2 && < 0.3,
- transformers-base >= 0.4.1 && < 0.5,
+ transformers == 0.2.*,
+ transformers-base == 0.4.*,
lifted-base >= 0.1 && < 0.2,
bytestring >= 0.9 && < 0.10,
utf8-string >= 0.3 && < 0.4,
aeson >= 0.5 && < 0.6,
text >= 0.11 && < 0.12,
unordered-containers >= 0.1 && < 0.2,
syb,
- containers,
- blaze-builder
+ containers >= 0.2,
+ data-default,
+ blaze-builder >= 0.2.1 && < 0.4
ghc-options: -Wall -rtsopts -threaded
hs-source-dirs: test
main-is: Main.hs
@@ -25,7 +25,7 @@ import qualified Data.ByteString.UTF8 as BU8
import qualified Data.HashMap.Lazy as M
import qualified Data.Text as T
-import Data.Conduit (ResourceT, BufferedSource,
+import Data.Conduit (ResourceT, Source,
($$), resourceThrow)
import Data.Conduit.Attoparsec (sinkParser)
@@ -35,7 +35,7 @@ import qualified Network.HTTP.Types as HT
import Database.CouchDB.Conduit
-- | CouchDB response
-type CouchResponse m = H.Response (BufferedSource m B.ByteString)
+type CouchResponse m = H.Response (Source m B.ByteString)
-- | The most general method of accessing CouchDB. This is a very thin wrapper
-- around 'H.http'. Most of the time you should use one of the other access

0 comments on commit ff6d344

Please sign in to comment.