470 Commits

Author SHA1 Message Date
Andy Triggs
6be76b9754 Add configurable timeouts. [#265] 2015-07-15 16:57:58 +01:00
Russell Davis
8c6dc1a838 Remove gemnasium dependencies status badge
Looks like it's meant for Ruby apps, not gems. It shows the dependency info
from the gemfile rather than the gemspec, which is misleading.

cc @bkrausz @kyleconroy
2015-07-08 17:15:53 -07:00
Caitlin Johnson
43870a4601 Bump version to 1.23.0 v1.23.0 2015-07-06 17:03:01 -07:00
Kyle Conroy
8b0a074cbf Merge pull request #262 from stripe/request-ids
Add request IDs to all API errors
2015-07-02 14:33:12 -07:00
Kyle Conroy
053c44f35c Add request IDs and HTTP headers to errors
The request ID, if it exists, is now added to the output for the error
2015-07-02 13:54:02 -07:00
Kyle Conroy
c18f237da4 Merge pull request #263 from stripe/data-rename
Rename test data methods
2015-07-02 13:51:49 -07:00
Kyle Conroy
b3610798c2 Rename test data methods 2015-07-02 11:51:38 -07:00
Kyle Conroy
d072cc79fe Create API error from response instead of body and code 2015-07-02 09:54:23 -07:00
Brian Krausz
37d1a0b8bf Bump version to 1.22.0 v1.22.0 2015-06-10 18:04:02 -07:00
Brian Krausz
3106255495 Merge pull request #254 from stripe/bank_accounts
Add support for account bank accounts
2015-06-10 17:26:18 -07:00
Brian Krausz
a86bd06484 Rename fake tok ID 2015-06-10 17:26:11 -07:00
Brian Krausz
5883e421c1 Add support for account bank accounts 2015-06-06 12:52:34 -07:00
Russell Davis
8ba1a0e490 Merge pull request #247 from jkogara/update_readme
Update README with link to docs
2015-05-06 10:52:05 -07:00
John O'Gara
792b2b6957 Update README with link to docs 2015-05-06 09:27:40 +01:00
Andy Brody
97b3f397fc Merge pull request #240 from stripe/ab-jruby
Run tests on jruby in 1.9 mode.
2015-04-23 17:35:41 -07:00
Andy Brody
867acd4560 Don't test yajl.gemfile on jruby. 2015-04-23 17:04:22 -07:00
Russell Davis
fd9e8dd313 Merge pull request #226 from dylanjha/master
Fix incorrect error message- Stripe::Card.retrieve
2015-04-23 14:14:04 -07:00
Andy Brody
782a596c8f Fix error when SSL verification is disabled.
Fixes #242
2015-04-15 16:43:58 -07:00
Andy Brody
4c9ecb245b Actually bump version to 1.21.0 v1.21.0 2015-04-14 15:06:50 -07:00
Andy Brody
32d5d3c7d9 Run tests on jruby in 1.9 mode. 2015-04-14 15:01:22 -07:00
Andy Brody
05069050db Version 1.21 2015-04-14 14:59:44 -07:00
Andy Brody
af7efeff98 Remove unnecessary dependency on mime-types.
Let rest-client depend on mime-types directly.
2015-04-14 14:49:27 -07:00
Andy Brody
960fd2b422 Merge pull request #238 from stripe/ab-uname
Revamp uname calls
2015-04-13 18:17:32 -07:00
Andy Brody
3d9b9464ad Add comments for ENOMEM. 2015-04-13 17:21:15 -07:00
Brian Krausz
e0981eb77a Merge pull request #239 from dhiemstra/customer_source_fix
Dont unset keys when they dont exist
2015-04-12 11:51:17 -07:00
Danny Hiemstra
573f5702d7 Dont unset keys when they dont exist 2015-04-11 12:39:45 +02:00
Andy Brody
743c4e3ee1 Also handle uname on jruby, windows, bsd.
And add RUBY_ENGINE to the reported information if it exists.
2015-04-09 18:21:53 -07:00
Andy Brody
d046a876f9 Prefer reading /proc/version over calling uname.
This will be way faster on linux systems than shelling out to uname.
Also add hostname from Socket.gethostname since that information is
provided by `uname -a` but not /proc/version.
2015-04-09 18:19:59 -07:00
Andy Brody
cee76d05ca Merge pull request #237 from stripe/ssl-blacklist-remove
Remove SSL certificate blacklist checks.
2015-04-09 16:49:08 -07:00
Andy Brody
ede362588c Remove SSL certificate blacklist checks. 2015-04-09 16:10:32 -07:00
Russell Davis
a980110740 Bump version to 1.20.4 v1.20.4 2015-03-26 17:40:06 -07:00
Russell Davis
bc3f514c5c Merge pull request #221 from bobjflong/BL/nilkey2
Safer argument parsing
2015-03-25 15:38:59 -07:00
Bob Long
c269e9bd9b Safer argument parsing (attempt 2) 2015-03-25 15:15:02 +00:00
Russell Davis
08b7aa6358 Merge pull request #229 from stripe/add-account-test
Add a test for retrieving accounts using an API key as the only param
2015-03-24 17:00:57 -07:00
Russell Davis
52fc50797f Add a test for retrieving accounts using an API key as the only param 2015-03-24 16:48:22 -07:00
Dylan Jhaveri
16dd5856c4 Fix incorrect error message- Stripe::Card.retrieve
* This error message said "Cards cannot be retrieved without a customer
ID. Retrieve a card using customer.cards.retrieve('card_id')"

This is incorrect. `customer.cards` throws a `NoMethodError: undefined
method `cards' for #<Stripe::Customer:0x0000010c8bdca8>`.

* The correct method is `Stripe::Customer#sources`, and this fixes the
error message.
2015-03-18 01:20:21 -07:00
Brian Krausz
403e92fc88 Bump to version 1.20.3 v1.20.3 2015-03-13 10:35:23 -07:00
Brian Krausz
37494242f5 Don't recurse into APIResources when updating
Fixes #224

CC @russelldavis
2015-03-13 10:31:55 -07:00
Brian Krausz
9b92e86ef2 Bump version to 1.20.2 v1.20.2 2015-03-10 12:30:06 -07:00
Brian Krausz
0df1c9b176 Fix updates on objs with arrays of strings 2015-03-09 12:08:59 -07:00
Brian Krausz
6976393e9e Fix singleton retrieval
Minor fix so just pushing to master

Fixes #214

CC @russelldavis
2015-03-05 12:27:45 -08:00
Brian Krausz
33e20efb35 Merge pull request #217 from stripe/bk-hashes
Fix updating for nested hashes
2015-03-05 12:09:25 -08:00
Brian Krausz
f8d5687040 Fixes as requested 2015-03-05 00:07:13 -08:00
Brian Krausz
a47a754795 Support arrays & add more nested tests 2015-03-03 14:25:10 -08:00
Brian Krausz
03abd88f0c Fix updating for nested hashes 2015-03-02 18:29:59 -08:00
Max Lahey
1bcaa10abd version bump to 1.20.1 v1.20.1 2015-02-26 17:47:46 -08:00
Max Lahey
368d6806a8 Merge pull request #216 from stripe/card-to-sources-endpoint
card management should use the sources endpoint
2015-02-26 17:44:27 -08:00
Max Lahey
d1a50a8918 customer card management should use the customer sources endpoint 2015-02-26 17:32:33 -08:00
Russell Davis
2df5817192 Merge pull request #213 from stripe/deprecate-code-dot-stripe-dot-com
Deprecate code.stripe.com
2015-02-19 17:28:13 -08:00
Russell Davis
d945c2f157 Deprecate code.stripe.com 2015-02-19 17:09:42 -08:00