1382 Commits

Author SHA1 Message Date
Olivier Bellone
dbf8a41244
Embed OpenAPI files and start stripe-mock from test suite 2019-01-10 15:06:01 +01:00
mickjermsurawong-stripe
9776f674f1
Merge pull request #734 from stripe/mickjermsurawong/update-stripe-mock-version
bump strip mock version to 0.40.1
2019-01-09 16:03:34 -08:00
Mick Jermsurawong
652047f130 bump strip mock version to 0.40.1 2019-01-09 15:55:41 -08:00
Olivier Bellone
af1c829a41
Merge pull request #721 from stripe/ob-fix-ci
CI fixes
2019-01-05 20:22:44 +01:00
Olivier Bellone
fe4e21c8db
Remove to_hash method on NilClass after test 2019-01-04 17:34:51 +01:00
Olivier Bellone
0a63716682
Pin bundler to 1.x 2019-01-04 16:02:56 +01:00
Brandur
55b4d78026 Bump version to 4.5.0 v4.5.0 2019-01-02 08:00:53 -07:00
Brandur
365759e0b0
Merge pull request #719 from stripe/brandur-support-express-authorize
Generate OAuth authorize URLs for express accounts
2019-01-02 08:00:02 -07:00
Brandur
403be3b106 Generate OAuth authorize URLs for express accounts
Connect with Express accounts uses a slightly different version of the
OAuth authorize URL [1] in that it's prefixed with `/express`.

Here we add a new option to `Stripe::OAuth.authorize_url` which allows
`express: true` to be passed in to generate the Express variant.

Note that the token endpoint has no equivalent so we don't need the
option there.

Fixes #717.

[1] https://stripe.com/docs/connect/oauth-reference#express-account-differences
2018-12-31 13:47:35 -07:00
Brandur
6f81c907e8 Bump version to 4.4.1 v4.4.1 2018-12-31 11:09:56 -07:00
Brandur
4d7f15f881
Merge pull request #718 from seratch/typo-misspell
Fix typo/misspell in comments & error messages
2018-12-31 10:07:44 -08:00
Kazuhiro Sera
4081d8c5ed Fix typo/misspell in comments & error messages 2018-12-31 15:26:56 +09:00
Remi Jannel
e2c352de07 Bump version to 4.4.0 v4.4.0 2018-12-21 09:43:55 +01:00
remi-stripe
b99ed974d4
Merge pull request #716 from stripe/remi-add-checkout-sessions
Add support for Checkout Sessions
2018-12-21 09:39:19 +01:00
Remi Jannel
0747d59752 Add support for the Checkout Session resource 2018-12-21 09:20:29 +01:00
Olivier Bellone
98851f9ad3
Bump version to 4.3.0 v4.3.0 2018-12-10 17:21:21 -08:00
Olivier Bellone
ab17913243
Merge pull request #711 from stripe/remi-add-account-links
Add support for the Account Link resource
2018-12-11 02:20:50 +01:00
Remi Jannel
220bac9397 Add support for the Account Link resource 2018-12-07 16:06:04 -08:00
Remi Jannel
c186e71c92 Revert "Add support for the Account Link resource"
This reverts commit 335c40b4d8cf974c427f34024072272441a5131e.
2018-12-07 16:05:05 -08:00
Remi Jannel
335c40b4d8 Add support for the Account Link resource 2018-12-07 15:54:50 -08:00
Remi Jannel
b34d527f60 Bump version to 4.2.0 v4.2.0 2018-11-28 11:42:22 -05:00
remi-stripe
ed10fc811d
Merge pull request #705 from stripe/remi-add-radar-review
Add support for the Review resource
2018-11-28 10:50:06 -05:00
Remi Jannel
0383de9dc2 Add support for the Review resource 2018-11-28 09:50:42 -05:00
Olivier Bellone
3c7995f030
Bump version to 4.1.0 v4.1.0 2018-11-27 14:17:38 +01:00
Olivier Bellone
e66705aa84
Merge pull request #695 from stripe/remi-add-radar-lists
Add support for Radar List and ListItem resources
2018-11-27 14:16:35 +01:00
Remi Jannel
ceab2740c1
Add support for Radar List and ListItem resources 2018-11-27 14:10:18 +01:00
Brandur
67c88f3572 Bump version to 4.0.3 v4.0.3 2018-11-19 08:29:15 -08:00
Brandur
d54ac0439e
Merge pull request #703 from stripe/ob-fix-windows
Don't use net-http-persistent on Windows
2018-11-19 08:28:02 -08:00
Olivier Bellone
bea6d5dd12
Don't use net-http-persistent on Windows 2018-11-19 12:37:58 +01:00
Olivier Bellone
aa611c268c
Bump version to 4.0.2 v4.0.2 2018-11-16 18:07:00 +01:00
Olivier Bellone
42f4c84505
Merge pull request #701 from stripe/ob-bump-faraday
Bump Faraday minimum version to 0.13.0
2018-11-16 18:05:20 +01:00
Olivier Bellone
c80a491e03
Bump Faraday minimum version to 0.13.0 2018-11-16 13:54:26 +01:00
Brandur
63d95e1e34 Bump version to 4.0.1 v4.0.1 2018-11-15 14:54:06 -08:00
Brandur
10f235584c
Merge pull request #699 from stripe/brandur-check-request-id
Only send telemetry if request ID was present
2018-11-15 14:53:29 -08:00
Brandur
78df532c8c Only send telemetry if request ID was present
Tweaks telemetry implementation slightly to be inline with the recent
implementation in stripe-php. Telemetry isn't much good if a request ID
wasn't present, so we only send telemetry if it was.
2018-11-15 14:45:45 -08:00
Brandur
8c4813fcbf Bump version to 4.0.0 v4.0.0 2018-11-15 10:41:58 -08:00
Brandur
770a97e6f9
Merge pull request #698 from stripe/brandur-net-http-persistent
Use Faraday's `Net::HTTP::Persistent` adapter
2018-11-15 10:38:17 -08:00
Brandur
85013c9770 Use Faraday's Net::HTTP::Persistent adapter
This changes the library's default connection over to use the adapter
for `Net::HTTP::Persistent`, which is a connection pooling library for
Ruby.

