packages feed

postgresql-binary 0.9.1.1 → 0.9.2

raw patch · 5 files changed

+24/−60 lines, 5 filesdep +rerebasedep −deepseqdep −eitherdep −mtl-preludedep ~QuickCheckdep ~basedep ~base-prelude

Dependencies added: rerebase

Dependencies removed: deepseq, either, mtl-prelude, rebase

Dependency ranges changed: QuickCheck, base, base-prelude, bytestring, json-ast, scientific, text, time, transformers, vector

Files

decoding/Main.hs view
@@ -1,14 +1,8 @@ module Main where -import BasePrelude-import MTLPrelude-import Control.DeepSeq+import Prelude import Criterion import Criterion.Main-import Data.Text (Text)-import Data.ByteString (ByteString)-import Data.Scientific (Scientific)-import Data.Time import qualified PostgreSQL.Binary.Encoder as E import qualified PostgreSQL.Binary.Decoder as D 
encoding/Main.hs view
@@ -1,14 +1,8 @@ module Main where -import BasePrelude-import MTLPrelude-import Control.DeepSeq+import Prelude import Criterion import Criterion.Main-import Data.Text (Text)-import Data.ByteString (ByteString)-import Data.Scientific (Scientific)-import Data.Time import qualified PostgreSQL.Binary.Encoder as E  
postgresql-binary.cabal view
@@ -1,7 +1,7 @@ name:   postgresql-binary version:-  0.9.1.1+  0.9.2 synopsis:   Encoders and decoders for the PostgreSQL's binary format description:@@ -12,7 +12,7 @@   is based on this library.   .   It supports all Postgres versions starting from 8.3 -  and is tested against 8.3, 9.3 and 9.4+  and is tested against 8.3, 9.3 and 9.5   with the @integer_datetimes@ setting off and on. category:   PostgreSQL, Database, Codecs, Parsing@@ -78,7 +78,7 @@     scientific >= 0.2 && < 0.4,     bytestring >= 0.10.4 && < 0.11,     text >= 1 && < 2,-    vector >= 0.10 && < 0.12,+    vector >= 0.10 && < 0.13,     -- errors:     loch-th == 0.2.*,     placeholders == 0.1.*,@@ -119,27 +119,18 @@     tasty-smallcheck == 0.8.*,     tasty-hunit == 0.9.*,     quickcheck-instances >= 0.3.11 && < 0.4,-    QuickCheck >= 2.8.1 && < 2.9,+    QuickCheck >= 2.8.1 && < 2.10,     -- data:     aeson,-    json-ast == 0.2.*,-    uuid == 1.3.*,-    time >= 1.4 && < 2,-    scientific >= 0.2 && < 0.4,-    bytestring >= 0.10.4 && < 0.11,-    text >= 1 && < 2,-    vector >= 0.10 && < 0.12,-    -- errors:-    loch-th == 0.2.*,-    placeholders == 0.1.*,-    -- general:+    json-ast == 0.3.*,     conversion == 1.*,     conversion-bytestring == 1.*,     conversion-text == 1.*,-    either == 4.*,-    transformers,-    rebase >= 0.4 && < 2,-    base+    -- debugging:+    loch-th == 0.2.*,+    placeholders == 0.1.*,+    -- general:+    rerebase >= 1.0.2 && < 2   benchmark encoding@@ -162,15 +153,8 @@     postgresql-binary,     -- benchmarking:     criterion >= 1.0 && < 1.2,-    -- data:-    time,-    scientific,-    text,-    bytestring,     -- general:-    deepseq >= 1.3 && < 1.5,-    mtl-prelude < 3,-    base-prelude+    rerebase < 2   benchmark decoding@@ -193,12 +177,5 @@     postgresql-binary,     -- benchmarking:     criterion >= 1.0 && < 1.2,-    -- data:-    time,-    scientific,-    text,-    bytestring,     -- general:-    deepseq >= 1.3 && < 1.5,-    mtl-prelude < 3,-    base-prelude+    rerebase < 2
tasty/Main/Gens.hs view
@@ -3,17 +3,16 @@ import Main.Prelude hiding (assert, isRight, isLeft, choose) import Test.QuickCheck hiding (vector) import Test.QuickCheck.Instances-import JSONAST (JSON)+import JSONAST import qualified Main.PTI as PTI import qualified Data.Scientific as Scientific import qualified Data.UUID as UUID import qualified Data.Vector as Vector-import qualified Rebase.Data.HashMap.Strict as HashMap+import qualified Data.HashMap.Strict as HashMap import qualified PostgreSQL.Binary.Data as Data import qualified PostgreSQL.Binary.Encoder as Encoder import qualified Data.Text as Text import qualified Data.Aeson as Aeson-import qualified JSONAST   -- * Generators@@ -43,17 +42,17 @@         maxFreq =           6         null =-          pure JSONAST.Null+          pure JSON_Null         bool =-          fmap JSONAST.Bool arbitrary+          fmap JSON_Bool arbitrary         number =-          fmap JSONAST.Number arbitrary+          fmap JSON_Number arbitrary         string =-          fmap JSONAST.String text+          fmap JSON_String text         array =-          fmap JSONAST.Array (vector (byDepth (succ depth)))+          fmap JSON_Array (vector (byDepth (succ depth)))         object =-          fmap JSONAST.Object (hashMap text (byDepth (succ depth)))+          fmap JSON_Object (hashMap text (byDepth (succ depth)))  vector :: Gen a -> Gen (Vector a) vector element =
tasty/Main/Prelude.hs view
@@ -11,9 +11,9 @@ where  --- rebase+-- rerebase --------------------------import Rebase.Prelude as Exports hiding (assert, Data, fail)+import Prelude as Exports hiding (assert, Data, fail, check)  -- conversion -------------------------