atom-conduit 0.5.0.2 → 0.5.0.3
raw patch · 4 files changed
+4/−17 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Text.Atom.Types: instance GHC.Read.Read Text.Atom.Types.AtomCategory
- Text.Atom.Types: instance GHC.Read.Read Text.Atom.Types.AtomText
- Text.Atom.Types: instance GHC.Read.Read Text.Atom.Types.TextType
Files
- LICENSE +0/−2
- Text/Atom/Types.hs +1/−10
- atom-conduit.cabal +2/−3
- test/Main.hs +1/−2
LICENSE view
@@ -1,8 +1,6 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 -Copyright (C) 2011 koral <koral at mailoo dot org>- Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
Text/Atom/Types.hs view
@@ -61,7 +61,7 @@ data TextType = TypeText | TypeHTML- deriving(Eq, Ord, Generic, Read, Show)+ deriving(Eq, Ord, Generic, Show) -- | An atom text construct. data AtomText = AtomPlainText TextType Text@@ -70,7 +70,6 @@ deriving instance Eq AtomText deriving instance Ord AtomText deriving instance Generic AtomText-deriving instance Read AtomText deriving instance Show AtomText -- | An atom person construct.@@ -83,7 +82,6 @@ deriving instance Eq AtomPerson deriving instance Ord AtomPerson deriving instance Generic AtomPerson--- deriving instance Read AtomPerson deriving instance Show AtomPerson -- | The @atom:category@ element.@@ -96,7 +94,6 @@ deriving instance Eq AtomCategory deriving instance Ord AtomCategory deriving instance Generic AtomCategory-deriving instance Read AtomCategory deriving instance Show AtomCategory -- | The @atom:link@ element.@@ -112,7 +109,6 @@ deriving instance Eq AtomLink deriving instance Ord AtomLink deriving instance Generic AtomLink--- deriving instance Read AtomLink deriving instance Show AtomLink -- | The @atom:generator@ element.@@ -125,7 +121,6 @@ deriving instance Eq AtomGenerator deriving instance Ord AtomGenerator deriving instance Generic AtomGenerator--- deriving instance Read AtomGenerator deriving instance Show AtomGenerator -- | The @atom:source@ element.@@ -147,7 +142,6 @@ deriving instance Eq AtomSource deriving instance Ord AtomSource deriving instance Generic AtomSource--- deriving instance Read AtomSource deriving instance Show AtomSource type Type = Text@@ -161,7 +155,6 @@ deriving instance Eq AtomContent deriving instance Ord AtomContent deriving instance Generic AtomContent--- deriving instance Read AtomContent deriving instance Show AtomContent -- | The @atom:entry@ element.@@ -183,7 +176,6 @@ deriving instance Eq AtomEntry deriving instance Ord AtomEntry deriving instance Generic AtomEntry--- deriving instance Read AtomEntry deriving instance Show AtomEntry -- | The @atom:feed@ element.@@ -206,5 +198,4 @@ deriving instance Eq AtomFeed deriving instance Ord AtomFeed deriving instance Generic AtomFeed--- deriving instance Read AtomFeed deriving instance Show AtomFeed
atom-conduit.cabal view
@@ -1,13 +1,12 @@ name: atom-conduit-version: 0.5.0.2+version: 0.5.0.3 cabal-version: >=1.10 build-type: Simple license: PublicDomain license-file: LICENSE maintainer: koral synopsis: Streaming parser/renderer for the Atom 1.0 standard (RFC 4287).-description:- Please refer to README.+description: Cf README. category: XML, Conduit author: koral extra-source-files:
test/Main.hs view
@@ -1,4 +1,3 @@-{-# LANGUAGE ExplicitForAll #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE OverloadedStrings #-} import Blaze.ByteString.Builder (toByteString)@@ -215,7 +214,7 @@ instance Arbitrary AtomGenerator where arbitrary = do- Just content <- fromNullable . pack <$> listOf1 alphaNum+ ~(Just content) <- fromNullable . pack <$> listOf1 alphaNum AtomGenerator <$> arbitrary <*> arbitrary <*> pure content shrink = genericShrink