652 Commits

Author SHA1 Message Date
Russell Davis
7aee297980 Merge pull request #157 from timcraft/return-self
Return self from Stripe::StripeObject#refresh_from
2014-10-30 16:44:21 -07:00
Russell Davis
da216fd53b Add instructions for use with Ruby versions < 1.9.2 2014-10-09 16:02:03 -07:00
Michelle Bu
e751a48bce Merge pull request #153 from stripe/update-coupon
Add coupon update
2014-10-09 13:07:00 -07:00
Greg Sabo
ed873459b7 Bump version to 1.16.0 v1.16.0 2014-10-08 14:17:09 -07:00
Tim Craft
0fc6ee5e5b Return self from Stripe::StripeObject#refresh_from 2014-08-22 19:43:13 +01:00
Greg Sabo
2c6f4caa99 Merge pull request #156 from stripe/make_coupons_updateable
Make coupons update-able.
2014-08-20 13:32:52 -04:00
Greg Sabo
a596138526 Make coupons update-able. 2014-08-19 16:24:44 -07:00
Russell Davis
afd42ecd41 Merge pull request #155 from stripe/fix-connection-error-message
Better error message for ServerBrokeConnection exception
2014-08-18 16:05:36 -07:00
Russell Davis
f7467728d7 Better error message for ServerBrokeConnection exception 2014-08-18 15:05:16 -07:00
Russell Davis
5ec4c3f68f Fix error in new versions of bundler from using frozen version string 2014-08-18 14:56:38 -07:00
Kyle Conroy
8d066ca608 Add coupon update 2014-08-06 16:10:18 -07:00
Cosmin Nicolaescu
4aed61af42 v1.15.0 v1.15.0 2014-07-29 20:13:56 -07:00
Cosmin Nicolaescu
1d5da7f9ae Merge pull request #150 from stripe/cos-appfee-refund
make ApplicationFee.refunds a list object instead of array
2014-07-29 09:51:48 -07:00
Cosmin Nicolaescu
d3dfa18990 make ApplicationFee.refunds a list object instead of array 2014-07-28 23:28:24 -07:00
Andy Brody
9cf5089dc1 Revert "Change rest-client pin to ruby < 1.9.2."
This reverts commit 39a196541f857ac6266b7a06f589ead21c87a8aa.

Just kidding. Activesupport itself depends on ruby >= 1.9.3.
2014-07-15 13:42:48 -07:00
Andy Brody
39a196541f Change rest-client pin to ruby < 1.9.2.
The latest rest-client supports rubies >= 1.9.2
2014-07-15 13:06:04 -07:00
Russell Davis
8b604f630b Merge pull request #143 from ngauthier/update-mime-types
update mime-types requirement to allow 1.x and 2.x
2014-07-14 13:33:46 -07:00
Russell Davis
1d49b4cc41 Merge pull request #145 from stripe/fix-gemfiles
Fix gemfiles for use with Ruby  < 1.9.3
2014-07-14 10:58:16 -07:00
Russell Davis
3c76c9f150 Fix gemfiles for use with Ruby < 1.9.3
Any project using this gem (with Ruby < 1.9.3) will need to do the same
in its own gemfile.
2014-07-13 13:44:36 -07:00
Russell Davis
ca0d2e603d Merge pull request #144 from stripe/better-rakefile
Run tests using TestTask
2014-07-11 16:19:31 -07:00
Russell Davis
2827ad15d6 Run tests using TestTask
- Runs all tests at once instead of one at a time, this way we don't pay
the cost of constantly reloading the environment. Takes test time from 20
seconds to 4.

- Removes the separate testing using activesupport/all, which wasn't actually
doing anything since the tests were running in a separate process.

Thanks to @JoshCheek for surfacing these issues.
2014-07-11 14:54:21 -07:00
Amber Feng
8bb6acfca9 Merge pull request #122 from mcolyer/fix-psych-deserialization
Check for `@values` in StripeObject#method_not_found.

