cryptocompare 0.1.0 → 0.1.1
raw patch · 3 files changed
+4/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +1/−1
- cryptocompare.cabal +1/−1
- test/Spec.hs +2/−2
README.md view
@@ -1,7 +1,7 @@ # CryptoCompare [](https://travis-ci.org/aviaviavi/cryptocompare)-[](https://hackage.haskell.org/package/cryptocompare-0.0.3)+[](https://hackage.haskell.org/package/cryptocompare-0.1.0) A Haskell wrapper to the public [CryptoCompare API](https://www.cryptocompare.com/api/), a source of information and pricing of different crypto currencies. See hackage for API documentation.
cryptocompare.cabal view
@@ -1,5 +1,5 @@ name: cryptocompare-version: 0.1.0+version: 0.1.1 synopsis: Haskell wrapper for the cryptocompare API description: Haskell wrapper for the cryptocompare API, a source of information and pricing of different crypto-currencies.
test/Spec.hs view
@@ -2,7 +2,7 @@ import CryptoCompare import Data.Either-import Data.Either.Utils+import qualified Data.Either.Utils as U import Test.Hspec main :: IO ()@@ -11,7 +11,7 @@ it "performs basic example fetches" $ do coinList <- fetchCoinList coinList `shouldSatisfy` isRight- fromRight coinList `shouldSatisfy` (\x -> length x > 1000)+ U.fromRight coinList `shouldSatisfy` (\x -> length x > 1000) priceResp <- fetchCurrentPrice "BTC" ["USD", "EUR", "BTC"] priceResp `shouldSatisfy` isRight priceHistResp <- fetchDailyPriceHistory "BTC" "USD" 300