summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrickBrisbin <>2013-01-03 19:17:53 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2013-01-03 19:17:53 (GMT)
commit185d1d22b243c5013ccd2dcfa979ee5123b29fae (patch)
treed144ac16564410214d33e7c5985f13fba9eb42ae
parente1820e6bb2977686f778cc769db3f3848869245e (diff)
version 0.5.20.5.2
-rw-r--r--Network/Gravatar.hs2
-rw-r--r--gravatar.cabal4
2 files changed, 4 insertions, 2 deletions
diff --git a/Network/Gravatar.hs b/Network/Gravatar.hs
index 38867aa..d67e13a 100644
--- a/Network/Gravatar.hs
+++ b/Network/Gravatar.hs
@@ -20,6 +20,7 @@ module Network.Gravatar
, DefaultImg(..)
, ForceDefault(..)
, Rating(..)
+ , Default(..)
, defaultConfig
) where
@@ -85,6 +86,7 @@ data GravatarOptions = GravatarOptions
instance Default GravatarOptions where
def = defaultConfig
+-- | Available for backwards compatability, using @def@ is advised
defaultConfig :: GravatarOptions
defaultConfig = GravatarOptions
{ gSize = Nothing
diff --git a/gravatar.cabal b/gravatar.cabal
index 570f5a0..6e61aa9 100644
--- a/gravatar.cabal
+++ b/gravatar.cabal
@@ -1,5 +1,5 @@
name: gravatar
-version: 0.5.1
+version: 0.5.2
description: Look up gravatar image urls by email address
synopsis: Look up gravatar image urls by email address
homepage: http://github.com/pbrisbin/gravatar
@@ -16,7 +16,7 @@ library
build-depends: base >= 4 && < 5
, text >= 0.11 && < 0.12
- , bytestring >= 0.9.1 && < 0.10
+ , bytestring >= 0.9.1 && < 0.11
, pureMD5 < 3
, HTTP
, data-default