packages feed

xml-conduit 1.0.2.1 → 1.0.3

raw patch · 2 files changed

+7/−6 lines, 2 filesdep ~hspecdep ~xml-types

Dependency ranges changed: hspec, xml-types

Files

Text/XML.hs view
@@ -79,6 +79,7 @@     , ExternalID (..)
     )
 import Data.Typeable (Typeable)
+import Data.Data (Data)
 import Data.Text (Text)
 import qualified Text.XML.Stream.Parse as P
 import qualified Text.XML.Unresolved as D
@@ -121,21 +122,21 @@     , documentRoot :: Element
     , documentEpilogue :: [Miscellaneous]
     }
-  deriving (Show, Eq, Typeable)
+  deriving (Show, Eq, Typeable, Data)
 
 data Node
     = NodeElement Element
     | NodeInstruction Instruction
     | NodeContent Text
     | NodeComment Text
-  deriving (Show, Eq, Ord, Typeable)
+  deriving (Show, Eq, Ord, Typeable, Data)
 
 data Element = Element
     { elementName :: Name
     , elementAttributes :: Map.Map Name Text
     , elementNodes :: [Node]
     }
-  deriving (Show, Eq, Ord, Typeable)
+  deriving (Show, Eq, Ord, Typeable, Data)
 
 {-
 readFile :: FilePath -> ParseSettings -> IO (Either SomeException Document)
xml-conduit.cabal view
@@ -1,5 +1,5 @@ name:            xml-conduit
-version:         1.0.2.1
+version:         1.0.3
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michaels@suite-sol.com>, Aristid Breitkreuz <aristidb@googlemail.com>
@@ -35,7 +35,7 @@                    , bytestring                >= 0.9      && < 0.10
                    , text                      >= 0.7      && < 0.12
                    , containers                >= 0.2
-                   , xml-types                 >= 0.3.1    && < 0.4
+                   , xml-types                 >= 0.3.3    && < 0.4
                    , attoparsec                >= 0.10
                    , blaze-builder             >= 0.2      && < 0.4
                    , transformers              >= 0.2      && < 0.4
@@ -64,7 +64,7 @@                           , transformers
                           , bytestring
                           , xml-conduit
-                          , hspec
+                          , hspec == 1.3.*
                           , HUnit
                           , xml-types >= 0.3.1
                           , conduit