Andrew Thorp 
							
						 
					 
					
						
						
						
						
							
						
						
							413939f89f 
							
						 
					 
					
						
						
							
							fixed marshaling of stripe objects,  fixes   #90  
						
						 
						
						
						
						
					 
					
						2014-02-03 21:29:16 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Thorp 
							
						 
					 
					
						
						
						
						
							
						
						
							9b3a3a020b 
							
						 
					 
					
						
						
							
							Merge pull request  #106  from stripe/replace-multi-json-with-json  
						
						 
						
						... 
						
						
						
						Replace multi_json with json 
						
						
					 
					
						2014-01-29 17:49:41 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Danz 
							
						 
					 
					
						
						
						
						
							
						
						
							d2058b3d1a 
							
						 
					 
					
						
						
							
							Fixup old tests for new param style in test_subscription  
						
						 
						
						
						
						
					 
					
						2014-01-29 16:34:48 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Danz 
							
						 
					 
					
						
						
						
						
							
						
						
							02b1b05eef 
							
						 
					 
					
						
						
							
							Merge branch 'master' of github.com:stripe/stripe-ruby into ms  
						
						 
						
						
						
						
					 
					
						2014-01-29 14:59:33 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Danz 
							
						 
					 
					
						
						
						
						
							
						
						
							c4d5774170 
							
						 
					 
					
						
						
							
							Support deleting subscription discounts  
						
						 
						
						
						
						
					 
					
						2014-01-29 14:59:29 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Danz 
							
						 
					 
					
						
						
						
						
							
						
						
							8231fba217 
							
						 
					 
					
						
						
							
							Revert "Clearing out subscription code/tests from Customer."  
						
						 
						
						... 
						
						
						
						This reverts commit d6ebab33109ff2501ba9709d2ac1dd666be0ab67.
