braintree 2.43.0 → 2.44.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/braintree/credit_card_verification.rb +6 -4
- data/lib/braintree/credit_card_verification_search.rb +6 -1
- data/lib/braintree/exceptions.rb +2 -0
- data/lib/braintree/version.rb +1 -1
- data/lib/braintree/webhook_notification_gateway.rb +1 -0
- data/spec/integration/braintree/credit_card_verification_spec.rb +68 -10
- data/spec/integration/braintree/settlement_batch_summary_spec.rb +6 -5
- data/spec/unit/braintree/credit_card_verification_spec.rb +1 -1
- data/spec/unit/braintree/webhook_notification_spec.rb +10 -2
- metadata +158 -155
- checksums.yaml +0 -7
- data/spec/httpsd.pid +0 -1
@@ -3,10 +3,12 @@ module Braintree
|
|
3
3
|
include BaseModule
|
4
4
|
|
5
5
|
module Status
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
Failed = 'failed'
|
7
|
+
GatewayRejected = 'gateway_rejected'
|
8
|
+
ProcessorDeclined = 'processor_declined'
|
9
|
+
Verified = 'verified'
|
10
|
+
|
11
|
+
All = [Failed, GatewayRejected, ProcessorDeclined, Verified]
|
10
12
|
end
|
11
13
|
|
12
14
|
attr_reader :avs_error_response_code, :avs_postal_code_response_code, :avs_street_address_response_code,
|
@@ -1,14 +1,19 @@
|
|
1
1
|
module Braintree
|
2
2
|
class CreditCardVerificationSearch < AdvancedSearch # :nodoc:
|
3
3
|
text_fields(
|
4
|
+
:billing_address_details_postal_code,
|
5
|
+
:credit_card_cardholder_name,
|
6
|
+
:customer_email,
|
7
|
+
:customer_id,
|
4
8
|
:id,
|
5
|
-
:
|
9
|
+
:payment_method_token
|
6
10
|
)
|
7
11
|
|
8
12
|
equality_fields :credit_card_expiration_date
|
9
13
|
partial_match_fields :credit_card_number
|
10
14
|
|
11
15
|
multiple_value_field :credit_card_card_type, :allows => CreditCard::CardType::All
|
16
|
+
multiple_value_field :status, :allows => CreditCardVerification::Status::All
|
12
17
|
multiple_value_field :ids
|
13
18
|
range_fields :created_at
|
14
19
|
end
|
data/lib/braintree/exceptions.rb
CHANGED
data/lib/braintree/version.rb
CHANGED
@@ -15,6 +15,7 @@ module Braintree
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def verify(challenge)
|
18
|
+
raise InvalidChallenge, 'challenge contains non-hex characters' unless challenge =~ /\A[a-f0-9]{20,32}\z/
|
18
19
|
digest = Braintree::Digest.hexdigest(@config.private_key, challenge)
|
19
20
|
"#{@config.public_key}|#{digest}"
|
20
21
|
end
|
@@ -3,21 +3,17 @@ require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
3
3
|
describe Braintree::CreditCardVerification, "search" do
|
4
4
|
describe "self.find" do
|
5
5
|
it "finds the verification with the given id" do
|
6
|
-
|
7
|
-
:credit_card => {
|
8
|
-
:cardholder_name => "Tom Smith",
|
6
|
+
credit_card_params = {
|
9
7
|
:expiration_date => "05/2012",
|
10
8
|
:number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
|
11
9
|
:options => {
|
12
|
-
|
10
|
+
:verify_card => true
|
11
|
+
},
|
13
12
|
}
|
14
|
-
|
15
|
-
|
16
|
-
created_verification = result.credit_card_verification
|
13
|
+
credit_card_verification = Braintree::Customer.create(:credit_card => credit_card_params).credit_card_verification
|
14
|
+
found_verification = Braintree::CreditCardVerification.find(credit_card_verification.id)
|
17
15
|
|
18
|
-
found_verification
|
19
|
-
found_verification.should == created_verification
|
20
|
-
found_verification.credit_card.should == created_verification.credit_card
|
16
|
+
found_verification.should == credit_card_verification
|
21
17
|
end
|
22
18
|
|
23
19
|
it "raises a NotFoundError exception if verification cannot be found" do
|
@@ -25,6 +21,68 @@ describe Braintree::CreditCardVerification, "search" do
|
|
25
21
|
Braintree::CreditCardVerification.find("invalid-id")
|
26
22
|
end.to raise_error(Braintree::NotFoundError, 'verification with id "invalid-id" not found')
|
27
23
|
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "self.search" do
|
27
|
+
before(:each) do
|
28
|
+
@customer_params = {
|
29
|
+
:first_name => "Tom",
|
30
|
+
:last_name => "Smith",
|
31
|
+
:email => "tom.smith@example.com",
|
32
|
+
}
|
33
|
+
@billing_address_params = {
|
34
|
+
:postal_code => "90210"
|
35
|
+
}
|
36
|
+
@credit_card_params = {
|
37
|
+
:cardholder_name => "Tom Smith",
|
38
|
+
:expiration_date => "05/2012",
|
39
|
+
:options => {
|
40
|
+
:verify_card => true
|
41
|
+
},
|
42
|
+
:billing_address => @billing_address_params,
|
43
|
+
}
|
44
|
+
|
45
|
+
customer_create_result = Braintree::Customer.create(@customer_params)
|
46
|
+
@customer = customer_create_result.customer
|
47
|
+
end
|
48
|
+
|
49
|
+
it "searches and finds verification using verification fields" do
|
50
|
+
max_seconds_between_create_and_search = 120
|
51
|
+
result = Braintree::CreditCard.create(@credit_card_params.merge({
|
52
|
+
:customer_id => @customer.id,
|
53
|
+
:number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
|
54
|
+
}))
|
55
|
+
credit_card_verification = result.credit_card_verification
|
56
|
+
|
57
|
+
found_verifications = Braintree::CreditCardVerification.search do |search|
|
58
|
+
search.billing_address_details_postal_code.is @billing_address_params[:postal_code]
|
59
|
+
search.created_at >= (Time.now() - max_seconds_between_create_and_search)
|
60
|
+
search.credit_card_card_type.in Braintree::CreditCard::CardType::Visa
|
61
|
+
search.credit_card_cardholder_name.is @credit_card_params[:cardholder_name]
|
62
|
+
search.credit_card_expiration_date.is @credit_card_params[:expiration_date]
|
63
|
+
search.credit_card_number.is @credit_card_params[:number]
|
64
|
+
search.ids.in credit_card_verification.id
|
65
|
+
search.status.in credit_card_verification.status
|
66
|
+
end
|
67
|
+
|
68
|
+
found_verifications.should include(credit_card_verification)
|
69
|
+
end
|
70
|
+
|
71
|
+
it "searches and finds verifications using customer fields" do
|
72
|
+
result = Braintree::CreditCard.create(@credit_card_params.merge({
|
73
|
+
:customer_id => @customer.id,
|
74
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
75
|
+
}))
|
76
|
+
credit_card = result.credit_card
|
77
|
+
|
78
|
+
found_verifications = Braintree::CreditCardVerification.search do |search|
|
79
|
+
search.customer_email.is @customer_params[:email]
|
80
|
+
search.customer_id.is @customer.id
|
81
|
+
search.payment_method_token.is credit_card.token
|
82
|
+
end
|
83
|
+
|
84
|
+
found_verifications.count.should eq(1)
|
85
|
+
end
|
28
86
|
|
29
87
|
describe "card type indicators" do
|
30
88
|
it "returns prepaid on a prepaid card" do
|
@@ -25,9 +25,10 @@ describe Braintree::SettlementBatchSummary do
|
|
25
25
|
},
|
26
26
|
:options => { :submit_for_settlement => true }
|
27
27
|
)
|
28
|
-
SpecHelper.settle_transaction transaction.id
|
28
|
+
result = SpecHelper.settle_transaction transaction.id
|
29
|
+
settlement_date = result[:transaction][:settlement_batch_id].split('_').first
|
30
|
+
result = Braintree::SettlementBatchSummary.generate(settlement_date)
|
29
31
|
|
30
|
-
result = Braintree::SettlementBatchSummary.generate(now_in_eastern)
|
31
32
|
result.should be_success
|
32
33
|
amex_records = result.settlement_batch_summary.records.select {|row| row[:card_type] == Braintree::CreditCard::CardType::AmEx }
|
33
34
|
amex_records.first[:count].to_i.should >= 1
|
@@ -47,11 +48,11 @@ describe Braintree::SettlementBatchSummary do
|
|
47
48
|
},
|
48
49
|
:options => { :submit_for_settlement => true }
|
49
50
|
)
|
50
|
-
SpecHelper.settle_transaction transaction.id
|
51
|
+
result = SpecHelper.settle_transaction transaction.id
|
52
|
+
settlement_date = result[:transaction][:settlement_batch_id].split('_').first
|
53
|
+
result = Braintree::SettlementBatchSummary.generate(settlement_date, 'store_me')
|
51
54
|
|
52
|
-
result = Braintree::SettlementBatchSummary.generate(now_in_eastern, 'store_me')
|
53
55
|
result.should be_success
|
54
|
-
|
55
56
|
amex_records = result.settlement_batch_summary.records.select {|row| row[:store_me] == "1" }
|
56
57
|
amex_records.should_not be_empty
|
57
58
|
amex_records.first[:count].to_i.should >= 1
|
@@ -29,7 +29,7 @@ describe Braintree::CreditCardVerification do
|
|
29
29
|
:merchant_account_id => "some_id"
|
30
30
|
)
|
31
31
|
|
32
|
-
verification.status.should == Braintree::CreditCardVerification::Status::
|
32
|
+
verification.status.should == Braintree::CreditCardVerification::Status::Verified
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -289,8 +289,16 @@ describe Braintree::WebhookNotification do
|
|
289
289
|
|
290
290
|
describe "self.verify" do
|
291
291
|
it "creates a verification string" do
|
292
|
-
response = Braintree::WebhookNotification.verify("
|
293
|
-
response.should == "integration_public_key|
|
292
|
+
response = Braintree::WebhookNotification.verify("20f9f8ed05f77439fe955c977e4c8a53")
|
293
|
+
response.should == "integration_public_key|d9b899556c966b3f06945ec21311865d35df3ce4"
|
294
|
+
end
|
295
|
+
|
296
|
+
it "raises InvalidChallenge error with a message complaining about invalid characters" do
|
297
|
+
challenge = "bad challenge"
|
298
|
+
|
299
|
+
expect do
|
300
|
+
Braintree::WebhookNotification.verify(challenge)
|
301
|
+
end.to raise_error(Braintree::InvalidChallenge, /challenge contains non-hex characters/)
|
294
302
|
end
|
295
303
|
end
|
296
304
|
end
|
metadata
CHANGED
@@ -1,27 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.44.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Braintree
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: builder
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 2.0.0
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 2.0.0
|
27
30
|
description: Ruby library for integrating with the Braintree Gateway
|
@@ -33,212 +36,212 @@ files:
|
|
33
36
|
- README.rdoc
|
34
37
|
- LICENSE
|
35
38
|
- lib/braintree.rb
|
36
|
-
- lib/braintree/
|
37
|
-
- lib/braintree/
|
39
|
+
- lib/braintree/credit_card.rb
|
40
|
+
- lib/braintree/test_transaction.rb
|
41
|
+
- lib/braintree/risk_data.rb
|
42
|
+
- lib/braintree/disbursement.rb
|
43
|
+
- lib/braintree/subscription_gateway.rb
|
44
|
+
- lib/braintree/paypal_account_gateway.rb
|
45
|
+
- lib/braintree/payment_instrument_type.rb
|
46
|
+
- lib/braintree/error_codes.rb
|
47
|
+
- lib/braintree/apple_pay_card.rb
|
48
|
+
- lib/braintree/coinbase_account.rb
|
49
|
+
- lib/braintree/transaction_gateway.rb
|
50
|
+
- lib/braintree/subscription/status_details.rb
|
51
|
+
- lib/braintree/credit_card_verification_search.rb
|
52
|
+
- lib/braintree/unknown_payment_method.rb
|
38
53
|
- lib/braintree/address.rb
|
39
|
-
- lib/braintree/
|
40
|
-
- lib/braintree/
|
41
|
-
- lib/braintree/
|
54
|
+
- lib/braintree/dispute/transaction_details.rb
|
55
|
+
- lib/braintree/transaction/disbursement_details.rb
|
56
|
+
- lib/braintree/transaction/paypal_details.rb
|
57
|
+
- lib/braintree/transaction/address_details.rb
|
58
|
+
- lib/braintree/transaction/credit_card_details.rb
|
59
|
+
- lib/braintree/transaction/status_details.rb
|
60
|
+
- lib/braintree/transaction/coinbase_details.rb
|
61
|
+
- lib/braintree/transaction/subscription_details.rb
|
62
|
+
- lib/braintree/transaction/apple_pay_details.rb
|
63
|
+
- lib/braintree/transaction/customer_details.rb
|
64
|
+
- lib/braintree/paypal_account.rb
|
65
|
+
- lib/braintree/dispute.rb
|
66
|
+
- lib/braintree/merchant_account.rb
|
67
|
+
- lib/braintree/plan.rb
|
68
|
+
- lib/braintree/gateway.rb
|
42
69
|
- lib/braintree/webhook_testing.rb
|
43
|
-
- lib/braintree/
|
70
|
+
- lib/braintree/customer.rb
|
44
71
|
- lib/braintree/validation_error.rb
|
45
|
-
- lib/braintree/
|
46
|
-
- lib/braintree/
|
47
|
-
- lib/braintree/test/nonce.rb
|
48
|
-
- lib/braintree/test/merchant_account.rb
|
49
|
-
- lib/braintree/test/venmo_sdk.rb
|
50
|
-
- lib/braintree/test/transaction_amounts.rb
|
51
|
-
- lib/braintree/europe_bank_account.rb
|
52
|
-
- lib/braintree/subscription_search.rb
|
53
|
-
- lib/braintree/credit_card_gateway.rb
|
72
|
+
- lib/braintree/transparent_redirect_gateway.rb
|
73
|
+
- lib/braintree/descriptor.rb
|
54
74
|
- lib/braintree/digest.rb
|
55
|
-
- lib/braintree/
|
56
|
-
- lib/braintree/
|
75
|
+
- lib/braintree/webhook_notification.rb
|
76
|
+
- lib/braintree/advanced_search.rb
|
77
|
+
- lib/braintree/signature_service.rb
|
78
|
+
- lib/braintree/credit_card_verification.rb
|
79
|
+
- lib/braintree/plan_gateway.rb
|
80
|
+
- lib/braintree/europe_bank_account_gateway.rb
|
81
|
+
- lib/braintree/credit_card_gateway.rb
|
82
|
+
- lib/braintree/xml.rb
|
83
|
+
- lib/braintree/transaction.rb
|
84
|
+
- lib/braintree/sha256_digest.rb
|
85
|
+
- lib/braintree/merchant_account_gateway.rb
|
86
|
+
- lib/braintree/address/country_names.rb
|
87
|
+
- lib/braintree/client_token_gateway.rb
|
88
|
+
- lib/braintree/transaction_search.rb
|
89
|
+
- lib/braintree/version.rb
|
90
|
+
- lib/braintree/subscription_search.rb
|
91
|
+
- lib/braintree/exceptions.rb
|
92
|
+
- lib/braintree/configuration.rb
|
57
93
|
- lib/braintree/payment_method_nonce_gateway.rb
|
58
|
-
- lib/braintree/
|
59
|
-
- lib/braintree/
|
60
|
-
- lib/braintree/
|
61
|
-
- lib/braintree/
|
62
|
-
- lib/braintree/merchant_account/individual_details.rb
|
94
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
95
|
+
- lib/braintree/customer_search.rb
|
96
|
+
- lib/braintree/http.rb
|
97
|
+
- lib/braintree/merchant_account/address_details.rb
|
63
98
|
- lib/braintree/merchant_account/business_details.rb
|
64
99
|
- lib/braintree/merchant_account/funding_details.rb
|
65
|
-
- lib/braintree/merchant_account/
|
66
|
-
- lib/braintree/credit_card.rb
|
67
|
-
- lib/braintree/validation_error_collection.rb
|
68
|
-
- lib/braintree/test_transaction.rb
|
69
|
-
- lib/braintree/transaction_search.rb
|
70
|
-
- lib/braintree/disbursement.rb
|
100
|
+
- lib/braintree/merchant_account/individual_details.rb
|
71
101
|
- lib/braintree/util.rb
|
72
|
-
- lib/braintree/
|
102
|
+
- lib/braintree/payment_method.rb
|
103
|
+
- lib/braintree/europe_bank_account.rb
|
104
|
+
- lib/braintree/discount.rb
|
105
|
+
- lib/braintree/base_module.rb
|
73
106
|
- lib/braintree/webhook_notification_gateway.rb
|
74
|
-
- lib/braintree/
|
75
|
-
- lib/braintree/subscription.rb
|
76
|
-
- lib/braintree/exceptions.rb
|
107
|
+
- lib/braintree/validation_error_collection.rb
|
77
108
|
- lib/braintree/payment_method_gateway.rb
|
78
|
-
- lib/braintree/
|
79
|
-
- lib/braintree/
|
109
|
+
- lib/braintree/discount_gateway.rb
|
110
|
+
- lib/braintree/three_d_secure_info.rb
|
111
|
+
- lib/braintree/subscription.rb
|
80
112
|
- lib/braintree/xml/generator.rb
|
113
|
+
- lib/braintree/xml/parser.rb
|
81
114
|
- lib/braintree/xml/rexml.rb
|
82
115
|
- lib/braintree/xml/libxml.rb
|
83
|
-
- lib/braintree/
|
84
|
-
- lib/braintree/xml.rb
|
85
|
-
- lib/braintree/transaction.rb
|
86
|
-
- lib/braintree/successful_result.rb
|
87
|
-
- lib/braintree/version.rb
|
88
|
-
- lib/braintree/client_token.rb
|
89
|
-
- lib/braintree/address/country_names.rb
|
90
|
-
- lib/braintree/unknown_payment_method.rb
|
91
|
-
- lib/braintree/descriptor.rb
|
92
|
-
- lib/braintree/webhook_notification.rb
|
116
|
+
- lib/braintree/address_gateway.rb
|
93
117
|
- lib/braintree/credit_card_verification_gateway.rb
|
94
|
-
- lib/braintree/apple_pay_card.rb
|
95
|
-
- lib/braintree/transaction/disbursement_details.rb
|
96
|
-
- lib/braintree/transaction/credit_card_details.rb
|
97
|
-
- lib/braintree/transaction/address_details.rb
|
98
|
-
- lib/braintree/transaction/subscription_details.rb
|
99
|
-
- lib/braintree/transaction/customer_details.rb
|
100
|
-
- lib/braintree/transaction/coinbase_details.rb
|
101
|
-
- lib/braintree/transaction/apple_pay_details.rb
|
102
|
-
- lib/braintree/transaction/status_details.rb
|
103
|
-
- lib/braintree/transaction/paypal_details.rb
|
104
|
-
- lib/braintree/transaction_gateway.rb
|
105
|
-
- lib/braintree/merchant_account.rb
|
106
|
-
- lib/braintree/advanced_search.rb
|
107
|
-
- lib/braintree/europe_bank_account_gateway.rb
|
108
|
-
- lib/braintree/webhook_testing_gateway.rb
|
109
|
-
- lib/braintree/gateway.rb
|
110
|
-
- lib/braintree/add_on_gateway.rb
|
111
|
-
- lib/braintree/subscription/status_details.rb
|
112
118
|
- lib/braintree/add_on.rb
|
113
|
-
- lib/braintree/
|
114
|
-
- lib/braintree/customer.rb
|
115
|
-
- lib/braintree/address_gateway.rb
|
116
|
-
- lib/braintree/dispute.rb
|
119
|
+
- lib/braintree/errors.rb
|
117
120
|
- lib/braintree/modification.rb
|
118
|
-
- lib/braintree/
|
119
|
-
- lib/braintree/
|
120
|
-
- lib/braintree/
|
121
|
-
- lib/braintree/payment_method_nonce.rb
|
121
|
+
- lib/braintree/resource_collection.rb
|
122
|
+
- lib/braintree/webhook_testing_gateway.rb
|
123
|
+
- lib/braintree/add_on_gateway.rb
|
122
124
|
- lib/braintree/error_result.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/
|
125
|
+
- lib/braintree/settlement_batch.rb
|
126
|
+
- lib/braintree/successful_result.rb
|
127
|
+
- lib/braintree/client_token.rb
|
128
|
+
- lib/braintree/settlement_batch_summary.rb
|
129
|
+
- lib/braintree/test/credit_card.rb
|
130
|
+
- lib/braintree/test/venmo_sdk.rb
|
131
|
+
- lib/braintree/test/merchant_account.rb
|
132
|
+
- lib/braintree/test/transaction_amounts.rb
|
133
|
+
- lib/braintree/test/nonce.rb
|
131
134
|
- lib/braintree/customer_gateway.rb
|
132
|
-
- lib/braintree/
|
133
|
-
- lib/braintree/
|
134
|
-
- lib/braintree/
|
135
|
-
- lib/ssl/securetrust_ca.crt
|
136
|
-
- lib/ssl/sandbox_braintreegateway_com.ca.crt
|
135
|
+
- lib/braintree/payment_method_nonce.rb
|
136
|
+
- lib/braintree/testing_gateway.rb
|
137
|
+
- lib/braintree/transparent_redirect.rb
|
137
138
|
- lib/ssl/www_braintreegateway_com.ca.crt
|
139
|
+
- lib/ssl/securetrust_ca.crt
|
138
140
|
- lib/ssl/api_braintreegateway_com.ca.crt
|
139
|
-
-
|
140
|
-
- spec/spec.opts
|
141
|
+
- lib/ssl/sandbox_braintreegateway_com.ca.crt
|
141
142
|
- spec/script/httpsd.rb
|
142
|
-
- spec/
|
143
|
-
- spec/
|
144
|
-
- spec/
|
145
|
-
- spec/
|
146
|
-
- spec/
|
147
|
-
- spec/
|
148
|
-
- spec/integration/
|
143
|
+
- spec/spec.opts
|
144
|
+
- spec/ssl/geotrust_global.crt
|
145
|
+
- spec/ssl/certificate.crt
|
146
|
+
- spec/ssl/privateKey.key
|
147
|
+
- spec/hacks/tcp_socket.rb
|
148
|
+
- spec/spec_helper.rb
|
149
|
+
- spec/integration/spec_helper.rb
|
149
150
|
- spec/integration/braintree/paypal_account_spec.rb
|
151
|
+
- spec/integration/braintree/transaction_spec.rb
|
150
152
|
- spec/integration/braintree/subscription_spec.rb
|
151
|
-
- spec/integration/braintree/discount_spec.rb
|
152
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
153
|
-
- spec/integration/braintree/error_codes_spec.rb
|
154
153
|
- spec/integration/braintree/add_on_spec.rb
|
155
|
-
- spec/integration/braintree/
|
156
|
-
- spec/integration/braintree/
|
154
|
+
- spec/integration/braintree/customer_spec.rb
|
155
|
+
- spec/integration/braintree/payment_method_spec.rb
|
156
|
+
- spec/integration/braintree/disbursement_spec.rb
|
157
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
158
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
159
|
+
- spec/integration/braintree/address_spec.rb
|
160
|
+
- spec/integration/braintree/error_codes_spec.rb
|
157
161
|
- spec/integration/braintree/payment_method_nonce_spec.rb
|
158
|
-
- spec/integration/braintree/
|
159
|
-
- spec/integration/braintree/
|
162
|
+
- spec/integration/braintree/coinbase_spec.rb
|
163
|
+
- spec/integration/braintree/http_spec.rb
|
164
|
+
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
165
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
166
|
+
- spec/integration/braintree/credit_card_spec.rb
|
160
167
|
- spec/integration/braintree/customer_search_spec.rb
|
161
|
-
- spec/integration/braintree/
|
162
|
-
- spec/integration/braintree/
|
163
|
-
- spec/integration/braintree/transaction_spec.rb
|
164
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
168
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
169
|
+
- spec/integration/braintree/discount_spec.rb
|
165
170
|
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
166
|
-
- spec/integration/braintree/coinbase_spec.rb
|
167
171
|
- spec/integration/braintree/test_transaction_spec.rb
|
168
|
-
- spec/integration/braintree/
|
169
|
-
- spec/integration/
|
170
|
-
- spec/
|
171
|
-
- spec/
|
172
|
-
- spec/
|
173
|
-
- spec/
|
174
|
-
- spec/spec_helper.rb
|
175
|
-
- spec/unit/braintree/disbursement_spec.rb
|
176
|
-
- spec/unit/braintree/http_spec.rb
|
177
|
-
- spec/unit/braintree/error_result_spec.rb
|
178
|
-
- spec/unit/braintree/util_spec.rb
|
179
|
-
- spec/unit/braintree/webhook_notification_spec.rb
|
180
|
-
- spec/unit/braintree/payment_method_spec.rb
|
181
|
-
- spec/unit/braintree/transparent_redirect_spec.rb
|
182
|
-
- spec/unit/braintree/address_spec.rb
|
183
|
-
- spec/unit/braintree/configuration_spec.rb
|
184
|
-
- spec/unit/braintree/subscription_search_spec.rb
|
185
|
-
- spec/unit/braintree/merchant_account_spec.rb
|
172
|
+
- spec/integration/braintree/transaction_search_spec.rb
|
173
|
+
- spec/integration/braintree/client_api/client_token_spec.rb
|
174
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
175
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
176
|
+
- spec/integration/braintree/plan_spec.rb
|
177
|
+
- spec/unit/braintree_spec.rb
|
178
|
+
- spec/unit/spec_helper.rb
|
186
179
|
- spec/unit/braintree/paypal_account_spec.rb
|
187
|
-
- spec/unit/braintree/
|
188
|
-
- spec/unit/braintree/
|
189
|
-
- spec/unit/braintree/xml/parser_spec.rb
|
190
|
-
- spec/unit/braintree/xml/rexml_spec.rb
|
191
|
-
- spec/unit/braintree/credit_card_spec.rb
|
180
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
181
|
+
- spec/unit/braintree/transaction_spec.rb
|
192
182
|
- spec/unit/braintree/resource_collection_spec.rb
|
193
|
-
- spec/unit/braintree/
|
194
|
-
- spec/unit/braintree/
|
195
|
-
- spec/unit/braintree/client_token_spec.rb
|
196
|
-
- spec/unit/braintree/risk_data_spec.rb
|
197
|
-
- spec/unit/braintree/transaction/customer_details_spec.rb
|
183
|
+
- spec/unit/braintree/subscription_spec.rb
|
184
|
+
- spec/unit/braintree/customer_spec.rb
|
198
185
|
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
199
186
|
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
200
|
-
- spec/unit/braintree/
|
187
|
+
- spec/unit/braintree/transaction/customer_details_spec.rb
|
188
|
+
- spec/unit/braintree/risk_data_spec.rb
|
189
|
+
- spec/unit/braintree/payment_method_spec.rb
|
190
|
+
- spec/unit/braintree/disbursement_spec.rb
|
201
191
|
- spec/unit/braintree/digest_spec.rb
|
202
|
-
- spec/unit/braintree/
|
203
|
-
- spec/unit/braintree/
|
204
|
-
- spec/unit/braintree/
|
205
|
-
- spec/unit/braintree/dispute_spec.rb
|
192
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
193
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
194
|
+
- spec/unit/braintree/address_spec.rb
|
206
195
|
- spec/unit/braintree/apple_pay_card_spec.rb
|
207
|
-
- spec/unit/braintree/
|
208
|
-
- spec/unit/braintree/validation_error_spec.rb
|
209
|
-
- spec/unit/braintree/xml_spec.rb
|
196
|
+
- spec/unit/braintree/signature_service_spec.rb
|
210
197
|
- spec/unit/braintree/unknown_payment_method_spec.rb
|
211
198
|
- spec/unit/braintree/three_d_secure_info_spec.rb
|
212
|
-
- spec/unit/braintree/
|
213
|
-
- spec/unit/braintree/
|
214
|
-
- spec/unit/braintree/
|
199
|
+
- spec/unit/braintree/error_result_spec.rb
|
200
|
+
- spec/unit/braintree/errors_spec.rb
|
201
|
+
- spec/unit/braintree/http_spec.rb
|
202
|
+
- spec/unit/braintree/credit_card_spec.rb
|
203
|
+
- spec/unit/braintree/client_token_spec.rb
|
215
204
|
- spec/unit/braintree/modification_spec.rb
|
216
|
-
- spec/unit/braintree/
|
217
|
-
- spec/unit/
|
218
|
-
- spec/unit/
|
205
|
+
- spec/unit/braintree/base_module_spec.rb
|
206
|
+
- spec/unit/braintree/validation_error_spec.rb
|
207
|
+
- spec/unit/braintree/successful_result_spec.rb
|
208
|
+
- spec/unit/braintree/xml/parser_spec.rb
|
209
|
+
- spec/unit/braintree/xml/rexml_spec.rb
|
210
|
+
- spec/unit/braintree/xml/libxml_spec.rb
|
211
|
+
- spec/unit/braintree/validation_error_collection_spec.rb
|
212
|
+
- spec/unit/braintree/transparent_redirect_spec.rb
|
213
|
+
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
214
|
+
- spec/unit/braintree/subscription_search_spec.rb
|
215
|
+
- spec/unit/braintree/dispute_spec.rb
|
216
|
+
- spec/unit/braintree/transaction_search_spec.rb
|
217
|
+
- spec/unit/braintree/webhook_notification_spec.rb
|
218
|
+
- spec/unit/braintree/util_spec.rb
|
219
|
+
- spec/unit/braintree/xml_spec.rb
|
220
|
+
- spec/unit/braintree/configuration_spec.rb
|
219
221
|
- braintree.gemspec
|
220
222
|
homepage: http://www.braintreepayments.com/
|
221
223
|
licenses:
|
222
224
|
- MIT
|
223
|
-
metadata: {}
|
224
225
|
post_install_message:
|
225
226
|
rdoc_options: []
|
226
227
|
require_paths:
|
227
228
|
- lib
|
228
229
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
229
231
|
requirements:
|
230
|
-
- - '>='
|
232
|
+
- - ! '>='
|
231
233
|
- !ruby/object:Gem::Version
|
232
234
|
version: '0'
|
233
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
|
+
none: false
|
234
237
|
requirements:
|
235
|
-
- - '>='
|
238
|
+
- - ! '>='
|
236
239
|
- !ruby/object:Gem::Version
|
237
240
|
version: '0'
|
238
241
|
requirements: []
|
239
242
|
rubyforge_project: braintree
|
240
|
-
rubygems_version:
|
243
|
+
rubygems_version: 1.8.23
|
241
244
|
signing_key:
|
242
|
-
specification_version:
|
245
|
+
specification_version: 3
|
243
246
|
summary: Braintree Gateway Ruby Client Library
|
244
247
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 2b9a50fd8348652499c6b7efe50df517ad913c6d
|
4
|
-
data.tar.gz: 390ebabadbd1ddd4953ee67e6eb3b2abacb7c1f7
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 28366957919ee3525ec01792309464eb87dbda2f31469b4339360e135df3e49e7e016b41a7a6b51efdd889588d69b47c873fd61898fd76fedd01b3d91954c7a2
|
7
|
-
data.tar.gz: ce9a9172e019fffec235d6da9e2b1195c26d1da4e7f160c5ba4196f84fdd136b364218636a80bdac940104c2859bf402c9024cf5d3ae1a5f9cda8733562c65a2
|
data/spec/httpsd.pid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
18128
|