- Better handling of API error messages
- Update Gem Dependencies
- Prevent setting bad GoCardless environments
- Fix timezone-brittle specs
- Upgrade RSpec & Convert specs to RSpec 3.1.7
- Handle nil signatures in signature_valid? method
- Stop testing against Ruby 1.8
- Use a constant time string comparison to avoid timing attacks
- Switch to Rspec3 style param checking
- Fix bug affecting paginated sub-resources
- URI encode path before making requests
- Deprecate Client#access_token
- Use a more useful user agent header
- Add alias methods for boolean attributes
- Update resources with new attributes
- Remove any nil values before sending params to GC
- Support charge_customer_at on bill creation
- Make depedency specifier less strict
- Add pagination
- Add ability to refund bills
- Add ability to cancel bills
- Add Payout API support
- Stop using the deprecated OpenSSL::Digest::Digest
- Add Client#api_delete
- Adds
retry!
method to Bill, allowing you to re-attempt collection where a bill has a status offailed
- Publicise Client#merchant_id
- Deprecate old syntax for setting merchant id / scope
- Add User#name method, for getting a user's full name
- Add
?
methods for checking resource statuses (e.g.Subscription#active?
)
- Handle empty arrays in Utils#flatten_params
- Add fee accessors to Bill
- Remove display_name attribute from User class
- Add hide_variable_amount attribute to merchant
- Fix - update Client references to base_url so custom base_urls work
- Allow setting custom base_urls per-client
- Use date_accessor to define next_interval_start methods
- Allow app id and secret to be set with environment variables
- Relax the oauth dependency
- Fix filtering on sub resource methods, e.g.
merchant.bills(source_id: 'x')
- Remove explicit rubygems requires
- Add cancel! method to pre_authorization
- Add paid_at accessor to the bill resource
- Fix bug which caused Client#merchant to fail after #fetch_access_token was called during the merchant authorization flow (this only concerns partners).
- Add some extra attributes to resources (e.g. status, merchant's balance, etc)
- Add a response_params_valid? method to check that resource response data is valid (including signature)
- Fix handling of cancel_uri
- Accept merchant_id as a client constructor param
- Update oauth2 dependency version, fixes installation issue
- Add plan_id to selected resources
- Remove deprecated resource attributes
- Fix sorting issue in Utils.normalize_params
- Add rake console task
- Add rake version:bump tasks
- Fix user agent formatting
- Relax multi_json dependency
- Add
cancel!
method toSubscription
- Depend on multi_json rather than json
- Include the API version in the user agent header
- Fix parameter encoding in
Client#new_merchant_url
(related to Faraday issue #115) - Allow changing environment / base_url after client init
- Add
webhook_valid?
method toClient
- Make
confirm_resource
play nicely withHashWithIndifferentAccess
- More RFC compliant parameter encoding
- Add
name
toBill
- Add
state
support tonew_{subscription,pre_authorization,bill}_url
- Initial release