packages feed

yesod-job-queue 0.3.0.2 → 0.3.0.3

raw patch · 2 files changed

+7/−8 lines, 2 filesdep ~aeson

Dependency ranges changed: aeson

Files

Yesod/JobQueue.hs view
@@ -33,7 +33,7 @@ import Control.Monad.Trans.Class (lift) import Control.Monad.Trans.Control (MonadBaseControl) import Control.Monad.Trans.Reader (ReaderT, runReaderT)-import Data.Aeson (ToJSON(toJSON), Value(String), (.=), object)+import Data.Aeson (Value, (.=), object) import Data.Aeson.TH (defaultOptions, deriveToJSON) import Data.ByteString (ByteString) import qualified Data.ByteString.Char8 as BSC@@ -69,8 +69,7 @@     , jobId :: U.UUID     , startTime :: UTCTime     } deriving (Eq)-instance ToJSON U.UUID where-    toJSON = String . T.pack . U.toString+ $(deriveToJSON defaultOptions ''RunningJob)  -- | Manage the running jobs
yesod-job-queue.cabal view
@@ -1,5 +1,5 @@ name:                yesod-job-queue-version:             0.3.0.2+version:             0.3.0.3 synopsis:            Background jobs library for Yesod. description:   Background jobs library for Yesod@@ -45,7 +45,7 @@                      , TypeSynonymInstances                      , ViewPatterns   build-depends:       base >= 4.7 && < 5-                     , aeson+                     , aeson >= 1.1                      , api-field-json-th                      , bytestring                      , cron@@ -63,7 +63,7 @@                      , yesod-core                      , yesod-persistent                      -  ghc-options:         -Wall -fwarn-tabs -O2+  ghc-options:         -Wall -fwarn-tabs   default-language:    Haskell2010  executable          yesod-job-queue-example@@ -83,7 +83,7 @@                      , GeneralizedNewtypeDeriving                      , DeriveGeneric --  other-modules: -  ghc-options:      -Wall -fwarn-tabs -O2+  ghc-options:      -Wall -fwarn-tabs    build-depends:  base >= 4.7 && < 5                 , yesod@@ -95,7 +95,7 @@                 , classy-prelude-yesod                 , hedis -  ghc-options:    -threaded -O2 -rtsopts -with-rtsopts=-N+  ghc-options:    -threaded -rtsopts -with-rtsopts=-N   default-language:    Haskell2010    test-suite yesod-job-queue-test