packages feed

hspec-junit-formatter 1.1.0.0 → 1.1.0.1

raw patch · 3 files changed

+27/−21 lines, 3 filesdep +iso8601-timedep ~basedep ~conduitdep ~containersPVP ok

version bump matches the API change (PVP)

Dependencies added: iso8601-time

Dependency ranges changed: base, conduit, containers, directory, exceptions, filepath, markdown-unlit, text, time, xml-conduit, xml-types

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,6 +1,11 @@-## [_Unreleased_](https://github.com/freckle/hspec-junit-formatter/compare/v1.1.0.0...main)+## [_Unreleased_](https://github.com/freckle/hspec-junit-formatter/compare/v1.1.0.1...main)  None++## [v1.1.0.1](https://github.com/freckle/hspec-junit-formatter/compare/v1.1.0.0...v1.1.0.1)++- Release with looser lower-bounds+- CI against older GHCs  ## [v1.1.0.0](https://github.com/freckle/hspec-junit-formatter/compare/v1.0.3.0...v1.1.0.0) 
hspec-junit-formatter.cabal view
@@ -1,6 +1,6 @@ cabal-version:      1.12 name:               hspec-junit-formatter-version:            1.1.0.0+version:            1.1.0.1 license:            MIT license-file:       LICENSE copyright:          2021 Renaissance Learning Inc@@ -46,17 +46,18 @@         TypeApplications TypeFamilies      build-depends:-        base >=4.14.1.0 && <5,-        conduit >=1.3.4.1,-        containers >=0.6.2.1,-        directory >=1.3.6.0,-        exceptions >=0.10.4,-        filepath >=1.4.2.1,+        base >=4.11.1.0 && <5,+        conduit >=1.3.1,+        containers >=0.5.11.0,+        directory >=1.3.1.5,+        exceptions >=0.10.0,+        filepath >=1.4.2,         hspec-core >=2.8.1,-        text >=1.2.4.1,-        time >=1.9.3,-        xml-conduit >=1.9.1.1,-        xml-types >=0.3.8+        iso8601-time >=0.1.5,+        text >=1.2.3.1,+        time >=1.8.0.2,+        xml-conduit >=1.8.0.1,+        xml-types >=0.3.6  test-suite readme     type:               exitcode-stdio-1.0@@ -74,11 +75,11 @@      ghc-options:        -pgmL markdown-unlit     build-depends:-        base >=4.14.1.0 && <5,+        base >=4.11.1.0 && <5,         hspec >=2.8.1,         hspec-core >=2.8.1,         hspec-junit-formatter -any,-        markdown-unlit >=0.5.1+        markdown-unlit >=0.5.0  test-suite spec     type:               exitcode-stdio-1.0@@ -100,11 +101,11 @@      ghc-options:        -threaded -rtsopts -O0 -with-rtsopts=-N     build-depends:-        base >=4.14.1.0 && <5,-        containers >=0.6.2.1,-        filepath >=1.4.2.1,+        base >=4.11.1.0 && <5,+        containers >=0.5.11.0,+        filepath >=1.4.2,         hspec >=2.8.1,         hspec-junit-formatter -any,         temporary >=1.3,-        text >=1.2.4.1,-        xml-conduit >=1.9.1.1+        text >=1.2.3.1,+        xml-conduit >=1.8.0.1
library/Test/Hspec/JUnit/Render.hs view
@@ -9,7 +9,7 @@ import qualified Data.Conduit.List as CL import Data.Foldable (traverse_) import Data.Text (Text, pack)-import Data.Time.Format.ISO8601 (iso8601Show)+import Data.Time.ISO8601 (formatISO8601) import Data.XML.Types (Event) import Test.Hspec.JUnit.Schema   (Location(..), Result(..), Suite(..), Suites(..), TestCase(..))@@ -37,7 +37,7 @@       <> attr "package" suiteName       <> attr "id" (tshow i)       <> attr "time" (roundToStr $ sumDurations suiteCases)-      <> attr "timestamp" (pack $ iso8601Show suiteTimestamp)+      <> attr "timestamp" (pack $ formatISO8601 suiteTimestamp)       <> attr "hostname" "localhost"       <> attr "tests" (tshow $ length suiteCases)       <> attr