We'll support the legacy single-subscription API style
indefinitely, and also we generaly try to make it so that
people can use modern bindings with out-of-date API versions. 
						
						
					 
					
						2014-01-29 14:57:40 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Thorp 
							
						 
					 
					
						
						
						
						
							
						
						
							9ead81b352 
							
						 
					 
					
						
						
							
							replace multi_json with json,  fixes   #101  
						
						 
						
						
						
						
					 
					
						2014-01-24 23:27:25 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Brus 
							
						 
					 
					
						
						
						
						
							
						
						
							6a7f705be3 
							
						 
					 
					
						
						
							
							Fall back to #respond_to? if ruby version is lower than 1.9.2  
						
						 
						
						
						
						
					 
					
						2014-01-24 21:27:45 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Brus 
							
						 
					 
					
						
						
						
						
							
						
						
							a4b12fac62 
							
						 
					 
					
						
						
							
							Override #respond_to_missing? instead  
						
						 
						
						
						
						
					 
					
						2014-01-24 21:27:45 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Brus 
							
						 
					 
					
						
						
						
						
							
						
						
							42cee040e0 
							
						 
					 
					
						
						
							
							Added unit test for respond_to  
						
						 
						
						
						
						
					 
					
						2014-01-24 21:27:45 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Thorp 
							
						 
					 
					
						
						
						
						
							
						
						
							ff7595c006 
							
						 
					 
					
						
						
							
							Merge pull request  #97  from surfacedamage/customer-create-upcoming-invoice  
						
						 
						
						... 
						
						
						
						Allow creation of new Invoice off Customer 
						
						
					 
					
						2014-01-24 20:46:08 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pat Allan 
							
						 
					 
					
						
						
						
						
							
						
						
							b0f0c03990 
							
						 
					 
					
						
						
							
							Ensure delete parameters are passed through for subscriptions.  
						
						 
						
						
						
						
					 
					
						2014-01-22 17:42:37 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pat Allan 
							
						 
					 
					
						
						
						
						
							
						
						
							d6ebab3310 
							
						 
					 
					
						
						
							
							Clearing out subscription code/tests from Customer.  
						
						 
						
						
						
						
					 
					
						2014-01-22 17:09:49 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pat Allan 
							
						 
					 
					
						
						
						
						
							
						
						
							ee42d9c583 
							
						 
					 
					
						
						
							
							Adding tests for Subscription.  
						
						 
						
						
						
						
					 
					
						2014-01-22 17:09:49 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							127e906d60 
							
						 
					 
					
						
						
							
							Unit tests for ApplicationFee.  
						
						 
						
						
						
						
					 
					
						2013-11-14 14:04:55 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							0149f83027 
							
						 
					 
					
						
						
							
							Fix api_resource_test to not return in blocks.  
						
						 
						
						
						
						
					 
					
						2013-11-14 13:52:22 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							84bda71e62 
							
						 
					 
					
						
						
							
							Remove whitespace.  
						
						 
						
						
						
						
					 
					
						2013-11-14 13:52:14 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								surfacedamage 
							
						 
					 
					
						
						
						
						
							
						
						
							73919cd1d5 
							
						 
					 
					
						
						
							
							Allow creation of new invoice off customer  
						
						 
						
						
						
						
					 
					
						2013-10-31 22:09:30 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Vipul A M 
							
						 
					 
					
						
						
						
						
							
						
						
							3e019adb6a 
							
						 
					 
					
						
						
							
							Cleanup unused test variables  
						
						 
						
						
						
						
					 
					
						2013-10-25 23:23:22 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kiran-b 
							
						 
					 
					
						
						
						
						
							
						
						
							a0f1856cbb 
							
						 
					 
					
						
						
							
							refactored update api operation, added ruby 1.9 tests back  
						
						 
						
						
						
						
					 
					
						2013-10-09 20:56:31 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kiran-b 
							
						 
					 
					
						
						
						
						
							
						
						
							2970a577ba 
							
						 
					 
					
						
						
							
							removed occasionally failing test: curl args order inconsistent  
						
						 
						
						
						
						
					 
					
						2013-10-08 21:13:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kiran-b 
							
						 
					 
					
						
						
						
						
							
						
						
							1724f85e26 
							
						 
					 
					
						
						
							
							tests for metadata  
						
						 
						
						
						
						
					 
					
						2013-10-08 21:01:13 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michelle Bu 
							
						 
					 
					
						
						
						
						
							
						
						
							f9b13dfc2a 
							
						 
					 
					
						
						
							
							active_card is no longer a thing  
						
						 
						
						
						
						
					 
					
						2013-10-07 10:05:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Finbarr Taylor 
							
						 
					 
					
						
						
						
						
							
						
						
							0851f2a7fd 
							
						 
					 
					
						
						
							
							Added BalanceTransaction list resource.  
						
						 
						
						... 
						
						
						
						Added Balance singleton resource. 
						
						
					 
					
						2013-08-13 20:53:19 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Metcalf 
							
						 
					 
					
						
						
						
						
							
						
						
							c0ca48f848 
							
						 
					 
					
						
						
							
							rename mnemonic to description  
						
						 
						
						
						
						
					 
					
						2013-08-07 09:36:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Metcalf 
							
						 
					 
					
						
						
						
						
							
						
						
							88ead09193 
							
						 
					 
					
						
						
							
							support unsetting parameters by passing nil and updating  
						
						 
						
						
						
						
					 
					
						2013-08-06 11:37:35 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sheena Pakanati 
							
						 
					 
					
						
						
						
						
							
						
						
							87604d945e 
							
						 
					 
					
						
						
							
							Initial support for multiple cards.  
						
						 
						
						
						
						
					 
					
						2013-07-11 16:47:58 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tim Craft 
							
						 
					 
					
						
						
						
						
							
						
						
							9ae705f845 
							
						 
					 
					
						
						
							
							Add version specifiers for activesupport/shoulda/mocha dev dependencies  
						
						 
						
						
						
						
					 
					
						2013-07-05 17:36:36 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							2861964755 
							
						 
					 
					
						
						
							
							Fix handling of per-resource API keys ( fixes   #67 )  
						
						 
						
						
						
						
					 
					
						2013-05-06 13:53:00 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							1b3dd625fd 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/pull/60'  
						
						 
						
						
						
						
					 
					
						2013-05-01 14:43:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							91c90ff43e 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/pull/47'  
						
						 
						
						... 
						
						
						
						Conflicts:
	lib/stripe.rb 
						
						
					 
					
						2013-05-01 14:37:51 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							a7f7df94c6 
							
						 
					 
					
						
						
							
							Tests for transfers and recipients.  
						
						 
						
						
						
						
					 
					
						2013-04-11 18:00:47 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Czarnecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e593b0e0df 
							
						 
					 
					
						
						
							
							Breakup tests into separate test files  
						
						 
						
						
						
						
					 
					
						2013-03-22 17:20:04 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jean Boussier 
							
						 
					 
					
						
						
						
						
							
						
						
							6a57264758 
							
						 
					 
					
						
						
							
							Allow to update a resource without retreiving it first  
						
						 
						
						... 
						
						
						
						Rationale:
  Sometime you don't care about the current state of a resource
  you just want to update one of it's attributes.
  It should only require one request.
fixes  #52 
```ruby
  c = Stripe::Customer.new("cus_1EqKjPaFs4ZwDD")
  c.description = 'Ny new Description'
  c.save
```
Before:
```json
{
  error: {
    type: "invalid_request_error",
    message: "A parameter provided in the URL (id) was repeated as a GET or POST parameter. You can only provide this information as a portion of the URL.",
    param: "id",
  }
}
```
After:
Successfully update the customer and return it's whole state. 
						
						
					 
					
						2013-03-14 11:04:18 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							ce34d9ef8b 
							
						 
					 
					
						
						
							
							Use Invoice.all instead of Invoice.upcoming for base query parameter tests.  
						
						 
						
						
						
						
					 
					
						2013-03-11 18:07:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							7ddf3ea42b 
							
						 
					 
					
						
						
							
							Fix URL building for when the base URL already has query parameters, and add test.  
						
						 
						
						
						
						
					 
					
						2013-03-11 13:19:28 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							0c28189194 
							
						 
					 
					
						
						
							
							Slightly cleaner way of getting all of activesupport  
						
						 
						
						
						
						
					 
					
						2012-12-04 16:11:34 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex MacCaw 
							
						 
					 
					
						
						
						
						
							
						
						
							d196d8a343 
							
						 
					 
					
						
						
							
							Throw an error if the API key contains whitespace  
						
						 
						
						
						
						
					 
					
						2012-12-04 13:38:34 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ross Boucher 
							
						 
					 
					
						
						
						
						
							
						
						
							7f87b2bc4a 
							
						 
					 
					
						
						
							
							Add support for list objects. Bumps version to 1.7.5  
						
						 
						
						
						
						
					 
					
						2012-10-25 19:42:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							f7a69489af 
							
						 
					 
					
						
						
							
							Add a test for invoice pay  
						
						 
						
						
						
						
					 
					
						2012-10-08 16:40:39 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							e776c7a3cb 
							
						 
					 
					
						
						
							
							Default the API method params to an empty dict, not nil  
						
						 
						
						... 
						
						
						
						Fixes  #42  
						
						
					 
					
						2012-10-08 16:24:03 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							e8adad2c34 
							
						 
					 
					
						
						
							
							Encoding POST bodies ourselves, instead of letting rest-client  
						
						 
						
						... 
						
						
						
						It's a bit unfortunate we have to do this, but this avoids an even
more unfortunate interaction between rest-client and hashery that
prevents passing a hash as the payload.
Also update the tests appropriately. This is also a bit messy, but I
didn't want to pull in Rack just for a handful of tests.
Fixes  #38  
						
						
					 
					
						2012-09-14 20:30:52 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							ae850157d7 
							
						 
					 
					
						
						
							
							Test that GET parameters are URL-encoded  
						
						 
						
						
						
						
					 
					
						2012-09-14 20:30:52 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amber Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							478ff80ac4 
							
						 
					 
					
						
						
							
							Add Account API resource.  
						
						 
						
						
						
						
					 
					
						2012-08-16 12:25:15 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akash Manohar J 
							
						 
					 
					
						
						
						
						
							
						
						
							78bf6a6260 
							
						 
					 
					
						
						
							
							Changes order of require  
						
						 
						
						... 
						
						
						
						Signed-off-by: Akash Manohar J <akash@akash.im> 
						
						
					 
					
						2012-05-23 11:30:41 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							b905b2164c 
							
						 
					 
					
						
						
							
							Run the test suite once with ActiveSupport loaded, once without  
						
						 
						
						... 
						
						
						
						ActiveSupport is the source of many problems for us, so let's try to
catch them pre-emptively with testing 
						
						
					 
					
						2012-05-07 17:24:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							5f70ea3bbd 
							
						 
					 
					
						
						
							
							Merge branch 'signal'  
						
						 
						
						
						
						
					 
					
						2012-05-04 22:52:14 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							e69407fa3c 
							
						 
					 
					
						
						
							
							Add one more assertion to delete_discount test  
						
						 
						
						
						
						
					 
					
						2012-05-04 22:52:10 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							065f2316c7 
							
						 
					 
					
						
						
							
							Don't accept params to delete_customer because Stripe accepts none  
						
						 
						
						
						
						
					 
					
						2012-05-04 22:48:08 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evan Broder 
							
						 
					 
					
						
						
						
						
							
						
						
							32e619c04a 
							
						 
					 
					
						
						
							
							Switch from deprecated MultiJson.{encode,decode} to .{dump,load}  
						
						 
						
						... 
						
						
						
						Bump gem dependency accordingly 
						
						
					 
					
						2012-04-23 10:18:57 -07:00