braintree 2.39.0 → 2.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b3fc5bf119b7ddf9b9582965abe5cb80611ee8d8
4
+ data.tar.gz: acbb114d82e7bd40513f88f97fa938f9e4793adb
5
+ SHA512:
6
+ metadata.gz: 434db6b81a377fc796a2370d9036f7374479524599aa1ba0d3411268c2b4362968462492996ac7e37ada38a7b929ebf7d451e6c234d71ad97d1b48de332808dd
7
+ data.tar.gz: bd5fc5d3aa89278825f3b6c321224b69d0fc7424a4c7b70fb53f27c4f300082bc327140b447f2ba38c78d4f3aa056c05780e4b4587feb2942d99f921f596bdc2
@@ -59,6 +59,8 @@ require "braintree/merchant_account/address_details"
59
59
  require "braintree/payment_instrument_type"
60
60
  require "braintree/payment_method"
61
61
  require "braintree/payment_method_gateway"
62
+ require "braintree/payment_method_nonce"
63
+ require "braintree/payment_method_nonce_gateway"
62
64
  require "braintree/paypal_account"
63
65
  require "braintree/paypal_account_gateway"
64
66
  require "braintree/plan"
@@ -235,6 +235,10 @@ module Braintree
235
235
  return_object_or_raise(:credit_card) { update(attributes) }
236
236
  end
237
237
 
238
+ def nonce
239
+ @nonce ||= PaymentMethodNonce.create(self)
240
+ end
241
+
238
242
  # Returns true if the card is associated with Venmo SDK
239
243
  def venmo_sdk?
240
244
  @venmo_sdk
@@ -45,6 +45,10 @@ module Braintree
45
45
  PaymentMethodGateway.new(self)
46
46
  end
47
47
 
48
+ def payment_method_nonce
49
+ PaymentMethodNonceGateway.new(self)
50
+ end
51
+
48
52
  def paypal_account
49
53
  PayPalAccountGateway.new(self)
50
54
  end
@@ -0,0 +1,28 @@
1
+ module Braintree
2
+ class PaymentMethodNonce
3
+ include BaseModule # :nodoc:
4
+
5
+ def self.create(payment_method)
6
+ Configuration.gateway.payment_method_nonce.create(payment_method)
7
+ end
8
+
9
+ attr_reader :nonce
10
+
11
+ def initialize(gateway, attributes) # :nodoc:
12
+ @gateway = gateway
13
+ @nonce = attributes.fetch(:nonce)
14
+ end
15
+
16
+ def to_s # :nodoc:
17
+ nonce
18
+ end
19
+
20
+ class << self
21
+ protected :new
22
+ end
23
+
24
+ def self._new(gateway, attributes) # :nodoc:
25
+ new(gateway, attributes)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,14 @@
1
+ module Braintree
2
+ class PaymentMethodNonceGateway # :nodoc:
3
+ def initialize(gateway)
4
+ @gateway = gateway
5
+ @config = gateway.config
6
+ end
7
+
8
+ def create(payment_method_token)
9
+ response = @config.http.post "/payment_methods/#{payment_method_token}/nonces"
10
+ payment_method_nonce = PaymentMethodNonce._new(@gateway, response.fetch(:payment_method_nonce))
11
+ SuccessfulResult.new(:payment_method_nonce => payment_method_nonce)
12
+ end
13
+ end
14
+ end
@@ -3,7 +3,7 @@ module Braintree
3
3
  class SuccessfulResult
4
4
  include BaseModule
5
5
 
6
- attr_reader :address, :credit_card, :customer, :merchant_account, :payment_method, :settlement_batch_summary, :subscription, :new_transaction, :transaction
6
+ attr_reader :address, :credit_card, :customer, :merchant_account, :payment_method, :settlement_batch_summary, :subscription, :new_transaction, :transaction, :payment_method_nonce
7
7
 
8
8
  def initialize(attributes = {}) # :nodoc:
9
9
  @attrs = attributes.keys
@@ -24,6 +24,7 @@ module Braintree
24
24
  CVV = "cvv"
25
25
  Duplicate = "duplicate"
