Hello community, here is the log from the commit of package ghc-rethinkdb for openSUSE:Factory checked in at 2017-04-11 09:43:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-rethinkdb (Old) and /work/SRC/openSUSE:Factory/.ghc-rethinkdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-rethinkdb" Tue Apr 11 09:43:30 2017 rev:5 rq:485158 version:2.2.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-rethinkdb/ghc-rethinkdb.changes 2017-02-08 12:07:19.703102773 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-rethinkdb.new/ghc-rethinkdb.changes 2017-04-11 09:43:35.994331066 +0200 @@ -1,0 +2,5 @@ +Tue Mar 7 11:19:26 UTC 2017 - [email protected] + +- Update to version 2.2.0.9 with cabal2obs. + +------------------------------------------------------------------- Old: ---- rethinkdb-2.2.0.8.tar.gz New: ---- rethinkdb-2.2.0.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-rethinkdb.spec ++++++ --- /var/tmp/diff_new_pack.ECcVH7/_old 2017-04-11 09:43:37.754082478 +0200 +++ /var/tmp/diff_new_pack.ECcVH7/_new 2017-04-11 09:43:37.758081913 +0200 @@ -19,7 +19,7 @@ %global pkg_name rethinkdb %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.2.0.8 +Version: 2.2.0.9 Release: 0 Summary: A driver for RethinkDB 2.2 License: Apache-2.0 ++++++ rethinkdb-2.2.0.8.tar.gz -> rethinkdb-2.2.0.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rethinkdb-2.2.0.8/Database/RethinkDB/Driver.hs new/rethinkdb-2.2.0.9/Database/RethinkDB/Driver.hs --- old/rethinkdb-2.2.0.8/Database/RethinkDB/Driver.hs 2016-09-29 14:14:26.000000000 +0200 +++ new/rethinkdb-2.2.0.9/Database/RethinkDB/Driver.hs 2017-03-02 14:31:55.000000000 +0100 @@ -40,13 +40,18 @@ import Database.RethinkDB.ReQL -- $setup --- --- Get the doctests ready --- +-- >>> :set -XOverloadedStrings -- >>> :load Database.RethinkDB.NoClash -- >>> import qualified Database.RethinkDB as R --- >>> :set -XOverloadedStrings +-- >>> import Control.Exception +-- >>> import Data.Text +-- >>> let try' x = (try x `asTypeOf` return (Left (undefined :: SomeException))) >> return () -- >>> h <- fmap (use "doctests") $ connect "localhost" 28015 def +-- >>> try' $ run' h $ dbCreate "doctests" +-- >>> try' $ run' h $ tableCreate (table "users"){ tablePrimaryKey = Just "name" } +-- >>> try' $ run' h $ delete $ table "users" +-- >>> run h $ table "users" # insert (R.map (\x -> ["name":=x]) ["bill", "bob", "nancy" :: Text]) :: IO WriteResponse +-- {inserted:3} -- | Per-query settings @@ -106,7 +111,7 @@ -- >>> next c -- Just "bill" -- >>> collect c --- ["nancy","sabrina"] +-- ["bob","nancy"] run :: (Expr query, Result r) => RethinkDBHandle -> query -> IO r run h = runOpts h [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rethinkdb-2.2.0.8/Database/RethinkDB/Functions.hs new/rethinkdb-2.2.0.9/Database/RethinkDB/Functions.hs --- old/rethinkdb-2.2.0.8/Database/RethinkDB/Functions.hs 2016-09-29 14:14:26.000000000 +0200 +++ new/rethinkdb-2.2.0.9/Database/RethinkDB/Functions.hs 2017-03-01 23:50:17.000000000 +0100 @@ -522,6 +522,9 @@ -- | Merge two objects together -- +-- NOTE: This driver is based on the official JavaScript driver, you are correct to expect the same semantics. +-- However the order of composition is flipped by putting the first argument last. +-- -- >>> run' h $ merge ["a" := 1, "b" := 1] ["b" := 1, "c" := 2] -- {"a":1,"b":1,"c":2} merge :: (Expr a, Expr b) => a -> b -> ReQL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rethinkdb-2.2.0.8/rethinkdb.cabal new/rethinkdb-2.2.0.9/rethinkdb.cabal --- old/rethinkdb-2.2.0.8/rethinkdb.cabal 2017-01-16 17:27:44.000000000 +0100 +++ new/rethinkdb-2.2.0.9/rethinkdb.cabal 2017-03-02 14:23:59.000000000 +0100 @@ -1,5 +1,5 @@ name: rethinkdb -version: 2.2.0.8 +version: 2.2.0.9 cabal-version: >=1.8 build-type: Simple license: Apache @@ -16,7 +16,7 @@ GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, - GHC==8.0.1 + GHC==8.0.2 source-repository head type: git @@ -37,7 +37,7 @@ data-default >=0.5 && <0.8, network >=2.4 && <2.7, mtl >=2.1 && <2.3, - vector >=0.10 && <0.12, + vector >=0.10 && <0.13, time >=1.4 && <1.7, utf8-string >=0.3 && <1.1, binary >=0.5 && <0.9,