This is necessary because we check for `@values` in `respond_to_missing?` now, but this isn't necessarily always set. For example, in deserializing from YAML, Psych creates the object using `allocate` and not `new`, which ends up skipping any initializing of instance variables. See #122 for more details.
2014-07-08 21:52:05 -07:00
Nick Gauthier
660befd6c3 update mime-types requirement to allow 1.x and 2.x 2014-07-08 09:41:00 -04:00
Amber Feng
52792264ef Merge pull request #118 from vandrijevik/nested-to-hash
Improved StripeObject#to_hash
2014-07-07 21:23:00 -07:00
Vladimir Andrijevik
238e071232 Merge remote-tracking branch 'stripe/master' into nested-to-hash 2014-06-30 12:45:40 +02:00
Kyle Conroy
bb9388384f Bump to version 1.14.0 v1.14.0 2014-06-17 17:35:47 -07:00
Kyle Conroy
a2efbfa094 Merge pull request #140 from stripe/kjc-add-refund
Add support for refund resource
2014-06-17 16:57:02 -07:00
Kyle Conroy
e59a494215 Add support for refund resource 2014-06-16 17:13:57 -07:00
Kyle Conroy
c6987ce09b Merge pull request #139 from stripe/truly_disable_ssl
Don't check blacklist if SSL verification is off
2014-06-05 16:04:54 -07:00
Kyle Conroy
0695960fc7 Don't check blacklist if SSL verification is off
It's helpful to be able to test the bindings with instances of the
Stripe API running locally, or running on a server that doesn't support
SSL. When :verify_ssl_certs is false, don't check the SSL cert against
the blacklist, as there probably isn't a certificate to check.
2014-06-05 15:49:26 -07:00
Stephen Wan
79cdeb0545 Bump Version v1.13.0 2014-05-28 16:11:40 -07:00
Stephen Wan
145a9df170 Merge pull request #137 from stripe/stephen-transfer-cancelation
Added support for transfer cancelation
2014-05-28 10:02:15 -07:00
Stephen Wan
c25d4b0cbf Cleaned up transfer tests 2014-05-27 16:59:22 -07:00
Stephen Wan
f13a050935 Added support for transfer cancelation 2014-05-26 11:30:20 -07:00
Amber Feng
56176b2539 Bump version. v1.12.0 2014-05-21 16:52:13 -07:00
Michelle Bu
5a0c97e561 Merge pull request #136 from stripe/recipient-cards
Construct the recipient card URL if the recipient property exists.
2014-05-21 16:28:34 -07:00
Michelle Bu
57309a05de Add tests for cards 2014-05-21 16:27:49 -07:00
Amber Feng
51af58c947 This needs to be a respond_to? instead. 2014-05-21 11:43:12 -07:00
Amber Feng
bc43fff551 Construct the recipient card URL if the recipient property exists. 2014-05-21 10:49:38 -07:00
Kyle Conroy
ca07ef08fd Add Travis CI badge to the README 2014-05-15 12:01:10 -07:00
Richo Healey
48f76057f4 Document our approach to SSL preflighting 2014-04-10 12:44:16 -07:00
Richo Healey
e6850316f7 Bump version v1.11.0 2014-04-09 20:57:37 -07:00
Richo Healey
f340d6249c Merge pull request #128 from stripe/richo-blacklist-certificates
blacklist certificates
2014-04-09 20:33:46 -07:00
Richo Healey
67f90ec108 Verify the fingerprint on api.stripe.com before making any requests 2014-04-09 19:57:45 -07:00
Andy Brody
6944e4e97f Update CA certificates bundle to 20130906.
http://www.ubuntu.com/usn/usn-2154-1/
https://gist.github.com/ab/9756531
2014-03-25 00:24:05 -07:00
Andy Brody
5c166e09c2 Sort the CA bundle in preparation for updating it. 2014-03-24 23:18:41 -07:00
Vladimir Andrijevik
5502c58162 Merge remote-tracking branch 'origin/master' into nested-to-hash 2014-03-18 11:10:14 +01:00
Matt Colyer
974f5ce425 Check for @values in StripeObject#method_not_found
If a StripeObject is being deserialized by psych, @values.has_key? is
called before @values is initialized which prevents proper
deserialization from occurring. Checking for existence first resolves
the issue.
2014-02-24 14:16:21 -08:00
Amber Feng
637d5899f6 Make History.txt more consistent 2014-02-18 15:07:32 -08:00
Amber Feng
5a7d69cd04 Bump version to 1.10.2 2014-02-18 14:56:55 -08:00