packages feed

hspec-server 0.4.0 → 0.4.1

raw patch · 4 files changed

+8/−4 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.4.1++* Reduce time used by stSetup+ ## 0.4.0  * Add NetworkStatus and function for checking network-reachablity
Test/Hspec/Server/Core.hs view
@@ -5,7 +5,7 @@ import System.Exit import Control.Monad.Trans.Reader import qualified Test.Hspec.Core.Spec as Hspec-import Test.Hspec (before)+import Test.Hspec (beforeAll)  import Control.Monad import Data.List@@ -43,7 +43,7 @@ type ServerExample dat = ReaderT dat IO  with :: ServerType dat => dat -> Hspec.SpecWith dat -> Hspec.Spec-with d = before (stSetup d)+with d = beforeAll (stSetup d)  instance (ServerType dat) => Hspec.Example (ServerExample dat ()) where   type Arg (ServerExample dat ()) = dat
Test/Hspec/Server/ServerType.hs view
@@ -62,7 +62,7 @@  instance ServerType Vagrant where   stSetup a = do-    (e,conf,_) <- readProcessWithExitCode "vagrant" ["ssh-config"] []+    (e,conf,_) <- readProcessWithExitCode "vagrant" ["ssh-config",vHostName a] []     when (e /= ExitSuccess) $ do       error "vagrant setup error"     os' <- detectOS (a {vConf = Just conf})
hspec-server.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                hspec-server-version:             0.4.0+version:             0.4.1 synopsis:            Test Framework for checking server's status description:         Hspec-Server is test framework for checking server's status.                      It is inspired by the Ruby library ServerSpec.