In the long run, I think we should probably just drop Faraday ... the
amount of value it's getting us is extremely tenuous and its API is
difficult to work with. I hate to do it at this point though because
technically people could be writing custom middleware for it.
2018-11-15 08:55:28 -08:00
Brandur
7a444d8fb0 Bump version to 3.31.1 v3.31.1 2018-11-12 16:42:22 -08:00
Brandur
d2c3a55d4e
Merge pull request #697 from stripe/akropp-telemetry-in-ms
Making stripe telemetry more specific in terms of units
2018-11-12 16:41:34 -08:00
Anton Kropp
5e3c3a9b45
Making stripe telemetry more specific in terms of units 2018-11-12 16:35:21 -08:00
Brandur
ba23aa5e2c Bump version to 3.31.0 v3.31.0 2018-11-12 10:44:20 -08:00
Brandur
9bc61c675a
Merge pull request #696 from stripe/akropp-add-client-telemetry
Adding metadata header to client requests
2018-11-12 10:42:32 -08:00
Anton Kropp
ab248ec691
Adding metadata header to client requests 2018-11-12 10:24:06 -08:00
Remi Jannel
e2f4fa23d0 Bump version to 3.30.0 v3.30.0 2018-11-08 17:41:11 -08:00
remi-stripe
a53e7d9f68
Merge pull request #693 from stripe/remi-add-invoice-methods
Add new methods to the Invoice resource
2018-11-08 17:36:16 -08:00
Remi Jannel
bbec79ccba Add new methods to the Invoice resource 2018-11-08 17:28:55 -08:00
Remi Jannel
d62f12f277 Bump version to 3.29.0 v3.29.0 2018-10-30 10:48:15 -07:00
remi-stripe
4cee6fdb1b
Merge pull request #694 from stripe/remi-add-webhook-endpoint
Add support for the Webhook Endpoint resource
2018-10-30 10:45:17 -07:00
Remi Jannel
da9d15df95 Add support for the Webhook Endpoint resource 2018-10-30 10:36:10 -07:00