packages feed

google-oauth2-jwt 0.2.2 → 0.3.0

raw patch · 2 files changed

+7/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

google-oauth2-jwt.cabal view
@@ -1,5 +1,5 @@ name:                google-oauth2-jwt-version:             0.2.2+version:             0.3.0 synopsis:            Get a signed JWT for Google Service Accounts description:         This library implements the creation of the                      signed JWT for Google Service Accounts.@@ -8,7 +8,7 @@ license-file:        LICENSE author:              Michel Boucey maintainer:          michel.boucey@cybervisible.fr-copyright:           (c) 2016-2017 - Michel Boucey+copyright:           (c) 2016-2018 - Michel Boucey category:            Google build-type:          Simple extra-source-files:  README.md
src/Network/Google/OAuth2/JWT.hs view
@@ -24,6 +24,7 @@ import qualified Data.ByteString            as B import           Data.ByteString.Base64.URL (encode) import           Data.ByteString.Lazy       (fromStrict, toStrict)+import           Data.ByteString.Char8      (unpack) import           Data.Maybe                 (fromMaybe, fromJust) import           Data.Monoid                ((<>)) import qualified Data.Text                  as T@@ -37,7 +38,10 @@  data SignedJWT =   SignedJWT !B.ByteString-  deriving (Eq, Show)+  deriving (Eq)++instance Show SignedJWT where+  show (SignedJWT t) = unpack t  type Email = T.Text