26
26
  Fraud = "fraud"
27
+ ThreeDSecure = "three_d_secure"
27
28
  Unrecognized = "unrecognized"
28
29
  end
29
30
 
@@ -136,7 +136,8 @@ module Braintree
136
136
  :store_shipping_address_in_vault,
137
137
  :venmo_sdk_session,
138
138
  :payee_email,
139
- {:paypal => [:custom_field, :payee_email]}]
139
+ {:paypal => [:custom_field, :payee_email]},
140
+ {:three_d_secure => [:required]}]
140
141
  },
141
142
  {:custom_fields => :_any_key_},
142
143
  {:descriptor => [:name, :phone, :url]},
@@ -1,7 +1,7 @@
1
1
  module Braintree
2
2
  module Version
3
3
  Major = 2
4
- Minor = 39
4
+ Minor = 40
5
5
  Tiny = 0
6
6
 
7
7
  String = "#{Major}.#{Minor}.#{Tiny}"
@@ -1 +1 @@
1
- 26274
1
+ 17610
@@ -0,0 +1,51 @@
1
+ require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
2
+ require File.expand_path(File.dirname(__FILE__) + "/client_api/spec_helper")
3
+
4
+ describe Braintree::PaymentMethodNonce do
5
+ describe "self.create" do
6
+ it "creates a payment method nonce from a vaulted credit card" do
7
+ config = Braintree::Configuration.instantiate
8
+ customer = Braintree::Customer.create.customer
9
+ raw_client_token = Braintree::ClientToken.generate(:customer_id => customer.id)
10
+ client_token = decode_client_token(raw_client_token)
11
+ authorization_fingerprint = client_token["authorizationFingerprint"]
12
+ http = ClientApiHttp.new(
13
+ config,
14
+ :authorization_fingerprint => authorization_fingerprint,
15
+ :shared_customer_identifier => "fake_identifier",
16
+ :shared_customer_identifier_type => "testing"
17
+ )
18
+
19
+ response = http.create_credit_card(
20
+ :number => 4111111111111111,
21
+ :expirationMonth => 12,
22
+ :expirationYear => 2020
23
+ )
24
+ response.code.should == "201"
25
+
26
+ nonce = JSON.parse(response.body)["creditCards"].first["nonce"]
27
+ result = Braintree::PaymentMethod.create(
28
+ :payment_method_nonce => nonce,
29
+ :customer_id => customer.id
30
+ )
31
+
32
+ result.should be_success
33
+ result.payment_method.should be_a(Braintree::CreditCard)
34
+ token = result.payment_method.token
35
+
36
+ found_credit_card = Braintree::CreditCard.find(token)
37
+ found_credit_card.should_not be_nil
38
+
39
+ result = Braintree::PaymentMethodNonce.create(found_credit_card.token)
40
+ result.should be_success
41
+ result.payment_method_nonce.should_not be_nil
42
+ result.payment_method_nonce.nonce.should_not be_nil
43
+ end
44
+
45
+ it "correctly raises and exception for a non existent token" do
46
+ expect do
47
+ result = Braintree::PaymentMethodNonce.create("not_a_token")
48
+ end.to raise_error(Braintree::NotFoundError)
49
+ end
50
+ end
51
+ end
@@ -1405,6 +1405,31 @@ describe Braintree::Transaction do
1405
1405
  result.success?.should == true
1406
1406
  end
1407
1407
 
1408
+ it "gateway rejects transactions if 3DS is required but not provided" do
1409
+ nonce = nonce_for_new_payment_method(
1410
+ :credit_card => {
1411
+ :number => "4111111111111111",
1412
+ :expiration_month => "11",
1413
+ :expiration_year => "2099",
1414
+ }
1415
+ )
1416
+ nonce.should_not be_nil
1417
+ result = Braintree::Transaction.create(
1418
+ :merchant_account_id => SpecHelper::ThreeDSecureMerchantAccountId,
1419
+ :type => "sale",
1420
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
1421
+ :payment_method_nonce => nonce,
1422
+ :options => {
1423
+ :three_d_secure => {
1424
+ :required => true,
1425
+ }
1426
+ }
1427
+ )
1428
+
1429
+ result.success?.should == false
1430
+ result.transaction.gateway_rejection_reason.should == Braintree::Transaction::GatewayRejectionReason::ThreeDSecure
1431
+ end
1432
+
1408
1433
  it "can create a transaction without a three_d_secure token" do
