braintree 2.32.1 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/braintree.rb +1 -0
- data/lib/braintree/descriptor.rb +1 -1
- data/lib/braintree/dispute.rb +3 -0
- data/lib/braintree/dispute/transaction_details.rb +14 -0
- data/lib/braintree/error_codes.rb +1 -0
- data/lib/braintree/payment_method.rb +4 -0
- data/lib/braintree/payment_method_gateway.rb +46 -6
- data/lib/braintree/paypal_account.rb +2 -1
- data/lib/braintree/subscription_gateway.rb +2 -2
- data/lib/braintree/transaction_gateway.rb +1 -1
- data/lib/braintree/version.rb +2 -2
- data/lib/braintree/webhook_notification.rb +7 -1
- data/lib/braintree/webhook_testing_gateway.rb +63 -0
- data/spec/httpsd.pid +1 -0
- data/spec/integration/braintree/client_api/client_token_spec.rb +1 -1
- data/spec/integration/braintree/payment_method_spec.rb +586 -0
- data/spec/integration/braintree/paypal_account_spec.rb +30 -0
- data/spec/integration/braintree/subscription_spec.rb +7 -3
- data/spec/integration/braintree/transaction_spec.rb +8 -2
- data/spec/unit/braintree/webhook_notification_spec.rb +47 -0
- metadata +134 -132
@@ -46,6 +46,36 @@ describe Braintree::PayPalAccount do
|
|
46
46
|
Braintree::PayPalAccount.find("CREDIT_CARD_TOKEN")
|
47
47
|
end.to raise_error(Braintree::NotFoundError)
|
48
48
|
end
|
49
|
+
|
50
|
+
it "returns subscriptions associated with a paypal account" do
|
51
|
+
customer = Braintree::Customer.create!
|
52
|
+
payment_method_token = "paypal-account-#{Time.now.to_i}"
|
53
|
+
|
54
|
+
nonce = nonce_for_paypal_account(
|
55
|
+
:consent_code => "consent-code",
|
56
|
+
:token => payment_method_token
|
57
|
+
)
|
58
|
+
result = Braintree::PaymentMethod.create(
|
59
|
+
:payment_method_nonce => nonce,
|
60
|
+
:customer_id => customer.id
|
61
|
+
)
|
62
|
+
result.should be_success
|
63
|
+
|
64
|
+
token = result.payment_method.token
|
65
|
+
|
66
|
+
subscription1 = Braintree::Subscription.create(
|
67
|
+
:payment_method_token => token,
|
68
|
+
:plan_id => SpecHelper::TriallessPlan[:id]
|
69
|
+
).subscription
|
70
|
+
|
71
|
+
subscription2 = Braintree::Subscription.create(
|
72
|
+
:payment_method_token => token,
|
73
|
+
:plan_id => SpecHelper::TriallessPlan[:id]
|
74
|
+
).subscription
|
75
|
+
|
76
|
+
paypal_account = Braintree::PayPalAccount.find(token)
|
77
|
+
paypal_account.subscriptions.map(&:id).sort.should == [subscription1.id, subscription2.id].sort
|
78
|
+
end
|
49
79
|
end
|
50
80
|
|
51
81
|
describe "self.update" do
|
@@ -13,7 +13,7 @@ describe Braintree::Subscription do
|
|
13
13
|
end
|
14
14
|
|
15
15
|
describe "self.create" do
|
16
|
-
it "is successful with a
|
16
|
+
it "is successful with a minimum of params" do
|
17
17
|
result = Braintree::Subscription.create(
|
18
18
|
:payment_method_token => @credit_card.token,
|
19
19
|
:plan_id => SpecHelper::TriallessPlan[:id]
|
@@ -625,12 +625,14 @@ describe Braintree::Subscription do
|
|
625
625
|
:plan_id => SpecHelper::TriallessPlan[:id],
|
626
626
|
:descriptor => {
|
627
627
|
:name => 'badcompanyname12*badproduct12',
|
628
|
-
:phone => '%bad4445555'
|
628
|
+
:phone => '%bad4445555',
|
629
|
+
:url => "12345678901234"
|
629
630
|
}
|
630
631
|
)
|
631
632
|
result.success?.should == false
|
632
633
|
result.errors.for(:subscription).for(:descriptor).on(:name)[0].code.should == Braintree::ErrorCodes::Descriptor::NameFormatIsInvalid
|
633
634
|
result.errors.for(:subscription).for(:descriptor).on(:phone)[0].code.should == Braintree::ErrorCodes::Descriptor::PhoneFormatIsInvalid
|
635
|
+
result.errors.for(:subscription).for(:descriptor).on(:url)[0].code.should == Braintree::ErrorCodes::Descriptor::UrlFormatIsInvalid
|
634
636
|
end
|
635
637
|
end
|
636
638
|
end
|
@@ -740,13 +742,15 @@ describe Braintree::Subscription do
|
|
740
742
|
result = Braintree::Subscription.update(@subscription.id,
|
741
743
|
:descriptor => {
|
742
744
|
:name => 'aaa*1234',
|
743
|
-
:phone => '3334443333'
|
745
|
+
:phone => '3334443333',
|
746
|
+
:url => "ebay.com"
|
744
747
|
}
|
745
748
|
)
|
746
749
|
|
747
750
|
result.success?.should == true
|
748
751
|
result.subscription.descriptor.name.should == 'aaa*1234'
|
749
752
|
result.subscription.descriptor.phone.should == '3334443333'
|
753
|
+
result.subscription.descriptor.url.should == 'ebay.com'
|
750
754
|
end
|
751
755
|
|
752
756
|
context "when successful" do
|
@@ -901,12 +901,14 @@ describe Braintree::Transaction do
|
|
901
901
|
},
|
902
902
|
:descriptor => {
|
903
903
|
:name => '123*123456789012345678',
|
904
|
-
:phone => '3334445555'
|
904
|
+
:phone => '3334445555',
|
905
|
+
:url => "ebay.com"
|
905
906
|
}
|
906
907
|
)
|
907
908
|
result.success?.should == true
|
908
909
|
result.transaction.descriptor.name.should == '123*123456789012345678'
|
909
910
|
result.transaction.descriptor.phone.should == '3334445555'
|
911
|
+
result.transaction.descriptor.url.should == 'ebay.com'
|
910
912
|
end
|
911
913
|
|
912
914
|
it "has validation errors if format is invalid" do
|
@@ -918,12 +920,14 @@ describe Braintree::Transaction do
|
|
918
920
|
},
|
919
921
|
:descriptor => {
|
920
922
|
:name => 'badcompanyname12*badproduct12',
|
921
|
-
:phone => '%bad4445555'
|
923
|
+
:phone => '%bad4445555',
|
924
|
+
:url => '12345678901234'
|
922
925
|
}
|
923
926
|
)
|
924
927
|
result.success?.should == false
|
925
928
|
result.errors.for(:transaction).for(:descriptor).on(:name)[0].code.should == Braintree::ErrorCodes::Descriptor::NameFormatIsInvalid
|
926
929
|
result.errors.for(:transaction).for(:descriptor).on(:phone)[0].code.should == Braintree::ErrorCodes::Descriptor::PhoneFormatIsInvalid
|
930
|
+
result.errors.for(:transaction).for(:descriptor).on(:url)[0].code.should == Braintree::ErrorCodes::Descriptor::UrlFormatIsInvalid
|
927
931
|
end
|
928
932
|
end
|
929
933
|
|
@@ -2650,6 +2654,8 @@ describe Braintree::Transaction do
|
|
2650
2654
|
dispute.currency_iso_code.should == "USD"
|
2651
2655
|
dispute.reason.should == Braintree::Dispute::Reason::Fraud
|
2652
2656
|
dispute.status.should == Braintree::Dispute::Status::Won
|
2657
|
+
dispute.transaction_details.amount.should == Braintree::Util.to_big_decimal("1000.00")
|
2658
|
+
dispute.transaction_details.id.should == "disputedtransaction"
|
2653
2659
|
end
|
2654
2660
|
|
2655
2661
|
it "is not disputed" do
|
@@ -58,6 +58,53 @@ describe Braintree::WebhookNotification do
|
|
58
58
|
notification.timestamp.should be_close(Time.now.utc, 10)
|
59
59
|
end
|
60
60
|
|
61
|
+
context "disputes" do
|
62
|
+
it "builds a sample notification for a dispute opened webhook" do
|
63
|
+
signature, payload = Braintree::WebhookTesting.sample_notification(
|
64
|
+
Braintree::WebhookNotification::Kind::DisputeOpened,
|
65
|
+
"my_id"
|
66
|
+
)
|
67
|
+
|
68
|
+
notification = Braintree::WebhookNotification.parse(signature, payload)
|
69
|
+
|
70
|
+
notification.kind.should == Braintree::WebhookNotification::Kind::DisputeOpened
|
71
|
+
|
72
|
+
dispute = notification.dispute
|
73
|
+
dispute.status.should == Braintree::Dispute::Status::Open
|
74
|
+
dispute.id.should == "my_id"
|
75
|
+
end
|
76
|
+
|
77
|
+
it "builds a sample notification for a dispute lost webhook" do
|
78
|
+
signature, payload = Braintree::WebhookTesting.sample_notification(
|
79
|
+
Braintree::WebhookNotification::Kind::DisputeLost,
|
80
|
+
"my_id"
|
81
|
+
)
|
82
|
+
|
83
|
+
notification = Braintree::WebhookNotification.parse(signature, payload)
|
84
|
+
|
85
|
+
notification.kind.should == Braintree::WebhookNotification::Kind::DisputeLost
|
86
|
+
|
87
|
+
dispute = notification.dispute
|
88
|
+
dispute.status.should == Braintree::Dispute::Status::Lost
|
89
|
+
dispute.id.should == "my_id"
|
90
|
+
end
|
91
|
+
|
92
|
+
it "builds a sample notification for a dispute won webhook" do
|
93
|
+
signature, payload = Braintree::WebhookTesting.sample_notification(
|
94
|
+
Braintree::WebhookNotification::Kind::DisputeWon,
|
95
|
+
"my_id"
|
96
|
+
)
|
97
|
+
|
98
|
+
notification = Braintree::WebhookNotification.parse(signature, payload)
|
99
|
+
|
100
|
+
notification.kind.should == Braintree::WebhookNotification::Kind::DisputeWon
|
101
|
+
|
102
|
+
dispute = notification.dispute
|
103
|
+
dispute.status.should == Braintree::Dispute::Status::Won
|
104
|
+
dispute.id.should == "my_id"
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
61
108
|
context "disbursement" do
|
62
109
|
it "builds a sample notification for a transaction disbursed webhook" do
|
63
110
|
signature, payload = Braintree::WebhookTesting.sample_notification(
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.33.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
@@ -35,174 +35,176 @@ extra_rdoc_files: []
|
|
35
35
|
files:
|
36
36
|
- README.rdoc
|
37
37
|
- LICENSE
|
38
|
-
- lib/braintree/
|
39
|
-
- lib/braintree/payment_method_gateway.rb
|
40
|
-
- lib/braintree/base_module.rb
|
41
|
-
- lib/braintree/settlement_batch_summary_gateway.rb
|
42
|
-
- lib/braintree/credit_card_verification_search.rb
|
43
|
-
- lib/braintree/merchant_account_gateway.rb
|
44
|
-
- lib/braintree/xml.rb
|
45
|
-
- lib/braintree/unknown_payment_method.rb
|
46
|
-
- lib/braintree/sepa_bank_account_gateway.rb
|
47
|
-
- lib/braintree/resource_collection.rb
|
48
|
-
- lib/braintree/client_token_gateway.rb
|
49
|
-
- lib/braintree/error_codes.rb
|
50
|
-
- lib/braintree/errors.rb
|
51
|
-
- lib/braintree/discount_gateway.rb
|
52
|
-
- lib/braintree/webhook_notification_gateway.rb
|
53
|
-
- lib/braintree/customer.rb
|
54
|
-
- lib/braintree/transaction_gateway.rb
|
55
|
-
- lib/braintree/error_result.rb
|
56
|
-
- lib/braintree/merchant_account/funding_details.rb
|
57
|
-
- lib/braintree/merchant_account/business_details.rb
|
58
|
-
- lib/braintree/merchant_account/address_details.rb
|
59
|
-
- lib/braintree/merchant_account/individual_details.rb
|
60
|
-
- lib/braintree/sha256_digest.rb
|
38
|
+
- lib/braintree/sepa_bank_account.rb
|
61
39
|
- lib/braintree/settlement_batch.rb
|
40
|
+
- lib/braintree/payment_method_gateway.rb
|
62
41
|
- lib/braintree/webhook_testing_gateway.rb
|
63
|
-
- lib/braintree/http.rb
|
64
42
|
- lib/braintree/add_on_gateway.rb
|
65
|
-
- lib/braintree/
|
66
|
-
- lib/braintree/customer_gateway.rb
|
67
|
-
- lib/braintree/signature_service.rb
|
68
|
-
- lib/braintree/sepa_bank_account.rb
|
69
|
-
- lib/braintree/paypal_account_gateway.rb
|
70
|
-
- lib/braintree/credit_card_verification_gateway.rb
|
71
|
-
- lib/braintree/payment_instrument_type.rb
|
43
|
+
- lib/braintree/subscription_search.rb
|
72
44
|
- lib/braintree/credit_card.rb
|
45
|
+
- lib/braintree/credit_card_verification_search.rb
|
46
|
+
- lib/braintree/unknown_payment_method.rb
|
47
|
+
- lib/braintree/webhook_testing.rb
|
48
|
+
- lib/braintree/xml.rb
|
49
|
+
- lib/braintree/error_result.rb
|
50
|
+
- lib/braintree/webhook_notification_gateway.rb
|
51
|
+
- lib/braintree/transaction/status_details.rb
|
52
|
+
- lib/braintree/transaction/subscription_details.rb
|
53
|
+
- lib/braintree/transaction/address_details.rb
|
73
54
|
- lib/braintree/transaction/paypal_details.rb
|
74
55
|
- lib/braintree/transaction/disbursement_details.rb
|
75
|
-
- lib/braintree/transaction/address_details.rb
|
76
|
-
- lib/braintree/transaction/subscription_details.rb
|
77
56
|
- lib/braintree/transaction/customer_details.rb
|
78
57
|
- lib/braintree/transaction/credit_card_details.rb
|
79
|
-
- lib/braintree/
|
80
|
-
- lib/braintree/successful_result.rb
|
81
|
-
- lib/braintree/discount.rb
|
82
|
-
- lib/braintree/subscription_search.rb
|
83
|
-
- lib/braintree/test_transaction.rb
|
84
|
-
- lib/braintree/disbursement.rb
|
85
|
-
- lib/braintree/credit_card_verification.rb
|
86
|
-
- lib/braintree/dispute.rb
|
87
|
-
- lib/braintree/customer_search.rb
|
58
|
+
- lib/braintree/address/country_names.rb
|
88
59
|
- lib/braintree/modification.rb
|
89
|
-
- lib/braintree/
|
60
|
+
- lib/braintree/transaction_search.rb
|
61
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
62
|
+
- lib/braintree/add_on.rb
|
63
|
+
- lib/braintree/configuration.rb
|
64
|
+
- lib/braintree/advanced_search.rb
|
65
|
+
- lib/braintree/plan.rb
|
90
66
|
- lib/braintree/merchant_account.rb
|
91
|
-
- lib/braintree/
|
92
|
-
- lib/braintree/
|
67
|
+
- lib/braintree/digest.rb
|
68
|
+
- lib/braintree/client_token.rb
|
69
|
+
- lib/braintree/dispute.rb
|
70
|
+
- lib/braintree/xml/parser.rb
|
71
|
+
- lib/braintree/xml/libxml.rb
|
72
|
+
- lib/braintree/xml/rexml.rb
|
73
|
+
- lib/braintree/xml/generator.rb
|
74
|
+
- lib/braintree/client_token_gateway.rb
|
75
|
+
- lib/braintree/webhook_notification.rb
|
76
|
+
- lib/braintree/error_codes.rb
|
77
|
+
- lib/braintree/customer_search.rb
|
78
|
+
- lib/braintree/discount.rb
|
79
|
+
- lib/braintree/discount_gateway.rb
|
80
|
+
- lib/braintree/credit_card_verification_gateway.rb
|
81
|
+
- lib/braintree/subscription.rb
|
82
|
+
- lib/braintree/http.rb
|
83
|
+
- lib/braintree/validation_error.rb
|
84
|
+
- lib/braintree/plan_gateway.rb
|
85
|
+
- lib/braintree/credit_card_verification.rb
|
86
|
+
- lib/braintree/sepa_bank_account_gateway.rb
|
87
|
+
- lib/braintree/util.rb
|
88
|
+
- lib/braintree/settlement_batch_summary.rb
|
89
|
+
- lib/braintree/merchant_account/individual_details.rb
|
90
|
+
- lib/braintree/merchant_account/address_details.rb
|
91
|
+
- lib/braintree/merchant_account/business_details.rb
|
92
|
+
- lib/braintree/merchant_account/funding_details.rb
|
93
|
+
- lib/braintree/paypal_account.rb
|
93
94
|
- lib/braintree/test/credit_card.rb
|
94
95
|
- lib/braintree/test/merchant_account.rb
|
96
|
+
- lib/braintree/test/nonce.rb
|
95
97
|
- lib/braintree/test/transaction_amounts.rb
|
96
|
-
- lib/braintree/
|
97
|
-
- lib/braintree/
|
98
|
-
- lib/braintree/
|
99
|
-
- lib/braintree/
|
100
|
-
- lib/braintree/
|
101
|
-
- lib/braintree/
|
102
|
-
- lib/braintree/
|
98
|
+
- lib/braintree/test/venmo_sdk.rb
|
99
|
+
- lib/braintree/customer_gateway.rb
|
100
|
+
- lib/braintree/gateway.rb
|
101
|
+
- lib/braintree/merchant_account_gateway.rb
|
102
|
+
- lib/braintree/transaction_gateway.rb
|
103
|
+
- lib/braintree/test_transaction.rb
|
104
|
+
- lib/braintree/descriptor.rb
|
105
|
+
- lib/braintree/transparent_redirect.rb
|
103
106
|
- lib/braintree/exceptions.rb
|
107
|
+
- lib/braintree/customer.rb
|
108
|
+
- lib/braintree/errors.rb
|
104
109
|
- lib/braintree/transaction.rb
|
105
|
-
- lib/braintree/transaction_search.rb
|
106
|
-
- lib/braintree/configuration.rb
|
107
|
-
- lib/braintree/subscription_gateway.rb
|
108
110
|
- lib/braintree/address_gateway.rb
|
109
|
-
- lib/braintree/
|
110
|
-
- lib/braintree/
|
111
|
+
- lib/braintree/payment_instrument_type.rb
|
112
|
+
- lib/braintree/disbursement.rb
|
113
|
+
- lib/braintree/sha256_digest.rb
|
114
|
+
- lib/braintree/payment_method.rb
|
115
|
+
- lib/braintree/base_module.rb
|
116
|
+
- lib/braintree/paypal_account_gateway.rb
|
117
|
+
- lib/braintree/signature_service.rb
|
118
|
+
- lib/braintree/address.rb
|
111
119
|
- lib/braintree/transparent_redirect_gateway.rb
|
112
120
|
- lib/braintree/credit_card_gateway.rb
|
113
|
-
- lib/braintree/
|
114
|
-
- lib/braintree/
|
115
|
-
- lib/braintree/
|
116
|
-
- lib/braintree/
|
117
|
-
- lib/braintree/
|
118
|
-
- lib/braintree/xml/rexml.rb
|
119
|
-
- lib/braintree/xml/libxml.rb
|
120
|
-
- lib/braintree/xml/parser.rb
|
121
|
-
- lib/braintree/xml/generator.rb
|
122
|
-
- lib/braintree/settlement_batch_summary.rb
|
121
|
+
- lib/braintree/version.rb
|
122
|
+
- lib/braintree/subscription_gateway.rb
|
123
|
+
- lib/braintree/successful_result.rb
|
124
|
+
- lib/braintree/validation_error_collection.rb
|
125
|
+
- lib/braintree/dispute/transaction_details.rb
|
123
126
|
- lib/braintree/testing_gateway.rb
|
124
|
-
- lib/braintree/
|
125
|
-
- lib/braintree/address.rb
|
126
|
-
- lib/braintree/transparent_redirect.rb
|
127
|
+
- lib/braintree/resource_collection.rb
|
127
128
|
- lib/braintree.rb
|
128
|
-
- lib/ssl/securetrust_ca.crt
|
129
129
|
- lib/ssl/api_braintreegateway_com.ca.crt
|
130
|
-
- lib/ssl/www_braintreegateway_com.ca.crt
|
131
130
|
- lib/ssl/sandbox_braintreegateway_com.ca.crt
|
132
|
-
-
|
133
|
-
-
|
134
|
-
- spec/hacks/tcp_socket.rb
|
135
|
-
- spec/integration/braintree/transaction_spec.rb
|
136
|
-
- spec/integration/braintree/disbursement_spec.rb
|
137
|
-
- spec/integration/braintree/customer_spec.rb
|
138
|
-
- spec/integration/braintree/transparent_redirect_spec.rb
|
139
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
140
|
-
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
141
|
-
- spec/integration/braintree/http_spec.rb
|
142
|
-
- spec/integration/braintree/discount_spec.rb
|
143
|
-
- spec/integration/braintree/plan_spec.rb
|
144
|
-
- spec/integration/braintree/client_api/spec_helper.rb
|
145
|
-
- spec/integration/braintree/client_api/client_token_spec.rb
|
146
|
-
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
147
|
-
- spec/integration/braintree/test_transaction_spec.rb
|
148
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
149
|
-
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
150
|
-
- spec/integration/braintree/transaction_search_spec.rb
|
151
|
-
- spec/integration/braintree/customer_search_spec.rb
|
152
|
-
- spec/integration/braintree/paypal_account_spec.rb
|
153
|
-
- spec/integration/braintree/merchant_account_spec.rb
|
154
|
-
- spec/integration/braintree/subscription_spec.rb
|
155
|
-
- spec/integration/braintree/error_codes_spec.rb
|
156
|
-
- spec/integration/braintree/add_on_spec.rb
|
157
|
-
- spec/integration/braintree/credit_card_spec.rb
|
158
|
-
- spec/integration/braintree/payment_method_spec.rb
|
159
|
-
- spec/integration/braintree/address_spec.rb
|
160
|
-
- spec/integration/spec_helper.rb
|
161
|
-
- spec/ssl/certificate.crt
|
131
|
+
- lib/ssl/www_braintreegateway_com.ca.crt
|
132
|
+
- lib/ssl/securetrust_ca.crt
|
162
133
|
- spec/ssl/privateKey.key
|
163
134
|
- spec/ssl/geotrust_global.crt
|
135
|
+
- spec/ssl/certificate.crt
|
136
|
+
- spec/unit/braintree/http_spec.rb
|
164
137
|
- spec/unit/braintree/errors_spec.rb
|
165
|
-
- spec/unit/braintree/
|
166
|
-
- spec/unit/braintree/transaction_spec.rb
|
167
|
-
- spec/unit/braintree/disbursement_spec.rb
|
168
|
-
- spec/unit/braintree/customer_spec.rb
|
169
|
-
- spec/unit/braintree/validation_error_spec.rb
|
138
|
+
- spec/unit/braintree/digest_spec.rb
|
170
139
|
- spec/unit/braintree/transparent_redirect_spec.rb
|
171
|
-
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
172
|
-
- spec/unit/braintree/unknown_payment_method_spec.rb
|
173
|
-
- spec/unit/braintree/http_spec.rb
|
174
|
-
- spec/unit/braintree/client_token_spec.rb
|
175
140
|
- spec/unit/braintree/transaction/customer_details_spec.rb
|
176
|
-
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
177
141
|
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
178
|
-
- spec/unit/braintree/
|
179
|
-
- spec/unit/braintree/xml_spec.rb
|
142
|
+
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
180
143
|
- spec/unit/braintree/base_module_spec.rb
|
181
|
-
- spec/unit/braintree/
|
182
|
-
- spec/unit/braintree/
|
183
|
-
- spec/unit/braintree/
|
184
|
-
- spec/unit/braintree/webhook_notification_spec.rb
|
185
|
-
- spec/unit/braintree/error_result_spec.rb
|
186
|
-
- spec/unit/braintree/signature_service_spec.rb
|
187
|
-
- spec/unit/braintree/subscription_search_spec.rb
|
144
|
+
- spec/unit/braintree/transaction_spec.rb
|
145
|
+
- spec/unit/braintree/xml_spec.rb
|
146
|
+
- spec/unit/braintree/validation_error_spec.rb
|
188
147
|
- spec/unit/braintree/paypal_account_spec.rb
|
189
|
-
- spec/unit/braintree/
|
190
|
-
- spec/unit/braintree/merchant_account_spec.rb
|
191
|
-
- spec/unit/braintree/subscription_spec.rb
|
192
|
-
- spec/unit/braintree/credit_card_spec.rb
|
193
|
-
- spec/unit/braintree/dispute_spec.rb
|
194
|
-
- spec/unit/braintree/sha256_digest_spec.rb
|
195
|
-
- spec/unit/braintree/validation_error_collection_spec.rb
|
148
|
+
- spec/unit/braintree/transaction_search_spec.rb
|
196
149
|
- spec/unit/braintree/xml/parser_spec.rb
|
197
150
|
- spec/unit/braintree/xml/libxml_spec.rb
|
198
151
|
- spec/unit/braintree/xml/rexml_spec.rb
|
199
|
-
- spec/unit/braintree/
|
152
|
+
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
153
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
154
|
+
- spec/unit/braintree/credit_card_spec.rb
|
200
155
|
- spec/unit/braintree/util_spec.rb
|
156
|
+
- spec/unit/braintree/error_result_spec.rb
|
157
|
+
- spec/unit/braintree/successful_result_spec.rb
|
158
|
+
- spec/unit/braintree/subscription_search_spec.rb
|
159
|
+
- spec/unit/braintree/dispute_spec.rb
|
160
|
+
- spec/unit/braintree/subscription_spec.rb
|
161
|
+
- spec/unit/braintree/configuration_spec.rb
|
162
|
+
- spec/unit/braintree/validation_error_collection_spec.rb
|
163
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
164
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
165
|
+
- spec/unit/braintree/client_token_spec.rb
|
166
|
+
- spec/unit/braintree/signature_service_spec.rb
|
201
167
|
- spec/unit/braintree/resource_collection_spec.rb
|
168
|
+
- spec/unit/braintree/customer_spec.rb
|
169
|
+
- spec/unit/braintree/webhook_notification_spec.rb
|
170
|
+
- spec/unit/braintree/disbursement_spec.rb
|
171
|
+
- spec/unit/braintree/modification_spec.rb
|
172
|
+
- spec/unit/braintree/payment_method_spec.rb
|
202
173
|
- spec/unit/braintree/address_spec.rb
|
174
|
+
- spec/unit/braintree/unknown_payment_method_spec.rb
|
203
175
|
- spec/unit/spec_helper.rb
|
204
176
|
- spec/unit/braintree_spec.rb
|
177
|
+
- spec/integration/braintree/http_spec.rb
|
178
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
179
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
180
|
+
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
181
|
+
- spec/integration/braintree/transaction_spec.rb
|
182
|
+
- spec/integration/braintree/paypal_account_spec.rb
|
183
|
+
- spec/integration/braintree/transaction_search_spec.rb
|
184
|
+
- spec/integration/braintree/discount_spec.rb
|
185
|
+
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
186
|
+
- spec/integration/braintree/error_codes_spec.rb
|
187
|
+
- spec/integration/braintree/plan_spec.rb
|
188
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
189
|
+
- spec/integration/braintree/credit_card_spec.rb
|
190
|
+
- spec/integration/braintree/customer_search_spec.rb
|
191
|
+
- spec/integration/braintree/subscription_spec.rb
|
192
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
193
|
+
- spec/integration/braintree/test_transaction_spec.rb
|
194
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
195
|
+
- spec/integration/braintree/customer_spec.rb
|
196
|
+
- spec/integration/braintree/add_on_spec.rb
|
197
|
+
- spec/integration/braintree/disbursement_spec.rb
|
198
|
+
- spec/integration/braintree/payment_method_spec.rb
|
199
|
+
- spec/integration/braintree/client_api/client_token_spec.rb
|
200
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
201
|
+
- spec/integration/braintree/address_spec.rb
|
202
|
+
- spec/integration/spec_helper.rb
|
203
|
+
- spec/httpsd.pid
|
204
|
+
- spec/spec.opts
|
205
205
|
- spec/script/httpsd.rb
|
206
|
+
- spec/spec_helper.rb
|
207
|
+
- spec/hacks/tcp_socket.rb
|
206
208
|
- braintree.gemspec
|
207
209
|
homepage: http://www.braintreepayments.com/
|
208
210
|
licenses:
|
@@ -225,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
227
|
version: '0'
|
226
228
|
requirements: []
|
227
229
|
rubyforge_project: braintree
|
228
|
-
rubygems_version: 1.8.
|
230
|
+
rubygems_version: 1.8.24
|
229
231
|
signing_key:
|
230
232
|
specification_version: 3
|
231
233
|
summary: Braintree Gateway Ruby Client Library
|