braintree 2.73.0 → 2.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +1 -1
- data/lib/braintree.rb +6 -0
- data/lib/braintree/connected_merchant_paypal_status_changed.rb +18 -0
- data/lib/braintree/connected_merchant_status_transitioned.rb +18 -0
- data/lib/braintree/credit_card_verification.rb +11 -2
- data/lib/braintree/customer.rb +6 -2
- data/lib/braintree/customer_gateway.rb +8 -0
- data/lib/braintree/masterpass_card.rb +66 -0
- data/lib/braintree/payment_instrument_type.rb +2 -0
- data/lib/braintree/payment_method_gateway.rb +11 -3
- data/lib/braintree/test/nonce.rb +8 -0
- data/lib/braintree/transaction.rb +5 -1
- data/lib/braintree/transaction/masterpass_card_details.rb +33 -0
- data/lib/braintree/transaction/visa_checkout_card_details.rb +33 -0
- data/lib/braintree/util.rb +4 -0
- data/lib/braintree/version.rb +1 -1
- data/lib/braintree/visa_checkout_card.rb +74 -0
- data/lib/braintree/webhook_notification.rb +16 -1
- data/lib/braintree/webhook_testing_gateway.rb +24 -0
- data/spec/httpsd.pid +1 -1
- data/spec/integration/braintree/client_api/spec_helper.rb +16 -1
- data/spec/integration/braintree/customer_spec.rb +58 -0
- data/spec/integration/braintree/masterpass_card_spec.rb +97 -0
- data/spec/integration/braintree/payment_method_spec.rb +30 -2
- data/spec/integration/braintree/visa_checkout_card_spec.rb +110 -0
- data/spec/unit/braintree/credit_card_verification_spec.rb +8 -1
- data/spec/unit/braintree/customer_spec.rb +2 -0
- data/spec/unit/braintree/webhook_notification_spec.rb +34 -0
- metadata +187 -179
@@ -5,6 +5,8 @@ describe Braintree::CreditCardVerification do
|
|
5
5
|
it "is better than the default inspect" do
|
6
6
|
verification = Braintree::CreditCardVerification._new(
|
7
7
|
:status => "verified",
|
8
|
+
:amount => "12.45",
|
9
|
+
:currency_iso_code => "USD",
|
8
10
|
:avs_error_response_code => "I",
|
9
11
|
:avs_postal_code_response_code => "I",
|
10
12
|
:avs_street_address_response_code => "I",
|
@@ -14,7 +16,7 @@ describe Braintree::CreditCardVerification do
|
|
14
16
|
:merchant_account_id => "some_id"
|
15
17
|
)
|
16
18
|
|
17
|
-
verification.inspect.should == %(#<Braintree::CreditCardVerification status: "verified", processor_response_code: "2000", processor_response_text: "Do Not Honor", cvv_response_code: "I", avs_error_response_code: "I", avs_postal_code_response_code: "I", avs_street_address_response_code: "I", merchant_account_id: "some_id", gateway_rejection_reason: nil, id: nil, credit_card: nil, billing: nil, created_at: nil>)
|
19
|
+
verification.inspect.should == %(#<Braintree::CreditCardVerification status: "verified", processor_response_code: "2000", processor_response_text: "Do Not Honor", amount: "12.45", currency_iso_code: "USD", cvv_response_code: "I", avs_error_response_code: "I", avs_postal_code_response_code: "I", avs_street_address_response_code: "I", merchant_account_id: "some_id", gateway_rejection_reason: nil, id: nil, credit_card: nil, billing: nil, created_at: nil>)
|
18
20
|
end
|
19
21
|
|
20
22
|
it "has a status" do
|
@@ -33,6 +35,11 @@ describe Braintree::CreditCardVerification do
|
|
33
35
|
end
|
34
36
|
end
|
35
37
|
|
38
|
+
it "accepts amount as either a String or BigDecimal" do
|
39
|
+
Braintree::CreditCardVerification._new(:amount => "12.34").amount.should == BigDecimal.new("12.34")
|
40
|
+
Braintree::CreditCardVerification._new(:amount => BigDecimal.new("12.34")).amount.should == BigDecimal.new("12.34")
|
41
|
+
end
|
42
|
+
|
36
43
|
describe "self.create" do
|
37
44
|
it "rejects invalid parameters" do
|
38
45
|
expect do
|
@@ -123,6 +123,7 @@ describe Braintree::Customer do
|
|
123
123
|
:billing_agreement_id,
|
124
124
|
{:options => [:make_default]},
|
125
125
|
]},
|
126
|
+
{:options => [:paypal => [:payee_email]]},
|
126
127
|
{:custom_fields => :_any_key_}
|
127
128
|
]
|
128
129
|
end
|
@@ -181,6 +182,7 @@ describe Braintree::Customer do
|
|
181
182
|
{:options => [:update_existing]}
|
182
183
|
]}
|
183
184
|
]},
|
185
|
+
{:options => [:paypal => [:payee_email]]},
|
184
186
|
{:custom_fields => :_any_key_}
|
185
187
|
]
|
186
188
|
end
|
@@ -58,6 +58,40 @@ describe Braintree::WebhookNotification do
|
|
58
58
|
notification.timestamp.should be_within(10).of(Time.now.utc)
|
59
59
|
end
|
60
60
|
|
61
|
+
context "auth" do
|
62
|
+
it "builds a sample notification for a status transitioned webhook" do
|
63
|
+
sample_notification = Braintree::WebhookTesting.sample_notification(
|
64
|
+
Braintree::WebhookNotification::Kind::ConnectedMerchantStatusTransitioned,
|
65
|
+
"my_id"
|
66
|
+
)
|
67
|
+
|
68
|
+
notification = Braintree::WebhookNotification.parse(sample_notification[:bt_signature], sample_notification[:bt_payload])
|
69
|
+
|
70
|
+
notification.kind.should == Braintree::WebhookNotification::Kind::ConnectedMerchantStatusTransitioned
|
71
|
+
|
72
|
+
status_transitioned = notification.connected_merchant_status_transitioned
|
73
|
+
status_transitioned.merchant_public_id.should == "my_id"
|
74
|
+
status_transitioned.oauth_application_client_id.should == "oauth_application_client_id"
|
75
|
+
status_transitioned.status.should == "new_status"
|
76
|
+
end
|
77
|
+
|
78
|
+
it "builds a sample notification for a paypal status changed webhook" do
|
79
|
+
sample_notification = Braintree::WebhookTesting.sample_notification(
|
80
|
+
Braintree::WebhookNotification::Kind::ConnectedMerchantPayPalStatusChanged,
|
81
|
+
"my_id"
|
82
|
+
)
|
83
|
+
|
84
|
+
notification = Braintree::WebhookNotification.parse(sample_notification[:bt_signature], sample_notification[:bt_payload])
|
85
|
+
|
86
|
+
notification.kind.should == Braintree::WebhookNotification::Kind::ConnectedMerchantPayPalStatusChanged
|
87
|
+
|
88
|
+
paypal_status_changed = notification.connected_merchant_paypal_status_changed
|
89
|
+
paypal_status_changed.merchant_public_id.should == "my_id"
|
90
|
+
paypal_status_changed.oauth_application_client_id.should == "oauth_application_client_id"
|
91
|
+
paypal_status_changed.action.should == "link"
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
61
95
|
context "disputes" do
|
62
96
|
it "builds a sample notification for a dispute opened webhook" do
|
63
97
|
sample_notification = Braintree::WebhookTesting.sample_notification(
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.74.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Braintree
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 2.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.0.0
|
27
27
|
description: Ruby library for integrating with the Braintree Gateway
|
@@ -30,220 +30,228 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
- LICENSE
|
34
33
|
- README.rdoc
|
35
|
-
-
|
36
|
-
- lib/braintree.rb
|
37
|
-
- lib/braintree/
|
38
|
-
- lib/braintree/
|
39
|
-
- lib/braintree/
|
40
|
-
- lib/braintree/
|
41
|
-
- lib/braintree/
|
42
|
-
- lib/braintree/
|
43
|
-
- lib/braintree/
|
44
|
-
- lib/braintree/
|
45
|
-
- lib/braintree/
|
34
|
+
- LICENSE
|
35
|
+
- lib/braintree/xml.rb
|
36
|
+
- lib/braintree/exceptions.rb
|
37
|
+
- lib/braintree/plan.rb
|
38
|
+
- lib/braintree/payment_method_gateway.rb
|
39
|
+
- lib/braintree/three_d_secure_info.rb
|
40
|
+
- lib/braintree/ideal_payment.rb
|
41
|
+
- lib/braintree/plan_gateway.rb
|
42
|
+
- lib/braintree/sha256_digest.rb
|
43
|
+
- lib/braintree/paginated_result.rb
|
44
|
+
- lib/braintree/transparent_redirect.rb
|
46
45
|
- lib/braintree/android_pay_card.rb
|
47
|
-
- lib/braintree/apple_pay_card.rb
|
48
|
-
- lib/braintree/base_module.rb
|
49
|
-
- lib/braintree/client_token.rb
|
50
|
-
- lib/braintree/client_token_gateway.rb
|
51
|
-
- lib/braintree/coinbase_account.rb
|
52
|
-
- lib/braintree/configuration.rb
|
53
|
-
- lib/braintree/credentials_parser.rb
|
54
|
-
- lib/braintree/credit_card.rb
|
55
|
-
- lib/braintree/credit_card_gateway.rb
|
56
|
-
- lib/braintree/credit_card_verification.rb
|
57
46
|
- lib/braintree/credit_card_verification_gateway.rb
|
58
|
-
- lib/braintree/credit_card_verification_search.rb
|
59
|
-
- lib/braintree/customer.rb
|
60
|
-
- lib/braintree/customer_gateway.rb
|
61
|
-
- lib/braintree/customer_search.rb
|
62
|
-
- lib/braintree/descriptor.rb
|
63
|
-
- lib/braintree/digest.rb
|
64
|
-
- lib/braintree/disbursement.rb
|
65
|
-
- lib/braintree/discount.rb
|
66
|
-
- lib/braintree/discount_gateway.rb
|
67
|
-
- lib/braintree/dispute.rb
|
68
47
|
- lib/braintree/dispute/transaction_details.rb
|
69
|
-
- lib/braintree/
|
70
|
-
- lib/braintree/error_result.rb
|
71
|
-
- lib/braintree/errors.rb
|
72
|
-
- lib/braintree/europe_bank_account.rb
|
73
|
-
- lib/braintree/europe_bank_account_gateway.rb
|
74
|
-
- lib/braintree/exceptions.rb
|
75
|
-
- lib/braintree/facilitator_details.rb
|
76
|
-
- lib/braintree/gateway.rb
|
48
|
+
- lib/braintree/client_token.rb
|
77
49
|
- lib/braintree/http.rb
|
78
|
-
- lib/braintree/
|
79
|
-
- lib/braintree/
|
50
|
+
- lib/braintree/validation_error.rb
|
51
|
+
- lib/braintree/add_on_gateway.rb
|
52
|
+
- lib/braintree/payment_instrument_type.rb
|
53
|
+
- lib/braintree/customer_gateway.rb
|
80
54
|
- lib/braintree/merchant.rb
|
81
|
-
- lib/braintree/
|
82
|
-
- lib/braintree/
|
83
|
-
- lib/braintree/
|
84
|
-
- lib/braintree/
|
85
|
-
- lib/braintree/
|
86
|
-
- lib/braintree/
|
87
|
-
- lib/braintree/
|
88
|
-
- lib/braintree/
|
89
|
-
- lib/braintree/
|
55
|
+
- lib/braintree/advanced_search.rb
|
56
|
+
- lib/braintree/facilitator_details.rb
|
57
|
+
- lib/braintree/apple_pay_card.rb
|
58
|
+
- lib/braintree/testing_gateway.rb
|
59
|
+
- lib/braintree/ach_mandate.rb
|
60
|
+
- lib/braintree/payment_method_nonce_gateway.rb
|
61
|
+
- lib/braintree/error_codes.rb
|
62
|
+
- lib/braintree/us_bank_account.rb
|
63
|
+
- lib/braintree/unknown_payment_method.rb
|
64
|
+
- lib/braintree/webhook_notification.rb
|
90
65
|
- lib/braintree/oauth_gateway.rb
|
91
66
|
- lib/braintree/paginated_collection.rb
|
92
|
-
- lib/braintree/
|
93
|
-
- lib/braintree/
|
94
|
-
- lib/braintree/
|
95
|
-
- lib/braintree/
|
67
|
+
- lib/braintree/customer_search.rb
|
68
|
+
- lib/braintree/successful_result.rb
|
69
|
+
- lib/braintree/merchant_account.rb
|
70
|
+
- lib/braintree/subscription.rb
|
96
71
|
- lib/braintree/payment_method_nonce.rb
|
97
|
-
- lib/braintree/
|
98
|
-
- lib/braintree/paypal_account.rb
|
72
|
+
- lib/braintree/connected_merchant_status_transitioned.rb
|
99
73
|
- lib/braintree/paypal_account_gateway.rb
|
100
|
-
- lib/braintree/plan.rb
|
101
|
-
- lib/braintree/plan_gateway.rb
|
102
74
|
- lib/braintree/resource_collection.rb
|
103
|
-
- lib/braintree/risk_data.rb
|
104
|
-
- lib/braintree/settlement_batch.rb
|
105
75
|
- lib/braintree/settlement_batch_summary.rb
|
106
|
-
- lib/braintree/
|
107
|
-
- lib/braintree/sha256_digest.rb
|
108
|
-
- lib/braintree/signature_service.rb
|
109
|
-
- lib/braintree/subscription.rb
|
110
|
-
- lib/braintree/subscription/status_details.rb
|
111
|
-
- lib/braintree/subscription_gateway.rb
|
112
|
-
- lib/braintree/subscription_search.rb
|
113
|
-
- lib/braintree/successful_result.rb
|
114
|
-
- lib/braintree/test/credit_card.rb
|
115
|
-
- lib/braintree/test/merchant_account.rb
|
116
|
-
- lib/braintree/test/nonce.rb
|
117
|
-
- lib/braintree/test/transaction_amounts.rb
|
118
|
-
- lib/braintree/test/venmo_sdk.rb
|
119
|
-
- lib/braintree/test_transaction.rb
|
120
|
-
- lib/braintree/testing_gateway.rb
|
121
|
-
- lib/braintree/three_d_secure_info.rb
|
122
|
-
- lib/braintree/transaction.rb
|
76
|
+
- lib/braintree/transaction/venmo_account_details.rb
|
123
77
|
- lib/braintree/transaction/address_details.rb
|
124
|
-
- lib/braintree/transaction/
|
78
|
+
- lib/braintree/transaction/visa_checkout_card_details.rb
|
125
79
|
- lib/braintree/transaction/android_pay_details.rb
|
126
|
-
- lib/braintree/transaction/apple_pay_details.rb
|
127
|
-
- lib/braintree/transaction/coinbase_details.rb
|
128
|
-
- lib/braintree/transaction/credit_card_details.rb
|
129
80
|
- lib/braintree/transaction/customer_details.rb
|
81
|
+
- lib/braintree/transaction/masterpass_card_details.rb
|
82
|
+
- lib/braintree/transaction/apple_pay_details.rb
|
130
83
|
- lib/braintree/transaction/disbursement_details.rb
|
131
|
-
- lib/braintree/transaction/ideal_payment_details.rb
|
132
84
|
- lib/braintree/transaction/paypal_details.rb
|
85
|
+
- lib/braintree/transaction/coinbase_details.rb
|
133
86
|
- lib/braintree/transaction/status_details.rb
|
134
|
-
- lib/braintree/transaction/subscription_details.rb
|
135
87
|
- lib/braintree/transaction/us_bank_account_details.rb
|
136
|
-
- lib/braintree/transaction/
|
137
|
-
- lib/braintree/
|
88
|
+
- lib/braintree/transaction/amex_express_checkout_details.rb
|
89
|
+
- lib/braintree/transaction/subscription_details.rb
|
90
|
+
- lib/braintree/transaction/ideal_payment_details.rb
|
91
|
+
- lib/braintree/transaction/credit_card_details.rb
|
92
|
+
- lib/braintree/merchant_account/address_details.rb
|
93
|
+
- lib/braintree/merchant_account/funding_details.rb
|
94
|
+
- lib/braintree/merchant_account/individual_details.rb
|
95
|
+
- lib/braintree/merchant_account/business_details.rb
|
96
|
+
- lib/braintree/europe_bank_account_gateway.rb
|
97
|
+
- lib/braintree/venmo_account.rb
|
138
98
|
- lib/braintree/transaction_search.rb
|
139
|
-
- lib/braintree/
|
140
|
-
- lib/braintree/
|
141
|
-
- lib/braintree/
|
142
|
-
- lib/braintree/
|
99
|
+
- lib/braintree/coinbase_account.rb
|
100
|
+
- lib/braintree/settlement_batch.rb
|
101
|
+
- lib/braintree/credit_card_verification.rb
|
102
|
+
- lib/braintree/discount.rb
|
103
|
+
- lib/braintree/address.rb
|
104
|
+
- lib/braintree/digest.rb
|
105
|
+
- lib/braintree/ideal_payment_gateway.rb
|
106
|
+
- lib/braintree/disbursement.rb
|
107
|
+
- lib/braintree/test/merchant_account.rb
|
108
|
+
- lib/braintree/test/venmo_sdk.rb
|
109
|
+
- lib/braintree/test/nonce.rb
|
110
|
+
- lib/braintree/test/transaction_amounts.rb
|
111
|
+
- lib/braintree/test/credit_card.rb
|
112
|
+
- lib/braintree/address/country_names.rb
|
113
|
+
- lib/braintree/webhook_testing.rb
|
114
|
+
- lib/braintree/error_result.rb
|
115
|
+
- lib/braintree/paypal_account.rb
|
116
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
117
|
+
- lib/braintree/merchant_gateway.rb
|
143
118
|
- lib/braintree/us_bank_account_gateway.rb
|
144
|
-
- lib/braintree/
|
145
|
-
- lib/braintree/
|
146
|
-
- lib/braintree/
|
147
|
-
- lib/braintree/
|
148
|
-
- lib/braintree/
|
149
|
-
- lib/braintree/
|
119
|
+
- lib/braintree/transaction_gateway.rb
|
120
|
+
- lib/braintree/amex_express_checkout_card.rb
|
121
|
+
- lib/braintree/europe_bank_account.rb
|
122
|
+
- lib/braintree/subscription/status_details.rb
|
123
|
+
- lib/braintree/payment_method.rb
|
124
|
+
- lib/braintree/subscription_gateway.rb
|
125
|
+
- lib/braintree/transparent_redirect_gateway.rb
|
126
|
+
- lib/braintree/credit_card_verification_search.rb
|
127
|
+
- lib/braintree/masterpass_card.rb
|
128
|
+
- lib/braintree/add_on.rb
|
129
|
+
- lib/braintree/transaction.rb
|
130
|
+
- lib/braintree/credit_card.rb
|
131
|
+
- lib/braintree/descriptor.rb
|
132
|
+
- lib/braintree/credentials_parser.rb
|
133
|
+
- lib/braintree/address_gateway.rb
|
134
|
+
- lib/braintree/signature_service.rb
|
150
135
|
- lib/braintree/webhook_notification_gateway.rb
|
151
|
-
- lib/braintree/
|
152
|
-
- lib/braintree/
|
153
|
-
- lib/braintree/
|
154
|
-
- lib/braintree/xml/generator.rb
|
155
|
-
- lib/braintree/xml/libxml.rb
|
136
|
+
- lib/braintree/connected_merchant_paypal_status_changed.rb
|
137
|
+
- lib/braintree/account_updater_daily_report.rb
|
138
|
+
- lib/braintree/configuration.rb
|
156
139
|
- lib/braintree/xml/parser.rb
|
140
|
+
- lib/braintree/xml/generator.rb
|
157
141
|
- lib/braintree/xml/rexml.rb
|
158
|
-
- lib/
|
142
|
+
- lib/braintree/xml/libxml.rb
|
143
|
+
- lib/braintree/test_transaction.rb
|
144
|
+
- lib/braintree/customer.rb
|
145
|
+
- lib/braintree/base_module.rb
|
146
|
+
- lib/braintree/merchant_account_gateway.rb
|
147
|
+
- lib/braintree/credit_card_gateway.rb
|
148
|
+
- lib/braintree/errors.rb
|
149
|
+
- lib/braintree/util.rb
|
150
|
+
- lib/braintree/validation_error_collection.rb
|
151
|
+
- lib/braintree/risk_data.rb
|
152
|
+
- lib/braintree/gateway.rb
|
153
|
+
- lib/braintree/visa_checkout_card.rb
|
154
|
+
- lib/braintree/webhook_testing_gateway.rb
|
155
|
+
- lib/braintree/client_token_gateway.rb
|
156
|
+
- lib/braintree/discount_gateway.rb
|
157
|
+
- lib/braintree/version.rb
|
158
|
+
- lib/braintree/subscription_search.rb
|
159
|
+
- lib/braintree/dispute.rb
|
160
|
+
- lib/braintree/oauth_credentials.rb
|
161
|
+
- lib/braintree/modification.rb
|
162
|
+
- lib/braintree.rb
|
159
163
|
- lib/ssl/securetrust_ca.crt
|
164
|
+
- lib/ssl/api_braintreegateway_com.ca.crt
|
165
|
+
- spec/spec.opts
|
160
166
|
- spec/hacks/tcp_socket.rb
|
161
|
-
- spec/httpsd.pid
|
162
|
-
- spec/integration/braintree/add_on_spec.rb
|
163
|
-
- spec/integration/braintree/address_spec.rb
|
164
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
165
|
-
- spec/integration/braintree/client_api/client_token_spec.rb
|
166
|
-
- spec/integration/braintree/client_api/spec_helper.rb
|
167
|
-
- spec/integration/braintree/coinbase_spec.rb
|
168
|
-
- spec/integration/braintree/credit_card_spec.rb
|
169
|
-
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
170
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
171
|
-
- spec/integration/braintree/customer_search_spec.rb
|
172
|
-
- spec/integration/braintree/customer_spec.rb
|
173
|
-
- spec/integration/braintree/disbursement_spec.rb
|
174
|
-
- spec/integration/braintree/discount_spec.rb
|
175
|
-
- spec/integration/braintree/error_codes_spec.rb
|
176
|
-
- spec/integration/braintree/http_spec.rb
|
177
|
-
- spec/integration/braintree/ideal_payment_spec.rb
|
178
|
-
- spec/integration/braintree/merchant_account_spec.rb
|
179
|
-
- spec/integration/braintree/merchant_spec.rb
|
180
|
-
- spec/integration/braintree/oauth_spec.rb
|
181
|
-
- spec/integration/braintree/payment_method_nonce_spec.rb
|
182
|
-
- spec/integration/braintree/payment_method_spec.rb
|
183
|
-
- spec/integration/braintree/paypal_account_spec.rb
|
184
|
-
- spec/integration/braintree/plan_spec.rb
|
185
|
-
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
186
|
-
- spec/integration/braintree/subscription_spec.rb
|
187
|
-
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
188
|
-
- spec/integration/braintree/test_transaction_spec.rb
|
189
|
-
- spec/integration/braintree/transaction_search_spec.rb
|
190
|
-
- spec/integration/braintree/transaction_spec.rb
|
191
|
-
- spec/integration/braintree/transparent_redirect_spec.rb
|
192
|
-
- spec/integration/braintree/us_bank_account_spec.rb
|
193
|
-
- spec/integration/spec_helper.rb
|
194
|
-
- spec/oauth_test_helper.rb
|
195
167
|
- spec/script/httpsd.rb
|
196
|
-
- spec/spec.opts
|
197
168
|
- spec/spec_helper.rb
|
198
|
-
- spec/
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/unit/braintree/address_spec.rb
|
202
|
-
- spec/unit/braintree/apple_pay_card_spec.rb
|
169
|
+
- spec/unit/spec_helper.rb
|
170
|
+
- spec/unit/braintree_spec.rb
|
171
|
+
- spec/unit/braintree/transaction_search_spec.rb
|
203
172
|
- spec/unit/braintree/base_module_spec.rb
|
204
|
-
- spec/unit/braintree/
|
205
|
-
- spec/unit/braintree/
|
206
|
-
- spec/unit/braintree/
|
207
|
-
- spec/unit/braintree/
|
173
|
+
- spec/unit/braintree/xml_spec.rb
|
174
|
+
- spec/unit/braintree/subscription_spec.rb
|
175
|
+
- spec/unit/braintree/signature_service_spec.rb
|
176
|
+
- spec/unit/braintree/dispute_spec.rb
|
208
177
|
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
209
|
-
- spec/unit/braintree/credit_card_verification_spec.rb
|
210
|
-
- spec/unit/braintree/customer_spec.rb
|
211
|
-
- spec/unit/braintree/digest_spec.rb
|
212
178
|
- spec/unit/braintree/disbursement_spec.rb
|
213
|
-
- spec/unit/braintree/
|
214
|
-
- spec/unit/braintree/error_result_spec.rb
|
215
|
-
- spec/unit/braintree/errors_spec.rb
|
216
|
-
- spec/unit/braintree/http_spec.rb
|
217
|
-
- spec/unit/braintree/merchant_account_spec.rb
|
179
|
+
- spec/unit/braintree/configuration_spec.rb
|
218
180
|
- spec/unit/braintree/modification_spec.rb
|
219
|
-
- spec/unit/braintree/
|
181
|
+
- spec/unit/braintree/transaction_spec.rb
|
182
|
+
- spec/unit/braintree/error_result_spec.rb
|
220
183
|
- spec/unit/braintree/paypal_account_spec.rb
|
221
|
-
- spec/unit/braintree/
|
222
|
-
- spec/unit/braintree/
|
223
|
-
- spec/unit/braintree/sha256_digest_spec.rb
|
224
|
-
- spec/unit/braintree/signature_service_spec.rb
|
184
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
185
|
+
- spec/unit/braintree/apple_pay_card_spec.rb
|
225
186
|
- spec/unit/braintree/subscription_search_spec.rb
|
226
|
-
- spec/unit/braintree/subscription_spec.rb
|
227
|
-
- spec/unit/braintree/successful_result_spec.rb
|
228
187
|
- spec/unit/braintree/three_d_secure_info_spec.rb
|
229
|
-
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
230
188
|
- spec/unit/braintree/transaction/customer_details_spec.rb
|
231
189
|
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
232
|
-
- spec/unit/braintree/
|
233
|
-
- spec/unit/braintree/transaction_spec.rb
|
190
|
+
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
234
191
|
- spec/unit/braintree/transparent_redirect_spec.rb
|
235
|
-
- spec/unit/braintree/
|
236
|
-
- spec/unit/braintree/
|
192
|
+
- spec/unit/braintree/errors_spec.rb
|
193
|
+
- spec/unit/braintree/digest_spec.rb
|
194
|
+
- spec/unit/braintree/http_spec.rb
|
195
|
+
- spec/unit/braintree/successful_result_spec.rb
|
237
196
|
- spec/unit/braintree/util_spec.rb
|
238
|
-
- spec/unit/braintree/validation_error_collection_spec.rb
|
239
197
|
- spec/unit/braintree/validation_error_spec.rb
|
240
|
-
- spec/unit/braintree/
|
241
|
-
- spec/unit/braintree/
|
198
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
199
|
+
- spec/unit/braintree/address_spec.rb
|
200
|
+
- spec/unit/braintree/unknown_payment_method_spec.rb
|
201
|
+
- spec/unit/braintree/credentials_parser_spec.rb
|
202
|
+
- spec/unit/braintree/risk_data_spec.rb
|
203
|
+
- spec/unit/braintree/customer_spec.rb
|
242
204
|
- spec/unit/braintree/xml/parser_spec.rb
|
243
205
|
- spec/unit/braintree/xml/rexml_spec.rb
|
244
|
-
- spec/unit/braintree/
|
245
|
-
- spec/unit/
|
246
|
-
- spec/unit/
|
206
|
+
- spec/unit/braintree/xml/libxml_spec.rb
|
207
|
+
- spec/unit/braintree/us_bank_account_spec.rb
|
208
|
+
- spec/unit/braintree/validation_error_collection_spec.rb
|
209
|
+
- spec/unit/braintree/client_token_spec.rb
|
210
|
+
- spec/unit/braintree/webhook_notification_spec.rb
|
211
|
+
- spec/unit/braintree/payment_method_spec.rb
|
212
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
213
|
+
- spec/unit/braintree/resource_collection_spec.rb
|
214
|
+
- spec/unit/braintree/credit_card_spec.rb
|
215
|
+
- spec/integration/spec_helper.rb
|
216
|
+
- spec/integration/braintree/transaction_search_spec.rb
|
217
|
+
- spec/integration/braintree/subscription_spec.rb
|
218
|
+
- spec/integration/braintree/visa_checkout_card_spec.rb
|
219
|
+
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
220
|
+
- spec/integration/braintree/disbursement_spec.rb
|
221
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
222
|
+
- spec/integration/braintree/client_api/client_token_spec.rb
|
223
|
+
- spec/integration/braintree/discount_spec.rb
|
224
|
+
- spec/integration/braintree/transaction_spec.rb
|
225
|
+
- spec/integration/braintree/payment_method_nonce_spec.rb
|
226
|
+
- spec/integration/braintree/oauth_spec.rb
|
227
|
+
- spec/integration/braintree/customer_search_spec.rb
|
228
|
+
- spec/integration/braintree/paypal_account_spec.rb
|
229
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
230
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
231
|
+
- spec/integration/braintree/test_transaction_spec.rb
|
232
|
+
- spec/integration/braintree/http_spec.rb
|
233
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
234
|
+
- spec/integration/braintree/merchant_spec.rb
|
235
|
+
- spec/integration/braintree/ideal_payment_spec.rb
|
236
|
+
- spec/integration/braintree/address_spec.rb
|
237
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
238
|
+
- spec/integration/braintree/customer_spec.rb
|
239
|
+
- spec/integration/braintree/us_bank_account_spec.rb
|
240
|
+
- spec/integration/braintree/coinbase_spec.rb
|
241
|
+
- spec/integration/braintree/payment_method_spec.rb
|
242
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
243
|
+
- spec/integration/braintree/plan_spec.rb
|
244
|
+
- spec/integration/braintree/masterpass_card_spec.rb
|
245
|
+
- spec/integration/braintree/add_on_spec.rb
|
246
|
+
- spec/integration/braintree/error_codes_spec.rb
|
247
|
+
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
248
|
+
- spec/integration/braintree/credit_card_spec.rb
|
249
|
+
- spec/httpsd.pid
|
250
|
+
- spec/ssl/geotrust_global.crt
|
251
|
+
- spec/ssl/certificate.crt
|
252
|
+
- spec/ssl/privateKey.key
|
253
|
+
- spec/oauth_test_helper.rb
|
254
|
+
- braintree.gemspec
|
247
255
|
homepage: http://www.braintreepayments.com/
|
248
256
|
licenses:
|
249
257
|
- MIT
|
@@ -254,17 +262,17 @@ require_paths:
|
|
254
262
|
- lib
|
255
263
|
required_ruby_version: !ruby/object:Gem::Requirement
|
256
264
|
requirements:
|
257
|
-
- -
|
265
|
+
- - '>='
|
258
266
|
- !ruby/object:Gem::Version
|
259
267
|
version: '0'
|
260
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
269
|
requirements:
|
262
|
-
- -
|
270
|
+
- - '>='
|
263
271
|
- !ruby/object:Gem::Version
|
264
272
|
version: '0'
|
265
273
|
requirements: []
|
266
274
|
rubyforge_project: braintree
|
267
|
-
rubygems_version: 2.
|
275
|
+
rubygems_version: 2.1.11
|
268
276
|
signing_key:
|
269
277
|
specification_version: 4
|
270
278
|
summary: Braintree Gateway Ruby Client Library
|