packages feed

atlassian-connect-core 0.2.0.0 → 0.3.0.0

raw patch · 2 files changed

+5/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

atlassian-connect-core.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.2.0.0+version:             0.3.0.0  -- A short (one-line) description of the package. synopsis:            Atlassian Connect snaplet for the Snap Framework and helper code.
src/Snap/AtlassianConnect/Instances.hs view
@@ -10,11 +10,14 @@  -- | An Atlassian Connect URI newtype ConnectURI = CURI URI-    deriving(Eq, Show)+    deriving(Eq)  -- | Get a regular URI from an Atlassian Connect URI getURI :: ConnectURI -> URI getURI (CURI u) = u++instance Show ConnectURI where+    show (CURI u) = show u  instance FromJSON ConnectURI where    parseJSON (String uriString) = maybe mzero return (fmap CURI . parseURI . T.unpack $ uriString)