packages feed

hspec 1.9.3 → 1.9.4

raw patch · 6 files changed

+13/−12 lines, 6 filesdep ~transformersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: transformers

API changes (from Hackage documentation)

Files

+ changelog view
@@ -0,0 +1,1 @@+See https://github.com/hspec/hspec/blob/master/CHANGES.markdown
hspec.cabal view
@@ -1,5 +1,5 @@ name:             hspec-version:          1.9.3+version:          1.9.4 license:          MIT license-file:     LICENSE copyright:        (c) 2011-2014 Simon Hengel,@@ -22,8 +22,10 @@                   .                   The Hspec Manual is at <http://hspec.github.io/>. --- find hspec-discover/test-data/ -type f extra-source-files:+  changelog++-- find hspec-discover/test-data/ -type f   hspec-discover/test-data/nested-spec/FooSpec.hs   hspec-discover/test-data/nested-spec/Foo/Bar/BazSpec.hs   hspec-discover/test-data/nested-spec/Foo/BarSpec.hs@@ -45,7 +47,7 @@     , setenv     , ansi-terminal >= 0.5     , time-    , transformers  >= 0.2.2.0 && < 0.4.0+    , transformers  >= 0.2.2.0     , deepseq     , HUnit         >= 1.2.5     , QuickCheck    >= 2.5.1
src/Test/Hspec/Compat.hs view
@@ -10,6 +10,10 @@ #endif ) where +#if !MIN_VERSION_base(4,3,0)+import           Control.Monad.Trans.Error () -- for Monad (Either e)+#endif+ import           Data.Typeable (Typeable, typeOf, typeRepTyCon) import           Text.Read import           Data.IORef
src/Test/Hspec/Config.hs view
@@ -15,9 +15,6 @@ import           Test.Hspec.Formatters  import           Test.Hspec.Util--import           Control.Monad.Trans.Error () -- for Monad (Either e) when base < 4.3- import           Test.Hspec.Options import           Test.Hspec.FailureReport import           Test.Hspec.Core.QuickCheckUtil (mkGen)
src/Test/Hspec/Options.hs view
@@ -11,13 +11,10 @@ import           Data.List import           System.Exit import           System.Console.GetOpt-import           Test.Hspec.Formatters +import           Test.Hspec.Formatters import           Test.Hspec.Compat import           Test.Hspec.Util---- for Monad (Either e) when base < 4.3-import           Control.Monad.Trans.Error ()  data Options = Options {   optionsDryRun       :: Bool
src/Test/Hspec/Runner/Eval.hs view
@@ -18,8 +18,8 @@ import           Data.Time.Clock.POSIX  data Tree a-  = Node! String [Tree a]-  | Leaf! String a+  = Node !String [Tree a]+  | Leaf !String a   deriving (Eq, Show, Functor)  toTree :: SpecTree -> Tree Item