Skip to content

Commit

Permalink
2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjio committed Sep 2, 2020
1 parent 4da0eb9 commit 1e237b7
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ compiler ? "ghc865", check ? false, nixpkgs ? <nixpkgs> }:
{ compiler ? "ghc884", check ? false, nixpkgs ? <nixpkgs> }:
let
config = {
packageOverrides = pkgs: with pkgs.haskell.lib; {
Expand Down
4 changes: 2 additions & 2 deletions stripe-core/stripe-core.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: stripe-core
version: 2.5.0
version: 2.6.0
synopsis: Stripe API for Haskell - Pure Core
license: MIT
license-file: LICENSE
Expand All @@ -25,7 +25,7 @@ library
, bytestring >= 0.10 && < 0.11
, mtl >= 2.1.2 && < 2.3
, text >= 1.0 && < 1.3
, time >= 1.4 && < 1.10
, time >= 1.4 && < 1.11
, transformers >= 0.3 && < 0.6
, unordered-containers >= 0.2.5 && < 0.3

Expand Down
2 changes: 1 addition & 1 deletion stripe-haskell/stripe-haskell.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: stripe-haskell
version: 2.5.0
version: 2.6.0
synopsis: Stripe API for Haskell
license: MIT
license-file: LICENSE
Expand Down
2 changes: 1 addition & 1 deletion stripe-http-client/stripe-http-client.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: stripe-http-client
version: 2.5.0
version: 2.6.0
license: MIT
license-file: LICENSE
author: Christopher Reichert
Expand Down
4 changes: 2 additions & 2 deletions stripe-tests/stripe-tests.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: stripe-tests
version: 2.5.0
version: 2.6.0
synopsis: Tests for Stripe API bindings for Haskell
license: MIT
license-file: LICENSE
Expand Down Expand Up @@ -32,7 +32,7 @@ library
, hspec-core >= 2.1.0 && < 2.8
, stripe-core
, text >= 1.0 && < 1.3
, time >= 1.4 && < 1.9
, time >= 1.4 && < 1.11
, transformers >= 0.3 && < 0.6
, unordered-containers >= 0.2.5 && < 0.3

Expand Down
3 changes: 1 addition & 2 deletions stripe-tests/tests/Web/Stripe/Test/Account.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ accountTests :: StripeSpec
accountTests stripe = do
describe "Account tests" $ do
it "Succesfully retrieves account information" $ do
result <- stripe $ do d <- getAccountDetails
result <- stripe $ do d <- getAccountDetails
return d
result `shouldSatisfy` isRight

1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/AllTests.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.AllTests where

import Test.Hspec (hspec)
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/ApplicationFee.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.ApplicationFee where

import Test.Hspec
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/ApplicationFeeRefund.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.ApplicationFeeRefund where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Balance.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Balance where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Card.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Card where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Charge.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Charge where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Coupon.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Coupon where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Customer.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Customer where
import Data.Either
import Data.Maybe
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Discount.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Discount where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Dispute.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Dispute where

import Control.Concurrent (threadDelay)
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Event.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Event where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Invoice.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Invoice where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/InvoiceItem.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.InvoiceItem where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Plan.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Plan where

import Data.Either (Either(..), isRight)
Expand Down
2 changes: 1 addition & 1 deletion stripe-tests/tests/Web/Stripe/Test/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ m >>= f = (stripeLift m) M.>>= f
void :: (FromJSON (StripeReturn a)) => StripeRequest a -> Stripe ()
void req = M.void (stripeLift req)

fail :: (M.Monad m) => String -> m a
fail :: (M.MonadFail m) => String -> m a
fail = M.fail

return :: (M.Monad m) => a -> m a
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Recipient.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Recipient where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Refund.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Refund where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Subscription.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Subscription where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Token.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Token where

import Data.Either
Expand Down
1 change: 1 addition & 0 deletions stripe-tests/tests/Web/Stripe/Test/Transfer.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RebindableSyntax #-}
{-# LANGUAGE RankNTypes #-}
module Web.Stripe.Test.Transfer where

import Data.Maybe
Expand Down

0 comments on commit 1e237b7

Please sign in to comment.