packages feed

persistent-redis 2.5.1 → 2.5.2

raw patch · 2 files changed

+20/−18 lines, 2 filesdep ~binarydep ~hedisdep ~monad-control

Dependency ranges changed: binary, hedis, monad-control, persistent, persistent-template, time, transformers, utf8-string

Files

Database/Persist/Redis/Store.hs view
@@ -1,10 +1,9 @@ {-# LANGUAGE FlexibleContexts, UndecidableInstances #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}-{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE FlexibleInstances #-} {-# OPTIONS_GHC -fno-warn-orphans #-}-module Database.Persist.Redis.Store +module Database.Persist.Redis.Store     ( execRedisT     , RedisBackend     )where@@ -45,6 +44,10 @@         (Right x) -> return x         (Left x)  -> fail x +instance HasPersistBackend R.Connection where+  type BaseBackend R.Connection = R.Connection+  persistBackend = id+ instance PersistCore R.Connection where     newtype BackendKey R.Connection = RedisKey Text         deriving (Show, Read, Eq, Ord, PersistField, FromJSON, ToJSON)@@ -113,4 +116,3 @@  instance Sql.PersistFieldSql (BackendKey RedisBackend) where     sqlType _ = Sql.SqlOther (pack "doesn't make much sense for Redis backend")-
persistent-redis.cabal view
@@ -1,5 +1,5 @@ name:            persistent-redis-version:         2.5.1+version:         2.5.2 license:         BSD3 license-file:    LICENSE author:          Pavel Ryzhov <paul@paulrz.cz>@@ -18,18 +18,18 @@  library     build-depends:   base                  >= 4.6        && < 5-                   , hedis                 >= 0.6.0   +                   , hedis                 >= 0.6.0                    , bytestring            >= 0.10.0.0 && < 0.11.0.0-                   , persistent            >= 2.5      && < 3+                   , persistent            >= 2.5      && < 3.0                    , text                  >= 1.2.0.0                    , aeson                 >= 0.8                    , time                  >= 1.4      && < 1.7                    , attoparsec            >= 0.12.0.0                    , mtl                   >= 2.2.0    && < 2.3                    , transformers          >= 0.4.0.0  && < 0.6.0.0-                   , monad-control         >= 0.3.2.0-                   , utf8-string           >= 0.3.7   -                   , binary                >= 0.7      && < 0.8+                   , monad-control         >= 0.3.2.0  && < 1.2.0.0+                   , utf8-string           >= 0.3.7    && < 1.1.0+                   , binary                >= 0.7      && < 0.9                    , scientific            >= 0.3.1    && < 0.4                    , path-pieces           >= 0.1                    , http-api-data@@ -49,21 +49,21 @@     type: exitcode-stdio-1.0     main-is: tests/basic-test.hs     build-depends:   base                  >= 4.6        && < 5-                   , hedis                 >= 0.6.0    && < 0.7.0-                   , persistent            >= 2.1      && < 2.2-                   , persistent-template   >= 2.1      && < 2.2+                   , hedis                 >= 0.6.0+                   , persistent            >= 2.5      && < 3.0+                   , persistent-template   >= 2.5      && < 3.0                    , mtl                   >= 2.2.0    && < 2.3-                   , transformers          >= 0.4.0.0  && < 0.5-                   , utf8-string           >= 0.3.7    && < 0.4.0+                   , transformers          >= 0.4.0.0  && < 0.6.0.0+                   , utf8-string           >= 0.3.7    && < 1.1.0                    , bytestring            >= 0.10.0.0 && < 0.11.0.0                    , text                  >= 1.2.0.0                    , aeson                 >= 0.8-                   , binary                >= 0.7      && < 0.8-                   , time                  >= 1.4      && < 1.5+                   , binary                >= 0.7      && < 0.9+                   , time                  >= 1.4      && < 1.7                    , attoparsec            >= 0.12.0.0                    , template-haskell-                   , monad-control         >= 0.3.2.0  && < 0.4-                   , utf8-string           >= 0.3.7    && < 0.4.0+                   , monad-control         >= 0.3.2.0  && < 1.2.0.0                    , path-pieces           >= 0.1                    , scientific+                   , http-api-data                    , persistent-redis