braintree 2.71.0 → 2.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/lib/braintree/transaction/us_bank_account_details.rb +1 -1
- data/lib/braintree/us_bank_account.rb +1 -1
- data/lib/braintree/version.rb +1 -1
- data/spec/httpsd.pid +1 -1
- data/spec/integration/braintree/client_api/spec_helper.rb +0 -1
- data/spec/integration/braintree/credit_card_verification_search_spec.rb +40 -0
- data/spec/integration/braintree/customer_spec.rb +0 -1
- data/spec/integration/braintree/payment_method_spec.rb +0 -1
- data/spec/integration/braintree/transaction_search_spec.rb +38 -0
- data/spec/integration/braintree/transaction_spec.rb +0 -3
- data/spec/integration/braintree/us_bank_account_spec.rb +0 -3
- data/spec/unit/braintree/webhook_notification_spec.rb +0 -2
- metadata +199 -196
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
data.tar.gz: e0c30958ea223548529c4d7eb4f3030dc34ee236
|
4
|
+
metadata.gz: 118da61d6bea46214dc3f46efb5dc3868d97bf7f
|
5
|
+
SHA512:
|
6
|
+
data.tar.gz: 0e8164250497e1aa2c329b6160d870821d0fc953478784461d954ff26818e3060120df77dd41a7e8e2cb04412aac6379ec68264296ac462d1473c6dac0b08565
|
7
|
+
metadata.gz: 2cea570545296d0e15901be01f0ba4ea56f6d79ef2a2fb8ab31989cedb2da800b6c192f298c4bc942bc66ab054b88072c0ae6c82503b41b5ef59b53e79be1234
|
@@ -3,7 +3,7 @@ module Braintree
|
|
3
3
|
class UsBankAccountDetails # :nodoc:
|
4
4
|
include BaseModule
|
5
5
|
|
6
|
-
attr_reader :routing_number, :last_4, :account_type, :
|
6
|
+
attr_reader :routing_number, :last_4, :account_type, :account_holder_name, :token, :image_url, :bank_name, :ach_mandate
|
7
7
|
|
8
8
|
def initialize(attributes)
|
9
9
|
set_instance_variables_from_hash attributes unless attributes.nil?
|
@@ -2,7 +2,7 @@ module Braintree
|
|
2
2
|
class UsBankAccount
|
3
3
|
include BaseModule
|
4
4
|
|
5
|
-
attr_reader :routing_number, :last_4, :account_type, :
|
5
|
+
attr_reader :routing_number, :last_4, :account_type, :account_holder_name, :token, :image_url, :bank_name, :ach_mandate, :default
|
6
6
|
|
7
7
|
def initialize(gateway, attributes) # :nodoc:
|
8
8
|
@gateway = gateway
|
data/lib/braintree/version.rb
CHANGED
data/spec/httpsd.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
8656
|
@@ -74,7 +74,6 @@ def generate_valid_us_bank_account_nonce()
|
|
74
74
|
:routing_number => "021000021",
|
75
75
|
:account_number => "567891234",
|
76
76
|
:account_holder_name => "Dan Schulman",
|
77
|
-
:account_description => "PayPal Checking - 1234",
|
78
77
|
:ach_mandate => {
|
79
78
|
:text => "cl mandate text"
|
80
79
|
}
|
@@ -150,4 +150,44 @@ describe Braintree::CreditCardVerification, "search" do
|
|
150
150
|
collection.first.id.should == verification.id
|
151
151
|
end
|
152
152
|
end
|
153
|
+
|
154
|
+
context "pagination" do
|
155
|
+
it "is not affected by new results on the server" do
|
156
|
+
cardholder_name = "Tom Smith #{rand(1_000_000)}"
|
157
|
+
5.times do |index|
|
158
|
+
Braintree::Customer.create(
|
159
|
+
:credit_card => {
|
160
|
+
:cardholder_name => "#{cardholder_name} #{index}",
|
161
|
+
:expiration_date => "05/2012",
|
162
|
+
:number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
|
163
|
+
:options => {
|
164
|
+
:verify_card => true
|
165
|
+
}
|
166
|
+
})
|
167
|
+
end
|
168
|
+
|
169
|
+
collection = Braintree::CreditCardVerification.search do |search|
|
170
|
+
search.credit_card_cardholder_name.starts_with cardholder_name
|
171
|
+
end
|
172
|
+
|
173
|
+
count_before_new_data = collection.instance_variable_get(:@ids).count
|
174
|
+
|
175
|
+
new_cardholder_name = "#{cardholder_name} shouldn't be included"
|
176
|
+
Braintree::Customer.create(
|
177
|
+
:credit_card => {
|
178
|
+
:cardholder_name => new_cardholder_name,
|
179
|
+
:expiration_date => "05/2012",
|
180
|
+
:number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
|
181
|
+
:options => {
|
182
|
+
:verify_card => true
|
183
|
+
}
|
184
|
+
})
|
185
|
+
|
186
|
+
verifications = collection.to_a
|
187
|
+
expect(verifications.count).to eq(count_before_new_data)
|
188
|
+
|
189
|
+
cardholder_names = verifications.map { |verification| verification.credit_card[:cardholder_name] }
|
190
|
+
expect(cardholder_names).to_not include(new_cardholder_name)
|
191
|
+
end
|
192
|
+
end
|
153
193
|
end
|
@@ -913,7 +913,6 @@ describe Braintree::Customer do
|
|
913
913
|
us_bank_account.routing_number.should == "021000021"
|
914
914
|
us_bank_account.last_4.should == "1234"
|
915
915
|
us_bank_account.account_type.should == "checking"
|
916
|
-
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
917
916
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
918
917
|
us_bank_account.bank_name.should =~ /CHASE/
|
919
918
|
end
|
@@ -495,7 +495,6 @@ describe Braintree::PaymentMethod do
|
|
495
495
|
us_bank_account.routing_number.should == "021000021"
|
496
496
|
us_bank_account.last_4.should == "1234"
|
497
497
|
us_bank_account.account_type.should == "checking"
|
498
|
-
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
499
498
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
500
499
|
us_bank_account.bank_name.should =~ /CHASE/
|
501
500
|
us_bank_account.default.should == true
|
@@ -1334,4 +1334,42 @@ describe Braintree::Transaction, "search" do
|
|
1334
1334
|
end
|
1335
1335
|
end
|
1336
1336
|
end
|
1337
|
+
|
1338
|
+
context "pagination" do
|
1339
|
+
it "is not affected by new results on the server" do
|
1340
|
+
cardholder_name = "Tom Smith #{rand(1_000_000)}"
|
1341
|
+
5.times do |index|
|
1342
|
+
Braintree::Transaction.sale!(
|
1343
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize,
|
1344
|
+
:credit_card => {
|
1345
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
1346
|
+
:expiration_date => "05/2012",
|
1347
|
+
:cardholder_name => "#{cardholder_name} #{index}"
|
1348
|
+
}
|
1349
|
+
)
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
collection = Braintree::Transaction.search do |search|
|
1353
|
+
search.credit_card_cardholder_name.starts_with cardholder_name
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
count_before_new_data = collection.instance_variable_get(:@ids).count
|
1357
|
+
|
1358
|
+
new_cardholder_name = "#{cardholder_name} shouldn't be included"
|
1359
|
+
Braintree::Transaction.sale!(
|
1360
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize,
|
1361
|
+
:credit_card => {
|
1362
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
1363
|
+
:expiration_date => "05/2012",
|
1364
|
+
:cardholder_name => new_cardholder_name,
|
1365
|
+
}
|
1366
|
+
)
|
1367
|
+
|
1368
|
+
transactions = collection.to_a
|
1369
|
+
expect(transactions.count).to eq(count_before_new_data)
|
1370
|
+
|
1371
|
+
cardholder_names = transactions.map { |transaction| transaction.credit_card_details.cardholder_name }
|
1372
|
+
expect(cardholder_names).to_not include(new_cardholder_name)
|
1373
|
+
end
|
1374
|
+
end
|
1337
1375
|
end
|
@@ -2126,7 +2126,6 @@ describe Braintree::Transaction do
|
|
2126
2126
|
result.transaction.us_bank_account_details.routing_number.should == "021000021"
|
2127
2127
|
result.transaction.us_bank_account_details.last_4.should == "1234"
|
2128
2128
|
result.transaction.us_bank_account_details.account_type.should == "checking"
|
2129
|
-
result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234"
|
2130
2129
|
result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman"
|
2131
2130
|
result.transaction.us_bank_account_details.bank_name.should =~ /CHASE/
|
2132
2131
|
result.transaction.us_bank_account_details.ach_mandate.text.should == "cl mandate text"
|
@@ -2152,7 +2151,6 @@ describe Braintree::Transaction do
|
|
2152
2151
|
result.transaction.us_bank_account_details.routing_number.should == "021000021"
|
2153
2152
|
result.transaction.us_bank_account_details.last_4.should == "1234"
|
2154
2153
|
result.transaction.us_bank_account_details.account_type.should == "checking"
|
2155
|
-
result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234"
|
2156
2154
|
result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman"
|
2157
2155
|
result.transaction.us_bank_account_details.bank_name.should =~ /CHASE/
|
2158
2156
|
result.transaction.us_bank_account_details.ach_mandate.text.should == "cl mandate text"
|
@@ -2175,7 +2173,6 @@ describe Braintree::Transaction do
|
|
2175
2173
|
result.transaction.us_bank_account_details.routing_number.should == "021000021"
|
2176
2174
|
result.transaction.us_bank_account_details.last_4.should == "1234"
|
2177
2175
|
result.transaction.us_bank_account_details.account_type.should == "checking"
|
2178
|
-
result.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234"
|
2179
2176
|
result.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman"
|
2180
2177
|
result.transaction.us_bank_account_details.bank_name.should =~ /CHASE/
|
2181
2178
|
result.transaction.us_bank_account_details.ach_mandate.text.should == "cl mandate text"
|
@@ -18,7 +18,6 @@ describe Braintree::UsBankAccount do
|
|
18
18
|
us_bank_account.routing_number.should == "021000021"
|
19
19
|
us_bank_account.last_4.should == "1234"
|
20
20
|
us_bank_account.account_type.should == "checking"
|
21
|
-
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
22
21
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
23
22
|
us_bank_account.bank_name.should =~ /CHASE/
|
24
23
|
us_bank_account.ach_mandate.text.should == "cl mandate text"
|
@@ -52,7 +51,6 @@ describe Braintree::UsBankAccount do
|
|
52
51
|
us_bank_account.routing_number.should == "021000021"
|
53
52
|
us_bank_account.last_4.should == "1234"
|
54
53
|
us_bank_account.account_type.should == "checking"
|
55
|
-
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
56
54
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
57
55
|
us_bank_account.bank_name.should =~ /CHASE/
|
58
56
|
us_bank_account.ach_mandate.text.should == "cl mandate text"
|
@@ -79,7 +77,6 @@ describe Braintree::UsBankAccount do
|
|
79
77
|
us_bank_account.routing_number.should == "021000021"
|
80
78
|
us_bank_account.last_4.should == "1234"
|
81
79
|
us_bank_account.account_type.should == "checking"
|
82
|
-
us_bank_account.account_description.should == "PayPal Checking - 1234"
|
83
80
|
us_bank_account.account_holder_name.should == "Dan Schulman"
|
84
81
|
us_bank_account.bank_name.should =~ /CHASE/
|
85
82
|
us_bank_account.ach_mandate.text.should == "cl mandate text"
|
@@ -178,7 +178,6 @@ describe Braintree::WebhookNotification do
|
|
178
178
|
notification.kind.should == Braintree::WebhookNotification::Kind::TransactionSettled
|
179
179
|
|
180
180
|
notification.transaction.status.should == "settled"
|
181
|
-
notification.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234"
|
182
181
|
notification.transaction.us_bank_account_details.account_type.should == "checking"
|
183
182
|
notification.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman"
|
184
183
|
notification.transaction.us_bank_account_details.routing_number.should == "123456789"
|
@@ -196,7 +195,6 @@ describe Braintree::WebhookNotification do
|
|
196
195
|
notification.kind.should == Braintree::WebhookNotification::Kind::TransactionSettlementDeclined
|
197
196
|
|
198
197
|
notification.transaction.status.should == "settlement_declined"
|
199
|
-
notification.transaction.us_bank_account_details.account_description.should == "PayPal Checking - 1234"
|
200
198
|
notification.transaction.us_bank_account_details.account_type.should == "checking"
|
201
199
|
notification.transaction.us_bank_account_details.account_holder_name.should == "Dan Schulman"
|
202
200
|
notification.transaction.us_bank_account_details.routing_number.should == "123456789"
|
metadata
CHANGED
@@ -1,271 +1,274 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.72.0
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Braintree
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
date: 2017-01-14 00:00:00 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
14
15
|
name: builder
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0.0
|
20
|
-
type: :runtime
|
21
16
|
prerelease: false
|
22
|
-
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
26
21
|
version: 2.0.0
|
22
|
+
type: :runtime
|
23
|
+
version_requirements: *id001
|
27
24
|
description: Ruby library for integrating with the Braintree Gateway
|
28
25
|
email: code@getbraintree.com
|
29
26
|
executables: []
|
27
|
+
|
30
28
|
extensions: []
|
29
|
+
|
31
30
|
extra_rdoc_files: []
|
32
|
-
|
31
|
+
|
32
|
+
files:
|
33
33
|
- README.rdoc
|
34
34
|
- LICENSE
|
35
|
-
- lib/braintree.rb
|
36
|
-
- lib/braintree/
|
37
|
-
- lib/braintree/credit_card_gateway.rb
|
38
|
-
- lib/braintree/plan.rb
|
39
|
-
- lib/braintree/plan_gateway.rb
|
40
|
-
- lib/braintree/merchant_account/individual_details.rb
|
41
|
-
- lib/braintree/merchant_account/funding_details.rb
|
42
|
-
- lib/braintree/merchant_account/address_details.rb
|
43
|
-
- lib/braintree/merchant_account/business_details.rb
|
44
|
-
- lib/braintree/paypal_account.rb
|
45
|
-
- lib/braintree/credit_card_verification_gateway.rb
|
46
|
-
- lib/braintree/oauth_credentials.rb
|
47
|
-
- lib/braintree/webhook_notification_gateway.rb
|
48
|
-
- lib/braintree/subscription_gateway.rb
|
49
|
-
- lib/braintree/transparent_redirect_gateway.rb
|
50
|
-
- lib/braintree/gateway.rb
|
51
|
-
- lib/braintree/credentials_parser.rb
|
52
|
-
- lib/braintree/add_on.rb
|
53
|
-
- lib/braintree/subscription/status_details.rb
|
54
|
-
- lib/braintree/payment_method_nonce_gateway.rb
|
35
|
+
- lib/braintree/credit_card_verification.rb
|
36
|
+
- lib/braintree/venmo_account.rb
|
55
37
|
- lib/braintree/advanced_search.rb
|
56
|
-
- lib/braintree/
|
57
|
-
- lib/braintree/
|
58
|
-
- lib/braintree/
|
38
|
+
- lib/braintree/payment_method.rb
|
39
|
+
- lib/braintree/payment_method_nonce_gateway.rb
|
40
|
+
- lib/braintree/credit_card_verification_search.rb
|
59
41
|
- lib/braintree/settlement_batch.rb
|
60
|
-
- lib/braintree/
|
61
|
-
- lib/braintree/
|
62
|
-
- lib/braintree/apple_pay_card.rb
|
63
|
-
- lib/braintree/ach_mandate.rb
|
64
|
-
- lib/braintree/validation_error.rb
|
65
|
-
- lib/braintree/address.rb
|
66
|
-
- lib/braintree/payment_method_gateway.rb
|
42
|
+
- lib/braintree/webhook_testing_gateway.rb
|
43
|
+
- lib/braintree/gateway.rb
|
67
44
|
- lib/braintree/merchant_account_gateway.rb
|
68
|
-
- lib/braintree/
|
69
|
-
- lib/braintree/credit_card_verification_search.rb
|
70
|
-
- lib/braintree/ideal_payment.rb
|
71
|
-
- lib/braintree/client_token_gateway.rb
|
72
|
-
- lib/braintree/paginated_result.rb
|
45
|
+
- lib/braintree/three_d_secure_info.rb
|
73
46
|
- lib/braintree/xml.rb
|
74
47
|
- lib/braintree/webhook_notification.rb
|
75
|
-
- lib/braintree/
|
76
|
-
- lib/braintree/settlement_batch_summary_gateway.rb
|
77
|
-
- lib/braintree/android_pay_card.rb
|
48
|
+
- lib/braintree/address_gateway.rb
|
78
49
|
- lib/braintree/facilitator_details.rb
|
79
|
-
- lib/braintree/
|
80
|
-
- lib/braintree/
|
81
|
-
- lib/braintree/
|
82
|
-
- lib/braintree/
|
50
|
+
- lib/braintree/merchant.rb
|
51
|
+
- lib/braintree/subscription_search.rb
|
52
|
+
- lib/braintree/credentials_parser.rb
|
53
|
+
- lib/braintree/transaction.rb
|
54
|
+
- lib/braintree/payment_instrument_type.rb
|
55
|
+
- lib/braintree/add_on.rb
|
56
|
+
- lib/braintree/util.rb
|
83
57
|
- lib/braintree/test_transaction.rb
|
84
|
-
- lib/braintree/
|
85
|
-
- lib/braintree/
|
86
|
-
- lib/braintree/
|
87
|
-
- lib/braintree/
|
88
|
-
- lib/braintree/
|
89
|
-
- lib/braintree/
|
58
|
+
- lib/braintree/ideal_payment.rb
|
59
|
+
- lib/braintree/configuration.rb
|
60
|
+
- lib/braintree/transaction/customer_details.rb
|
61
|
+
- lib/braintree/transaction/address_details.rb
|
62
|
+
- lib/braintree/transaction/subscription_details.rb
|
63
|
+
- lib/braintree/transaction/paypal_details.rb
|
64
|
+
- lib/braintree/transaction/coinbase_details.rb
|
65
|
+
- lib/braintree/transaction/android_pay_details.rb
|
66
|
+
- lib/braintree/transaction/amex_express_checkout_details.rb
|
67
|
+
- lib/braintree/transaction/disbursement_details.rb
|
68
|
+
- lib/braintree/transaction/status_details.rb
|
69
|
+
- lib/braintree/transaction/credit_card_details.rb
|
70
|
+
- lib/braintree/transaction/us_bank_account_details.rb
|
71
|
+
- lib/braintree/transaction/apple_pay_details.rb
|
72
|
+
- lib/braintree/transaction/ideal_payment_details.rb
|
73
|
+
- lib/braintree/transaction/venmo_account_details.rb
|
90
74
|
- lib/braintree/europe_bank_account.rb
|
91
|
-
- lib/braintree/
|
92
|
-
- lib/braintree/
|
93
|
-
- lib/braintree/
|
94
|
-
- lib/braintree/
|
75
|
+
- lib/braintree/amex_express_checkout_card.rb
|
76
|
+
- lib/braintree/plan.rb
|
77
|
+
- lib/braintree/subscription_gateway.rb
|
78
|
+
- lib/braintree/android_pay_card.rb
|
79
|
+
- lib/braintree/base_module.rb
|
80
|
+
- lib/braintree/xml/rexml.rb
|
81
|
+
- lib/braintree/xml/parser.rb
|
82
|
+
- lib/braintree/xml/generator.rb
|
83
|
+
- lib/braintree/xml/libxml.rb
|
84
|
+
- lib/braintree/address.rb
|
85
|
+
- lib/braintree/paypal_account.rb
|
86
|
+
- lib/braintree/paginated_result.rb
|
87
|
+
- lib/braintree/account_updater_daily_report.rb
|
88
|
+
- lib/braintree/successful_result.rb
|
89
|
+
- lib/braintree/discount.rb
|
95
90
|
- lib/braintree/transaction_gateway.rb
|
96
|
-
- lib/braintree/
|
97
|
-
- lib/braintree/
|
98
|
-
- lib/braintree/payment_instrument_type.rb
|
99
|
-
- lib/braintree/util.rb
|
100
|
-
- lib/braintree/resource_collection.rb
|
101
|
-
- lib/braintree/transaction.rb
|
102
|
-
- lib/braintree/payment_method.rb
|
103
|
-
- lib/braintree/credit_card_verification.rb
|
91
|
+
- lib/braintree/customer_search.rb
|
92
|
+
- lib/braintree/http.rb
|
104
93
|
- lib/braintree/test/nonce.rb
|
105
|
-
- lib/braintree/test/merchant_account.rb
|
106
|
-
- lib/braintree/test/venmo_sdk.rb
|
107
94
|
- lib/braintree/test/transaction_amounts.rb
|
95
|
+
- lib/braintree/test/merchant_account.rb
|
108
96
|
- lib/braintree/test/credit_card.rb
|
109
|
-
- lib/braintree/
|
110
|
-
- lib/braintree/
|
97
|
+
- lib/braintree/test/venmo_sdk.rb
|
98
|
+
- lib/braintree/credit_card_verification_gateway.rb
|
99
|
+
- lib/braintree/testing_gateway.rb
|
100
|
+
- lib/braintree/merchant_account.rb
|
101
|
+
- lib/braintree/subscription/status_details.rb
|
102
|
+
- lib/braintree/transparent_redirect.rb
|
103
|
+
- lib/braintree/error_result.rb
|
104
|
+
- lib/braintree/disbursement.rb
|
111
105
|
- lib/braintree/address/country_names.rb
|
112
|
-
- lib/braintree/transaction_search.rb
|
113
|
-
- lib/braintree/risk_data.rb
|
114
|
-
- lib/braintree/configuration.rb
|
115
|
-
- lib/braintree/error_codes.rb
|
116
|
-
- lib/braintree/customer_gateway.rb
|
117
|
-
- lib/braintree/subscription_search.rb
|
118
|
-
- lib/braintree/settlement_batch_summary.rb
|
119
|
-
- lib/braintree/signature_service.rb
|
120
|
-
- lib/braintree/dispute.rb
|
121
|
-
- lib/braintree/http.rb
|
122
106
|
- lib/braintree/subscription.rb
|
123
|
-
- lib/braintree/
|
124
|
-
- lib/braintree/
|
125
|
-
- lib/braintree/
|
126
|
-
- lib/braintree/
|
127
|
-
- lib/braintree/
|
128
|
-
- lib/braintree/
|
129
|
-
- lib/braintree/
|
130
|
-
- lib/braintree/xml/rexml.rb
|
107
|
+
- lib/braintree/europe_bank_account_gateway.rb
|
108
|
+
- lib/braintree/customer.rb
|
109
|
+
- lib/braintree/credit_card.rb
|
110
|
+
- lib/braintree/errors.rb
|
111
|
+
- lib/braintree/webhook_testing.rb
|
112
|
+
- lib/braintree/paypal_account_gateway.rb
|
113
|
+
- lib/braintree/digest.rb
|
131
114
|
- lib/braintree/modification.rb
|
132
|
-
- lib/braintree/
|
115
|
+
- lib/braintree/credit_card_gateway.rb
|
116
|
+
- lib/braintree/ideal_payment_gateway.rb
|
117
|
+
- lib/braintree/validation_error.rb
|
118
|
+
- lib/braintree/payment_method_nonce.rb
|
119
|
+
- lib/braintree/coinbase_account.rb
|
133
120
|
- lib/braintree/us_bank_account.rb
|
134
|
-
- lib/braintree/
|
135
|
-
- lib/braintree/merchant.rb
|
136
|
-
- lib/braintree/webhook_testing_gateway.rb
|
121
|
+
- lib/braintree/merchant_gateway.rb
|
137
122
|
- lib/braintree/version.rb
|
123
|
+
- lib/braintree/signature_service.rb
|
138
124
|
- lib/braintree/unknown_payment_method.rb
|
139
|
-
- lib/braintree/
|
140
|
-
- lib/braintree/
|
125
|
+
- lib/braintree/paginated_collection.rb
|
126
|
+
- lib/braintree/descriptor.rb
|
127
|
+
- lib/braintree/validation_error_collection.rb
|
128
|
+
- lib/braintree/client_token_gateway.rb
|
129
|
+
- lib/braintree/risk_data.rb
|
130
|
+
- lib/braintree/add_on_gateway.rb
|
131
|
+
- lib/braintree/dispute/transaction_details.rb
|
132
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
133
|
+
- lib/braintree/apple_pay_card.rb
|
141
134
|
- lib/braintree/us_bank_account_gateway.rb
|
142
|
-
- lib/braintree/
|
143
|
-
- lib/braintree/
|
144
|
-
- lib/braintree/
|
145
|
-
- lib/braintree/
|
146
|
-
- lib/braintree/
|
147
|
-
- lib/braintree/
|
148
|
-
- lib/braintree/
|
149
|
-
- lib/braintree/
|
150
|
-
- lib/braintree/
|
151
|
-
- lib/braintree/
|
152
|
-
- lib/braintree/
|
153
|
-
- lib/braintree/
|
154
|
-
- lib/braintree/
|
155
|
-
- lib/braintree/
|
156
|
-
- lib/braintree/
|
157
|
-
- lib/
|
135
|
+
- lib/braintree/dispute.rb
|
136
|
+
- lib/braintree/oauth_gateway.rb
|
137
|
+
- lib/braintree/client_token.rb
|
138
|
+
- lib/braintree/customer_gateway.rb
|
139
|
+
- lib/braintree/discount_gateway.rb
|
140
|
+
- lib/braintree/resource_collection.rb
|
141
|
+
- lib/braintree/plan_gateway.rb
|
142
|
+
- lib/braintree/transparent_redirect_gateway.rb
|
143
|
+
- lib/braintree/payment_method_gateway.rb
|
144
|
+
- lib/braintree/ach_mandate.rb
|
145
|
+
- lib/braintree/settlement_batch_summary.rb
|
146
|
+
- lib/braintree/exceptions.rb
|
147
|
+
- lib/braintree/transaction_search.rb
|
148
|
+
- lib/braintree/error_codes.rb
|
149
|
+
- lib/braintree/sha256_digest.rb
|
150
|
+
- lib/braintree/webhook_notification_gateway.rb
|
151
|
+
- lib/braintree/merchant_account/address_details.rb
|
152
|
+
- lib/braintree/merchant_account/business_details.rb
|
153
|
+
- lib/braintree/merchant_account/funding_details.rb
|
154
|
+
- lib/braintree/merchant_account/individual_details.rb
|
155
|
+
- lib/braintree/oauth_credentials.rb
|
156
|
+
- lib/braintree.rb
|
158
157
|
- lib/ssl/api_braintreegateway_com.ca.crt
|
158
|
+
- lib/ssl/securetrust_ca.crt
|
159
|
+
- spec/spec.opts
|
160
|
+
- spec/httpsd.pid
|
161
|
+
- spec/hacks/tcp_socket.rb
|
159
162
|
- spec/unit/spec_helper.rb
|
160
|
-
- spec/unit/
|
161
|
-
- spec/unit/braintree/risk_data_spec.rb
|
163
|
+
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
162
164
|
- spec/unit/braintree/subscription_search_spec.rb
|
163
|
-
- spec/unit/braintree/
|
164
|
-
- spec/unit/braintree/client_token_spec.rb
|
165
|
-
- spec/unit/braintree/transparent_redirect_spec.rb
|
166
|
-
- spec/unit/braintree/util_spec.rb
|
167
|
-
- spec/unit/braintree/sha256_digest_spec.rb
|
168
|
-
- spec/unit/braintree/configuration_spec.rb
|
169
|
-
- spec/unit/braintree/us_bank_account_spec.rb
|
170
|
-
- spec/unit/braintree/credit_card_verification_spec.rb
|
165
|
+
- spec/unit/braintree/signature_service_spec.rb
|
171
166
|
- spec/unit/braintree/apple_pay_card_spec.rb
|
172
|
-
- spec/unit/braintree/
|
167
|
+
- spec/unit/braintree/webhook_notification_spec.rb
|
168
|
+
- spec/unit/braintree/payment_method_spec.rb
|
173
169
|
- spec/unit/braintree/errors_spec.rb
|
174
|
-
- spec/unit/braintree/
|
175
|
-
- spec/unit/braintree/
|
176
|
-
- spec/unit/braintree/
|
177
|
-
- spec/unit/braintree/
|
170
|
+
- spec/unit/braintree/us_bank_account_spec.rb
|
171
|
+
- spec/unit/braintree/unknown_payment_method_spec.rb
|
172
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
173
|
+
- spec/unit/braintree/validation_error_spec.rb
|
174
|
+
- spec/unit/braintree/credentials_parser_spec.rb
|
175
|
+
- spec/unit/braintree/xml_spec.rb
|
176
|
+
- spec/unit/braintree/transparent_redirect_spec.rb
|
177
|
+
- spec/unit/braintree/client_token_spec.rb
|
178
|
+
- spec/unit/braintree/transaction/customer_details_spec.rb
|
179
|
+
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
180
|
+
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
178
181
|
- spec/unit/braintree/address_spec.rb
|
179
|
-
- spec/unit/braintree/
|
182
|
+
- spec/unit/braintree/http_spec.rb
|
183
|
+
- spec/unit/braintree/customer_spec.rb
|
180
184
|
- spec/unit/braintree/validation_error_collection_spec.rb
|
185
|
+
- spec/unit/braintree/modification_spec.rb
|
186
|
+
- spec/unit/braintree/xml/parser_spec.rb
|
187
|
+
- spec/unit/braintree/xml/rexml_spec.rb
|
188
|
+
- spec/unit/braintree/xml/libxml_spec.rb
|
181
189
|
- spec/unit/braintree/paypal_account_spec.rb
|
190
|
+
- spec/unit/braintree/digest_spec.rb
|
182
191
|
- spec/unit/braintree/error_result_spec.rb
|
192
|
+
- spec/unit/braintree/transaction_spec.rb
|
183
193
|
- spec/unit/braintree/three_d_secure_info_spec.rb
|
184
|
-
- spec/unit/braintree/
|
185
|
-
- spec/unit/braintree/
|
194
|
+
- spec/unit/braintree/successful_result_spec.rb
|
195
|
+
- spec/unit/braintree/util_spec.rb
|
186
196
|
- spec/unit/braintree/disbursement_spec.rb
|
187
|
-
- spec/unit/braintree/
|
188
|
-
- spec/unit/braintree/base_module_spec.rb
|
197
|
+
- spec/unit/braintree/credit_card_spec.rb
|
189
198
|
- spec/unit/braintree/dispute_spec.rb
|
190
|
-
- spec/unit/braintree/
|
191
|
-
- spec/unit/braintree/
|
192
|
-
- spec/unit/braintree/
|
199
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
200
|
+
- spec/unit/braintree/base_module_spec.rb
|
201
|
+
- spec/unit/braintree/transaction_search_spec.rb
|
202
|
+
- spec/unit/braintree/risk_data_spec.rb
|
193
203
|
- spec/unit/braintree/subscription_spec.rb
|
194
|
-
- spec/unit/braintree/
|
195
|
-
- spec/unit/braintree/
|
204
|
+
- spec/unit/braintree/configuration_spec.rb
|
205
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
196
206
|
- spec/unit/braintree/resource_collection_spec.rb
|
197
|
-
- spec/unit/
|
198
|
-
- spec/unit/braintree/credit_card_spec.rb
|
199
|
-
- spec/unit/braintree/transaction_search_spec.rb
|
200
|
-
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
201
|
-
- spec/unit/braintree/transaction/customer_details_spec.rb
|
202
|
-
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
203
|
-
- spec/unit/braintree/merchant_account_spec.rb
|
204
|
-
- spec/unit/braintree/webhook_notification_spec.rb
|
207
|
+
- spec/unit/braintree_spec.rb
|
205
208
|
- spec/spec_helper.rb
|
206
209
|
- spec/script/httpsd.rb
|
207
210
|
- spec/integration/spec_helper.rb
|
208
|
-
- spec/integration/braintree/transaction_spec.rb
|
209
|
-
- spec/integration/braintree/oauth_spec.rb
|
210
|
-
- spec/integration/braintree/transparent_redirect_spec.rb
|
211
|
-
- spec/integration/braintree/payment_method_nonce_spec.rb
|
212
|
-
- spec/integration/braintree/add_on_spec.rb
|
213
|
-
- spec/integration/braintree/us_bank_account_spec.rb
|
214
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
215
|
-
- spec/integration/braintree/coinbase_spec.rb
|
216
|
-
- spec/integration/braintree/discount_spec.rb
|
217
211
|
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
218
|
-
- spec/integration/braintree/http_spec.rb
|
219
|
-
- spec/integration/braintree/merchant_spec.rb
|
220
|
-
- spec/integration/braintree/address_spec.rb
|
221
|
-
- spec/integration/braintree/ideal_payment_spec.rb
|
222
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
223
|
-
- spec/integration/braintree/paypal_account_spec.rb
|
224
212
|
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
225
|
-
- spec/integration/braintree/
|
226
|
-
- spec/integration/braintree/
|
227
|
-
- spec/integration/braintree/
|
228
|
-
- spec/integration/braintree/
|
229
|
-
- spec/integration/braintree/test_transaction_spec.rb
|
230
|
-
- spec/integration/braintree/client_api/spec_helper.rb
|
213
|
+
- spec/integration/braintree/payment_method_spec.rb
|
214
|
+
- spec/integration/braintree/us_bank_account_spec.rb
|
215
|
+
- spec/integration/braintree/payment_method_nonce_spec.rb
|
216
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
231
217
|
- spec/integration/braintree/client_api/client_token_spec.rb
|
232
|
-
- spec/integration/braintree/
|
218
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
219
|
+
- spec/integration/braintree/test_transaction_spec.rb
|
220
|
+
- spec/integration/braintree/customer_search_spec.rb
|
221
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
222
|
+
- spec/integration/braintree/address_spec.rb
|
223
|
+
- spec/integration/braintree/http_spec.rb
|
233
224
|
- spec/integration/braintree/customer_spec.rb
|
234
|
-
- spec/integration/braintree/
|
225
|
+
- spec/integration/braintree/paypal_account_spec.rb
|
235
226
|
- spec/integration/braintree/error_codes_spec.rb
|
227
|
+
- spec/integration/braintree/transaction_spec.rb
|
228
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
229
|
+
- spec/integration/braintree/disbursement_spec.rb
|
230
|
+
- spec/integration/braintree/merchant_spec.rb
|
236
231
|
- spec/integration/braintree/credit_card_spec.rb
|
232
|
+
- spec/integration/braintree/oauth_spec.rb
|
233
|
+
- spec/integration/braintree/ideal_payment_spec.rb
|
234
|
+
- spec/integration/braintree/coinbase_spec.rb
|
235
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
236
|
+
- spec/integration/braintree/discount_spec.rb
|
237
|
+
- spec/integration/braintree/add_on_spec.rb
|
237
238
|
- spec/integration/braintree/transaction_search_spec.rb
|
238
|
-
- spec/integration/braintree/
|
239
|
-
- spec/
|
240
|
-
- spec/
|
239
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
240
|
+
- spec/integration/braintree/plan_spec.rb
|
241
|
+
- spec/integration/braintree/subscription_spec.rb
|
241
242
|
- spec/ssl/certificate.crt
|
242
243
|
- spec/ssl/geotrust_global.crt
|
243
|
-
- spec/
|
244
|
-
- spec/httpsd.pid
|
244
|
+
- spec/ssl/privateKey.key
|
245
245
|
- spec/oauth_test_helper.rb
|
246
246
|
- braintree.gemspec
|
247
247
|
homepage: http://www.braintreepayments.com/
|
248
|
-
licenses:
|
248
|
+
licenses:
|
249
249
|
- MIT
|
250
250
|
metadata: {}
|
251
|
+
|
251
252
|
post_install_message:
|
252
253
|
rdoc_options: []
|
253
|
-
|
254
|
+
|
255
|
+
require_paths:
|
254
256
|
- lib
|
255
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
256
|
-
requirements:
|
257
|
-
-
|
258
|
-
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
version: '0'
|
257
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
258
|
+
requirements:
|
259
|
+
- &id002
|
260
|
+
- ">="
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: "0"
|
263
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
|
+
requirements:
|
265
|
+
- *id002
|
265
266
|
requirements: []
|
267
|
+
|
266
268
|
rubyforge_project: braintree
|
267
|
-
rubygems_version: 2.
|
269
|
+
rubygems_version: 2.0.17
|
268
270
|
signing_key:
|
269
271
|
specification_version: 4
|
270
272
|
summary: Braintree Gateway Ruby Client Library
|
271
273
|
test_files: []
|
274
|
+
|