Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 7, 2015
  1. @gabebw

    Use Travis's container architecture

    gabebw authored
    Builds should start faster and run faster.
    Also, test against Ruby 2.2.0.
  2. @gabebw
Commits on Mar 6, 2015
  1. @gabebw

    Actually interpolate

    gabebw authored
  2. @gabebw

    gitignore .ruby-version

    gabebw authored
Commits on Mar 5, 2015
  1. @gabebw
  2. @mikeycgto @gabebw
  3. @mikeycgto @gabebw

    Add Braintree::CreditCard.delete support

    mikeycgto authored gabebw committed
  4. @gabebw

    Upgrade to RSpec 3

    gabebw authored
  5. @gabebw

    Document #84

    gabebw authored
  6. @southgate @gabebw

    Add cancel method that only updates status

    southgate authored gabebw committed
  7. @southgate @gabebw

    Remove extra spaces

    southgate authored gabebw committed
  8. @southgate @gabebw

    Support updating add_ons and discounts

    southgate authored gabebw committed
  9. @southgate @gabebw

    Revert "Save add_on amount when adding to Subscription"

    southgate authored gabebw committed
    This reverts commit 492253b.
  10. @southgate @gabebw

    Save add_on amount when adding to Subscription

    southgate authored gabebw committed
  11. @gabebw
  12. @wacii @gabebw

    add support for `Braintree::CreditCard#subscriptions`

    wacii authored gabebw committed
    Associate subscriptions with the associated credit card on creation.
Commits on Feb 2, 2015
  1. @gabebw
  2. @mislav @gabebw

    Only `require` modules that the current file directly interfaces with

    mislav authored gabebw committed
    This has several advantages:
    - When looking at a source file, it's immediately obvious what are its
      dependencies to Ruby stdlib or 3rd-party libraries.
    - When changing a specific module in a way that one of the dependencies
      is no longer necessary, its easier to remember to remove the
      associated `require`. If all `require`s are in the main library file,
      in the long term it can be difficult to determine whether each of the
      require's are still needed.
    - Instead of loading whole of `active_support/core_ext`, cherry-pick
      parts of it that we need in the current file.
Commits on Jan 22, 2015
  1. @wacii
  2. @wacii
  3. @wacii

    use customer id provided to `Braintree::PaymentMethod.create`

    wacii authored
    Ignored all parameters provided except the nonce. Only passed specs
    because the customer id was included in the credit card hash passed
    to the tokenize card method.
    The customer id has been removed from the test hash and now all
    parameters passed to .create are used in the creation of the credit
  4. @wacii
  5. @wacii

    partially replicate client side `tokenizeCard` method

    wacii authored
    Stores credit card data identified by the returned "payment method
    nonce". Returned value may be used more than once.
  6. @wacii

    add support for `Braintree::PaymentMethod.update`

    wacii authored
    Assumes requested payment method is a credit card as that is the
    only one currently supported by fake_braintree.
  7. @wacii

    add support for `Braintree::PaymentMethod.find`

    wacii authored
    Assumes requested payment method is a credit card as that is the
    only one currently supported by fake_braintree.
  8. @wacii @gabebw

    Fix loading of ActiveSupport::Deprecation for version 4.2

    wacii authored gabebw committed
    Missing `require active_support`. This file sets up autoloading
    that the rest of ActiveSupport depends on. Other files might load
    without it, but it is not guaranteed.
Commits on Jan 16, 2015
  1. @gabebw
Commits on Dec 22, 2014
  1. @gabebw
Commits on Dec 8, 2014
  1. @gabebw

    Update wording in README

    gabebw authored
  2. @gabebw
  3. @gabebw
  4. @gabebw
  5. @mislav @gabebw

    Fix creating log directory before initializing Logger

    mislav authored gabebw committed
    `set_configuration` now also assigns Braintree `logger`, but `clear!`
    must be called first to create the log directory if it doesn't exist.
  6. @mislav @gabebw

    Ensure that `Capybara.server_host` setting isn't inherited

    mislav authored gabebw committed
    If the user of fake_braintree also uses Capybara for their acceptance
    tests, FakeBraintree::Server will have erroneously inherited the
    `server_host` setting that is not meant for it.
    Ensure that we bind to always. This needs to bump Capybara
    version requirement to v2.2.0, which is when Capybara::Server started
    receiving the host argument.
  7. @mislav @gabebw

    Add `:gateway_port` option to configure the API server port

    mislav authored gabebw committed
    In parallel testing mode via forked processes, it's not safe to use
    auto-assignment of ephemeral ports because it can lead to inermittent
    race conditions. For these kinds of test suites, it's necessary to be
    able to explicitly configure what port to use for spinnig up API server.
Something went wrong with that request. Please try again.