1409
1434
  result = Braintree::Transaction.create(
1410
1435
  :merchant_account_id => SpecHelper::ThreeDSecureMerchantAccountId,
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.39.0
5
- prerelease:
4
+ version: 2.40.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Braintree
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: builder
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.0.0
30
27
  description: Ruby library for integrating with the Braintree Gateway
@@ -36,207 +33,209 @@ files:
36
33
  - README.rdoc
37
34
  - LICENSE
38
35
  - lib/braintree.rb
39
- - lib/braintree/test/credit_card.rb
40
- - lib/braintree/test/merchant_account.rb
36
+ - lib/braintree/webhook_notification_gateway.rb
37
+ - lib/braintree/risk_data.rb
38
+ - lib/braintree/credit_card_gateway.rb
39
+ - lib/braintree/modification.rb
40
+ - lib/braintree/disbursement.rb
41
+ - lib/braintree/client_token_gateway.rb
42
+ - lib/braintree/payment_instrument_type.rb
43
+ - lib/braintree/client_token.rb
44
+ - lib/braintree/address.rb
45
+ - lib/braintree/webhook_testing_gateway.rb
46
+ - lib/braintree/advanced_search.rb
47
+ - lib/braintree/errors.rb
48
+ - lib/braintree/version.rb
49
+ - lib/braintree/util.rb
50
+ - lib/braintree/webhook_notification.rb
51
+ - lib/braintree/payment_method_nonce_gateway.rb
52
+ - lib/braintree/transaction/disbursement_details.rb
53
+ - lib/braintree/transaction/status_details.rb
54
+ - lib/braintree/transaction/paypal_details.rb
55
+ - lib/braintree/transaction/coinbase_details.rb
56
+ - lib/braintree/transaction/subscription_details.rb
57
+ - lib/braintree/transaction/apple_pay_details.rb
58
+ - lib/braintree/transaction/customer_details.rb
59
+ - lib/braintree/transaction/credit_card_details.rb
60
+ - lib/braintree/transaction/address_details.rb
61
+ - lib/braintree/error_result.rb
62
+ - lib/braintree/dispute.rb
63
+ - lib/braintree/credit_card_verification.rb
64
+ - lib/braintree/test/venmo_sdk.rb
41
65
  - lib/braintree/test/nonce.rb
66
+ - lib/braintree/test/merchant_account.rb
67
+ - lib/braintree/test/credit_card.rb
42
68
  - lib/braintree/test/transaction_amounts.rb
43
- - lib/braintree/test/venmo_sdk.rb
44
- - lib/braintree/add_on_gateway.rb
45
- - lib/braintree/credit_card.rb
46
69
  - lib/braintree/testing_gateway.rb
47
- - lib/braintree/subscription_gateway.rb
48
- - lib/braintree/error_result.rb
49
70
  - lib/braintree/digest.rb
50
- - lib/braintree/settlement_batch_summary.rb
51
- - lib/braintree/validation_error_collection.rb
71
+ - lib/braintree/transparent_redirect_gateway.rb
72
+ - lib/braintree/customer_search.rb
73
+ - lib/braintree/base_module.rb
74
+ - lib/braintree/subscription.rb
75
+ - lib/braintree/apple_pay_card.rb
52
76
  - lib/braintree/merchant_account/individual_details.rb
53
- - lib/braintree/merchant_account/address_details.rb
54
77
  - lib/braintree/merchant_account/funding_details.rb
78
+ - lib/braintree/merchant_account/address_details.rb
55
79
  - lib/braintree/merchant_account/business_details.rb
80
+ - lib/braintree/plan.rb
81
+ - lib/braintree/sepa_bank_account.rb
82
+ - lib/braintree/payment_method.rb
83
+ - lib/braintree/validation_error_collection.rb
84
+ - lib/braintree/transaction_gateway.rb
85
+ - lib/braintree/webhook_testing.rb
86
+ - lib/braintree/exceptions.rb
56
87
  - lib/braintree/add_on.rb
88
+ - lib/braintree/xml/generator.rb
89
+ - lib/braintree/xml/libxml.rb
90
+ - lib/braintree/xml/parser.rb
91
+ - lib/braintree/xml/rexml.rb
92
+ - lib/braintree/payment_method_nonce.rb
93
+ - lib/braintree/unknown_payment_method.rb
94
+ - lib/braintree/paypal_account_gateway.rb
95
+ - lib/braintree/customer_gateway.rb
96
+ - lib/braintree/transaction_search.rb
97
+ - lib/braintree/transaction.rb
98
+ - lib/braintree/settlement_batch_summary.rb
99
+ - lib/braintree/merchant_account_gateway.rb
57
100
  - lib/braintree/merchant_account.rb
101
+ - lib/braintree/paypal_account.rb
102
+ - lib/braintree/credit_card.rb
103
+ - lib/braintree/add_on_gateway.rb
104
+ - lib/braintree/configuration.rb
58
105
  - lib/braintree/address_gateway.rb
59
- - lib/braintree/descriptor.rb
60
- - lib/braintree/sha256_digest.rb
61
- - lib/braintree/successful_result.rb
62
- - lib/braintree/client_token_gateway.rb
63
- - lib/braintree/subscription/status_details.rb
64
- - lib/braintree/xml.rb
65
- - lib/braintree/settlement_batch.rb
106
+ - lib/braintree/signature_service.rb
107
+ - lib/braintree/customer.rb
66
108
  - lib/braintree/dispute/transaction_details.rb
67
- - lib/braintree/resource_collection.rb
68
- - lib/braintree/configuration.rb
69
- - lib/braintree/webhook_notification_gateway.rb
70
- - lib/braintree/util.rb
71
- - lib/braintree/transparent_redirect_gateway.rb
72
- - lib/braintree/transaction_gateway.rb
109
+ - lib/braintree/http.rb
73
110
  - lib/braintree/address/country_names.rb
74
- - lib/braintree/signature_service.rb
75
- - lib/braintree/customer_search.rb
111
+ - lib/braintree/validation_error.rb
76
112
  - lib/braintree/transparent_redirect.rb
113
+ - lib/braintree/gateway.rb
114
+ - lib/braintree/subscription/status_details.rb
115
+ - lib/braintree/successful_result.rb
116
+ - lib/braintree/subscription_gateway.rb
117
+ - lib/braintree/sepa_bank_account_gateway.rb
118
+ - lib/braintree/error_codes.rb
119
+ - lib/braintree/payment_method_gateway.rb
77
120
  - lib/braintree/subscription_search.rb
78
- - lib/braintree/base_module.rb
79
- - lib/braintree/discount.rb
80
- - lib/braintree/transaction_search.rb
81
- - lib/braintree/address.rb
82
- - lib/braintree/settlement_batch_summary_gateway.rb
83
- - lib/braintree/webhook_testing.rb
84
- - lib/braintree/sepa_bank_account.rb
85
- - lib/braintree/payment_instrument_type.rb
86
- - lib/braintree/unknown_payment_method.rb
87
- - lib/braintree/http.rb
121
+ - lib/braintree/xml.rb
88
122
  - lib/braintree/credit_card_verification_search.rb
89
- - lib/braintree/credit_card_gateway.rb
90
- - lib/braintree/version.rb
91
- - lib/braintree/client_token.rb
92
- - lib/braintree/credit_card_verification.rb
93
- - lib/braintree/payment_method.rb
94
- - lib/braintree/plan.rb
95
- - lib/braintree/dispute.rb
96
- - lib/braintree/credit_card_verification_gateway.rb
97
123
  - lib/braintree/plan_gateway.rb
98
- - lib/braintree/subscription.rb
99
- - lib/braintree/coinbase_account.rb
100
- - lib/braintree/xml/rexml.rb
101
- - lib/braintree/xml/parser.rb
102
- - lib/braintree/xml/libxml.rb
103
- - lib/braintree/xml/generator.rb
104
- - lib/braintree/modification.rb
105
- - lib/braintree/error_codes.rb
106
- - lib/braintree/customer_gateway.rb
107
- - lib/braintree/webhook_testing_gateway.rb
108
- - lib/braintree/apple_pay_card.rb
109
- - lib/braintree/validation_error.rb
110
- - lib/braintree/advanced_search.rb
111
- - lib/braintree/paypal_account.rb
112
- - lib/braintree/customer.rb
113
- - lib/braintree/disbursement.rb
114
- - lib/braintree/discount_gateway.rb
115
- - lib/braintree/webhook_notification.rb
116
- - lib/braintree/errors.rb
117
- - lib/braintree/transaction.rb
118
- - lib/braintree/sepa_bank_account_gateway.rb
119
- - lib/braintree/paypal_account_gateway.rb
120
- - lib/braintree/exceptions.rb
124
+ - lib/braintree/credit_card_verification_gateway.rb
125
+ - lib/braintree/descriptor.rb
121
126
  - lib/braintree/test_transaction.rb
122
- - lib/braintree/merchant_account_gateway.rb
123
- - lib/braintree/risk_data.rb
124
- - lib/braintree/payment_method_gateway.rb
125
- - lib/braintree/transaction/apple_pay_details.rb
126
- - lib/braintree/transaction/address_details.rb
127
- - lib/braintree/transaction/credit_card_details.rb
128
- - lib/braintree/transaction/disbursement_details.rb
129
- - lib/braintree/transaction/status_details.rb
130
- - lib/braintree/transaction/coinbase_details.rb
131
- - lib/braintree/transaction/subscription_details.rb
132
- - lib/braintree/transaction/customer_details.rb
133
- - lib/braintree/transaction/paypal_details.rb
134
- - lib/braintree/gateway.rb
135
- - lib/ssl/api_braintreegateway_com.ca.crt
127
+ - lib/braintree/settlement_batch.rb
128
+ - lib/braintree/settlement_batch_summary_gateway.rb
129
+ - lib/braintree/sha256_digest.rb
130
+ - lib/braintree/discount_gateway.rb
131
+ - lib/braintree/discount.rb
132
+ - lib/braintree/coinbase_account.rb
133
+ - lib/braintree/resource_collection.rb
134
+ - lib/ssl/www_braintreegateway_com.ca.crt
136
135
  - lib/ssl/sandbox_braintreegateway_com.ca.crt
137
136
  - lib/ssl/securetrust_ca.crt
138
- - lib/ssl/www_braintreegateway_com.ca.crt
139
- - spec/unit/spec_helper.rb
137
+ - lib/ssl/api_braintreegateway_com.ca.crt
138
+ - spec/script/httpsd.rb
140
139
  - spec/unit/braintree_spec.rb
140
+ - spec/unit/braintree/credit_card_verification_search_spec.rb
141
141
  - spec/unit/braintree/credit_card_spec.rb
142
- - spec/unit/braintree/payment_method_spec.rb
143
- - spec/unit/braintree/credit_card_verification_spec.rb
144
- - spec/unit/braintree/validation_error_collection_spec.rb
145
- - spec/unit/braintree/base_module_spec.rb
146
- - spec/unit/braintree/modification_spec.rb
147
- - spec/unit/braintree/webhook_notification_spec.rb
148
- - spec/unit/braintree/error_result_spec.rb
149
- - spec/unit/braintree/subscription_spec.rb
150
- - spec/unit/braintree/unknown_payment_method_spec.rb
151
- - spec/unit/braintree/digest_spec.rb
152
- - spec/unit/braintree/transaction_spec.rb
153
- - spec/unit/braintree/disbursement_spec.rb
154
- - spec/unit/braintree/customer_spec.rb
142
+ - spec/unit/braintree/subscription_search_spec.rb
155
143
  - spec/unit/braintree/dispute_spec.rb
144
+ - spec/unit/braintree/transaction/customer_details_spec.rb
145
+ - spec/unit/braintree/transaction/credit_card_details_spec.rb
146
+ - spec/unit/braintree/transaction/deposit_details_spec.rb
147
+ - spec/unit/braintree/risk_data_spec.rb
148
+ - spec/unit/braintree/digest_spec.rb
149
+ - spec/unit/braintree/error_result_spec.rb
150
+ - spec/unit/braintree/errors_spec.rb
151
+ - spec/unit/braintree/xml_spec.rb
156
152
  - spec/unit/braintree/resource_collection_spec.rb
157
- - spec/unit/braintree/http_spec.rb
158
- - spec/unit/braintree/paypal_account_spec.rb
159
153
  - spec/unit/braintree/util_spec.rb
160
- - spec/unit/braintree/xml_spec.rb
161
- - spec/unit/braintree/subscription_search_spec.rb
162
- - spec/unit/braintree/sha256_digest_spec.rb
163
154
  - spec/unit/braintree/successful_result_spec.rb
164
- - spec/unit/braintree/transparent_redirect_spec.rb
165
- - spec/unit/braintree/configuration_spec.rb
166
- - spec/unit/braintree/signature_service_spec.rb
167
- - spec/unit/braintree/errors_spec.rb
168
- - spec/unit/braintree/xml/parser_spec.rb
155
+ - spec/unit/braintree/client_token_spec.rb
156
+ - spec/unit/braintree/subscription_spec.rb
169
157
  - spec/unit/braintree/xml/libxml_spec.rb
170
158
  - spec/unit/braintree/xml/rexml_spec.rb
159
+ - spec/unit/braintree/xml/parser_spec.rb
160
+ - spec/unit/braintree/modification_spec.rb
161
+ - spec/unit/braintree/transaction_spec.rb
162
+ - spec/unit/braintree/payment_method_spec.rb
163
+ - spec/unit/braintree/credit_card_verification_spec.rb
164
+ - spec/unit/braintree/configuration_spec.rb
165
+ - spec/unit/braintree/validation_error_collection_spec.rb
171
166
  - spec/unit/braintree/validation_error_spec.rb
172
- - spec/unit/braintree/address_spec.rb
173
- - spec/unit/braintree/credit_card_verification_search_spec.rb
174
- - spec/unit/braintree/merchant_account_spec.rb
175
- - spec/unit/braintree/risk_data_spec.rb
167
+ - spec/unit/braintree/signature_service_spec.rb
168
+ - spec/unit/braintree/webhook_notification_spec.rb
169
+ - spec/unit/braintree/transparent_redirect_spec.rb
170
+ - spec/unit/braintree/http_spec.rb
171
+ - spec/unit/braintree/customer_spec.rb
172
+ - spec/unit/braintree/disbursement_spec.rb
173
+ - spec/unit/braintree/unknown_payment_method_spec.rb
174
+ - spec/unit/braintree/base_module_spec.rb
175
+ - spec/unit/braintree/paypal_account_spec.rb
176
176
  - spec/unit/braintree/transaction_search_spec.rb
177
- - spec/unit/braintree/transaction/deposit_details_spec.rb
178
- - spec/unit/braintree/transaction/credit_card_details_spec.rb
179
- - spec/unit/braintree/transaction/customer_details_spec.rb
180
- - spec/unit/braintree/client_token_spec.rb
181
- - spec/hacks/tcp_socket.rb
177
+ - spec/unit/braintree/merchant_account_spec.rb
178
+ - spec/unit/braintree/sha256_digest_spec.rb
179
+ - spec/unit/braintree/address_spec.rb
180
+ - spec/unit/spec_helper.rb
182
181
  - spec/ssl/certificate.crt
183
182
  - spec/ssl/geotrust_global.crt
184
183
  - spec/ssl/privateKey.key
185
- - spec/integration/spec_helper.rb
186
- - spec/integration/braintree/test/transaction_amounts_spec.rb
184
+ - spec/spec_helper.rb
185
+ - spec/hacks/tcp_socket.rb
186
+ - spec/httpsd.pid
187
+ - spec/integration/braintree/credit_card_verification_search_spec.rb
188
+ - spec/integration/braintree/customer_search_spec.rb
187
189
  - spec/integration/braintree/credit_card_spec.rb
188
- - spec/integration/braintree/payment_method_spec.rb
189
- - spec/integration/braintree/credit_card_verification_spec.rb
190
+ - spec/integration/braintree/advanced_search_spec.rb
191
+ - spec/integration/braintree/test/transaction_amounts_spec.rb
192
+ - spec/integration/braintree/coinbase_spec.rb
190
193
  - spec/integration/braintree/subscription_spec.rb
191
194
  - spec/integration/braintree/transaction_spec.rb
192
- - spec/integration/braintree/disbursement_spec.rb
193
- - spec/integration/braintree/customer_spec.rb
195
+ - spec/integration/braintree/payment_method_spec.rb
196
+ - spec/integration/braintree/credit_card_verification_spec.rb
197
+ - spec/integration/braintree/client_api/client_token_spec.rb
198
+ - spec/integration/braintree/client_api/spec_helper.rb
199
+ - spec/integration/braintree/settlement_batch_summary_spec.rb
200
+ - spec/integration/braintree/plan_spec.rb
201
+ - spec/integration/braintree/transparent_redirect_spec.rb
194
202
  - spec/integration/braintree/http_spec.rb
203
+ - spec/integration/braintree/customer_spec.rb
204
+ - spec/integration/braintree/disbursement_spec.rb
205
+ - spec/integration/braintree/test_transaction_spec.rb
195
206
  - spec/integration/braintree/paypal_account_spec.rb
196
- - spec/integration/braintree/client_api/spec_helper.rb
197
- - spec/integration/braintree/client_api/client_token_spec.rb
207
+ - spec/integration/braintree/transaction_search_spec.rb
208
+ - spec/integration/braintree/merchant_account_spec.rb
198
209
  - spec/integration/braintree/discount_spec.rb
210
+ - spec/integration/braintree/address_spec.rb
199
211
  - spec/integration/braintree/add_on_spec.rb
200
212
  - spec/integration/braintree/error_codes_spec.rb
201
- - spec/integration/braintree/transparent_redirect_spec.rb
202
- - spec/integration/braintree/coinbase_spec.rb
203
- - spec/integration/braintree/test_transaction_spec.rb
204
- - spec/integration/braintree/settlement_batch_summary_spec.rb
205
- - spec/integration/braintree/address_spec.rb
206
- - spec/integration/braintree/credit_card_verification_search_spec.rb
207
- - spec/integration/braintree/merchant_account_spec.rb
208
- - spec/integration/braintree/transaction_search_spec.rb
209
- - spec/integration/braintree/customer_search_spec.rb
210
- - spec/integration/braintree/advanced_search_spec.rb
211
- - spec/integration/braintree/plan_spec.rb
212
- - spec/spec_helper.rb
213
+ - spec/integration/braintree/payment_method_nonce_spec.rb
214
+ - spec/integration/spec_helper.rb
213
215
  - spec/spec.opts
214
- - spec/script/httpsd.rb
215
- - spec/httpsd.pid
216
216
  - braintree.gemspec
217
217
  homepage: http://www.braintreepayments.com/
218
218
  licenses:
219
219
  - MIT
220
+ metadata: {}
220
221
  post_install_message:
221
222
  rdoc_options: []
222
223
  require_paths:
223
224
  - lib
224
225
  required_ruby_version: !ruby/object:Gem::Requirement
225
- none: false
226
226
  requirements:
227
- - - ! '>='
227
+ - - '>='
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  required_rubygems_version: !ruby/object:Gem::Requirement
231
- none: false
232
231
  requirements:
233
- - - ! '>='
232
+ - - '>='
234
233
  - !ruby/object:Gem::Version
235
234
  version: '0'
236
235
  requirements: []
237
236
  rubyforge_project: braintree
238
- rubygems_version: 1.8.23
237
+ rubygems_version: 2.1.11
239
238
  signing_key:
240
- specification_version: 3
239
+ specification_version: 4
241
240
  summary: Braintree Gateway Ruby Client Library
242
241
  test_files: []