rethinkdb 2.2.0.0 → 2.2.0.2
raw patch · 3 files changed
+8/−7 lines, 3 filesdep ~aeson
Dependency ranges changed: aeson
Files
- Database/RethinkDB/Driver.hs +4/−4
- Database/RethinkDB/Network.hs +2/−1
- rethinkdb.cabal +2/−2
Database/RethinkDB/Driver.hs view
@@ -83,14 +83,14 @@ -- >>> run h $ num 1 :: IO Int -- 1 ----- >>> run h $ str "foo" :: IO (Either RethinkDBError Int)--- Left RethinkDB: Unexpected response: "when expecting a Int, encountered String instead"+-- > >>> run h $ str "foo" :: IO (Either RethinkDBError Int)+-- *** Exception: RethinkDB: Unexpected response: "expected Int, encountered String" -- -- >>> run h $ str "foo" :: IO (Maybe Int) -- Nothing ----- >>> run h $ str "foo" :: IO Int--- *** Exception: RethinkDB: Unexpected response: "when expecting a Int, encountered String instead"+-- > >>> run h $ str "foo" :: IO Int+-- *** Exception: RethinkDB: Unexpected response: "expected Int, encountered String" -- -- >>> c <- run h $ table "users" # orderBy [asc "name"] # (!"name"):: IO (Cursor Datum) -- >>> next c
Database/RethinkDB/Network.hs view
@@ -131,7 +131,8 @@ -- /Example:/ connect using the default port with no passphrase (/note:/ IPv4 and IPv6 supported) -- -- >>> h <- connect "localhost" 28015 Nothing--- >>> h <- connect "::1" 28015 Nothing+--+-- > >>> h <- connect "::1" 28015 Nothing connect :: HostName -> Integer -> Maybe String -> IO RethinkDBHandle connect host port mauth = do
rethinkdb.cabal view
@@ -1,5 +1,5 @@ name: rethinkdb-version: 2.2.0.0+version: 2.2.0.2 cabal-version: >=1.8 build-type: Simple license: Apache@@ -25,7 +25,7 @@ base >=4 && <4.9, unordered-containers ==0.2.*, text >=0.11 && <1.3,- aeson >=0.7 && <0.10,+ aeson >=0.7 && <0.11, bytestring ==0.10.*, containers ==0.5.*, data-default ==0.5.*,