braintree 2.34.1 → 2.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 304aa5a8147742077acb016b052646dea2a7c18c
4
- data.tar.gz: eaa07050155a81d210ff25c8601e7dadafacd8ca
3
+ metadata.gz: e8255caf771801b6ed236593abe70c8588af90ac
4
+ data.tar.gz: a8b79d3b27f4aad1108fe0525353c84d895beade
5
5
  SHA512:
6
- metadata.gz: d79f148da94978eeb73ac0941056d2e9f9800e80406965efa3596b41e547d9a28a0fe27b73b43629d152b952440c0c7e5de8f1f9989fb6b810fd77b38e946718
7
- data.tar.gz: 28b6819f4e071ae46f2c7d3f0be99c942136f924d560e1fce35b61a731ebba6d2249cd8271cbc98f34d5a74f05e5160d1b1a15e71b5bfe16576023d4299fa66b
6
+ metadata.gz: a30b1f2eefc20f98eebb9c28fa10b912037ce08deca61fef0a4b3434a56b013e7b472e5d9a5a0160d25012e5aebb49bd5d79f3ed2d62aafd698a6aef1a5d30ee
7
+ data.tar.gz: d58234dd3dfe67b7edfa094c00c3f940c26770efd48bc5d6e3a2634de811ccf4d7601e0773d9bebc4e8550e304ef125f8403cb4794d80ca06be0487c6d5f28d3
@@ -88,6 +88,8 @@ module Braintree
88
88
  attr_reader :processor_response_code
89
89
  # The response text from the processor.
90
90
  attr_reader :processor_response_text
91
+ # The raw response from the processor.
92
+ attr_reader :additional_processor_response
91
93
  # The settlement response code from the processor.
92
94
  attr_reader :processor_settlement_response_code
93
95
  # The settlement response text from the processor.
@@ -1,8 +1,8 @@
1
1
  module Braintree
2
2
  module Version
3
3
  Major = 2
4
- Minor = 34
5
- Tiny = 1
4
+ Minor = 35
5
+ Tiny = 0
6
6
 
7
7
  String = "#{Major}.#{Minor}.#{Tiny}"
8
8
  end
data/spec/httpsd.pid CHANGED
@@ -1 +1 @@
1
- 24324
1
+ 28882
@@ -366,7 +366,7 @@ describe Braintree::Transaction do
366
366
  result.success?.should == true
367
367
  end
368
368
 
369
- it "returns processor response code and text if declined" do
369
+ it "returns processor response code and text as well as the additional processor response if declined" do
370
370
  result = Braintree::Transaction.create(
371
371
  :type => "sale",
372
372
  :amount => Braintree::Test::TransactionAmounts::Decline,
@@ -381,6 +381,7 @@ describe Braintree::Transaction do
381
381
  result.transaction.status.should == Braintree::Transaction::Status::ProcessorDeclined
382
382
  result.transaction.processor_response_code.should == "2000"
383
383
  result.transaction.processor_response_text.should == "Do Not Honor"
384
+ result.transaction.additional_processor_response.should == "2000 : Do Not Honor"
384
385
  end
385
386
 
386
387
  it "accepts all four country codes" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.34.1
4
+ version: 2.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Braintree
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-17 00:00:00.000000000 Z
11
+ date: 2014-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -30,179 +30,179 @@ executables: []
30
30
  extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
- - README.rdoc
34
33
  - LICENSE
35
- - lib/braintree/sepa_bank_account.rb
36
- - lib/braintree/sepa_bank_account_gateway.rb
37
- - lib/braintree/resource_collection.rb
38
- - lib/braintree/signature_service.rb
39
- - lib/braintree/errors.rb
40
- - lib/braintree/client_token.rb
34
+ - README.rdoc
35
+ - braintree.gemspec
36
+ - lib/braintree.rb
37
+ - lib/braintree/add_on.rb
38
+ - lib/braintree/add_on_gateway.rb
39
+ - lib/braintree/address.rb
41
40
  - lib/braintree/address/country_names.rb
42
- - lib/braintree/transaction_gateway.rb
43
- - lib/braintree/payment_method.rb
44
- - lib/braintree/unknown_payment_method.rb
41
+ - lib/braintree/address_gateway.rb
42
+ - lib/braintree/advanced_search.rb
43
+ - lib/braintree/base_module.rb
44
+ - lib/braintree/client_token.rb
45
+ - lib/braintree/client_token_gateway.rb
46
+ - lib/braintree/configuration.rb
47
+ - lib/braintree/credit_card.rb
48
+ - lib/braintree/credit_card_gateway.rb
49
+ - lib/braintree/credit_card_verification.rb
45
50
  - lib/braintree/credit_card_verification_gateway.rb
46
- - lib/braintree/plan_gateway.rb
51
+ - lib/braintree/credit_card_verification_search.rb
52
+ - lib/braintree/customer.rb
53
+ - lib/braintree/customer_gateway.rb
47
54
  - lib/braintree/customer_search.rb
55
+ - lib/braintree/descriptor.rb
56
+ - lib/braintree/digest.rb
57
+ - lib/braintree/disbursement.rb
58
+ - lib/braintree/discount.rb
59
+ - lib/braintree/discount_gateway.rb
60
+ - lib/braintree/dispute.rb
61
+ - lib/braintree/dispute/transaction_details.rb
62
+ - lib/braintree/error_codes.rb
63
+ - lib/braintree/error_result.rb
64
+ - lib/braintree/errors.rb
65
+ - lib/braintree/exceptions.rb
66
+ - lib/braintree/gateway.rb
48
67
  - lib/braintree/http.rb
49
- - lib/braintree/successful_result.rb
68
+ - lib/braintree/merchant_account.rb
69
+ - lib/braintree/merchant_account/address_details.rb
70
+ - lib/braintree/merchant_account/business_details.rb
71
+ - lib/braintree/merchant_account/funding_details.rb
72
+ - lib/braintree/merchant_account/individual_details.rb
73
+ - lib/braintree/merchant_account_gateway.rb
50
74
  - lib/braintree/modification.rb
51
- - lib/braintree/webhook_testing_gateway.rb
75
+ - lib/braintree/payment_instrument_type.rb
76
+ - lib/braintree/payment_method.rb
77
+ - lib/braintree/payment_method_gateway.rb
78
+ - lib/braintree/paypal_account.rb
79
+ - lib/braintree/paypal_account_gateway.rb
80
+ - lib/braintree/plan.rb
81
+ - lib/braintree/plan_gateway.rb
82
+ - lib/braintree/resource_collection.rb
83
+ - lib/braintree/sepa_bank_account.rb
84
+ - lib/braintree/sepa_bank_account_gateway.rb
85
+ - lib/braintree/settlement_batch.rb
86
+ - lib/braintree/settlement_batch_summary.rb
87
+ - lib/braintree/settlement_batch_summary_gateway.rb
52
88
  - lib/braintree/sha256_digest.rb
53
- - lib/braintree/transaction_search.rb
54
- - lib/braintree/gateway.rb
55
- - lib/braintree/discount_gateway.rb
56
- - lib/braintree/xml.rb
57
- - lib/braintree/transaction.rb
58
- - lib/braintree/credit_card.rb
59
- - lib/braintree/client_token_gateway.rb
60
- - lib/braintree/credit_card_verification.rb
61
- - lib/braintree/transparent_redirect_gateway.rb
89
+ - lib/braintree/signature_service.rb
90
+ - lib/braintree/subscription.rb
91
+ - lib/braintree/subscription_gateway.rb
62
92
  - lib/braintree/subscription_search.rb
63
- - lib/braintree/transaction/status_details.rb
93
+ - lib/braintree/successful_result.rb
94
+ - lib/braintree/test/credit_card.rb
95
+ - lib/braintree/test/merchant_account.rb
96
+ - lib/braintree/test/nonce.rb
97
+ - lib/braintree/test/transaction_amounts.rb
98
+ - lib/braintree/test/venmo_sdk.rb
99
+ - lib/braintree/test_transaction.rb
100
+ - lib/braintree/testing_gateway.rb
101
+ - lib/braintree/transaction.rb
102
+ - lib/braintree/transaction/address_details.rb
64
103
  - lib/braintree/transaction/credit_card_details.rb
65
- - lib/braintree/transaction/paypal_details.rb
104
+ - lib/braintree/transaction/customer_details.rb
66
105
  - lib/braintree/transaction/disbursement_details.rb
106
+ - lib/braintree/transaction/paypal_details.rb
107
+ - lib/braintree/transaction/status_details.rb
67
108
  - lib/braintree/transaction/subscription_details.rb
68
- - lib/braintree/transaction/customer_details.rb
69
- - lib/braintree/transaction/address_details.rb
70
- - lib/braintree/xml/rexml.rb
71
- - lib/braintree/xml/libxml.rb
72
- - lib/braintree/xml/generator.rb
73
- - lib/braintree/xml/parser.rb
74
- - lib/braintree/webhook_notification_gateway.rb
75
- - lib/braintree/error_result.rb
76
- - lib/braintree/subscription.rb
77
- - lib/braintree/add_on_gateway.rb
78
- - lib/braintree/version.rb
79
- - lib/braintree/address.rb
80
- - lib/braintree/plan.rb
81
- - lib/braintree/paypal_account_gateway.rb
82
- - lib/braintree/settlement_batch.rb
83
- - lib/braintree/payment_instrument_type.rb
109
+ - lib/braintree/transaction_gateway.rb
110
+ - lib/braintree/transaction_search.rb
84
111
  - lib/braintree/transparent_redirect.rb
85
- - lib/braintree/add_on.rb
86
- - lib/braintree/validation_error.rb
87
- - lib/braintree/disbursement.rb
88
- - lib/braintree/credit_card_gateway.rb
89
- - lib/braintree/test/venmo_sdk.rb
90
- - lib/braintree/test/credit_card.rb
91
- - lib/braintree/test/nonce.rb
92
- - lib/braintree/test/transaction_amounts.rb
93
- - lib/braintree/test/merchant_account.rb
112
+ - lib/braintree/transparent_redirect_gateway.rb
113
+ - lib/braintree/unknown_payment_method.rb
94
114
  - lib/braintree/util.rb
95
- - lib/braintree/settlement_batch_summary_gateway.rb
96
- - lib/braintree/merchant_account/funding_details.rb
97
- - lib/braintree/merchant_account/individual_details.rb
98
- - lib/braintree/merchant_account/address_details.rb
99
- - lib/braintree/merchant_account/business_details.rb
100
- - lib/braintree/merchant_account_gateway.rb
101
- - lib/braintree/testing_gateway.rb
115
+ - lib/braintree/validation_error.rb
102
116
  - lib/braintree/validation_error_collection.rb
103
- - lib/braintree/error_codes.rb
104
- - lib/braintree/paypal_account.rb
105
- - lib/braintree/exceptions.rb
106
- - lib/braintree/customer.rb
107
- - lib/braintree/configuration.rb
108
- - lib/braintree/digest.rb
109
- - lib/braintree/dispute.rb
110
- - lib/braintree/dispute/transaction_details.rb
111
- - lib/braintree/advanced_search.rb
117
+ - lib/braintree/version.rb
112
118
  - lib/braintree/webhook_notification.rb
113
- - lib/braintree/merchant_account.rb
114
- - lib/braintree/test_transaction.rb
115
- - lib/braintree/subscription_gateway.rb
116
- - lib/braintree/payment_method_gateway.rb
117
- - lib/braintree/discount.rb
118
- - lib/braintree/settlement_batch_summary.rb
119
+ - lib/braintree/webhook_notification_gateway.rb
119
120
  - lib/braintree/webhook_testing.rb
120
- - lib/braintree/address_gateway.rb
121
- - lib/braintree/base_module.rb
122
- - lib/braintree/descriptor.rb
123
- - lib/braintree/credit_card_verification_search.rb
124
- - lib/braintree/customer_gateway.rb
125
- - lib/braintree.rb
121
+ - lib/braintree/webhook_testing_gateway.rb
122
+ - lib/braintree/xml.rb
123
+ - lib/braintree/xml/generator.rb
124
+ - lib/braintree/xml/libxml.rb
125
+ - lib/braintree/xml/parser.rb
126
+ - lib/braintree/xml/rexml.rb
127
+ - lib/ssl/api_braintreegateway_com.ca.crt
126
128
  - lib/ssl/sandbox_braintreegateway_com.ca.crt
127
129
  - lib/ssl/securetrust_ca.crt
128
130
  - lib/ssl/www_braintreegateway_com.ca.crt
129
- - lib/ssl/api_braintreegateway_com.ca.crt
131
+ - spec/hacks/tcp_socket.rb
132
+ - spec/httpsd.pid
133
+ - spec/integration/braintree/add_on_spec.rb
134
+ - spec/integration/braintree/address_spec.rb
135
+ - spec/integration/braintree/advanced_search_spec.rb
136
+ - spec/integration/braintree/client_api/client_token_spec.rb
137
+ - spec/integration/braintree/client_api/spec_helper.rb
138
+ - spec/integration/braintree/credit_card_spec.rb
139
+ - spec/integration/braintree/credit_card_verification_search_spec.rb
140
+ - spec/integration/braintree/credit_card_verification_spec.rb
141
+ - spec/integration/braintree/customer_search_spec.rb
142
+ - spec/integration/braintree/customer_spec.rb
143
+ - spec/integration/braintree/disbursement_spec.rb
144
+ - spec/integration/braintree/discount_spec.rb
145
+ - spec/integration/braintree/error_codes_spec.rb
146
+ - spec/integration/braintree/http_spec.rb
147
+ - spec/integration/braintree/merchant_account_spec.rb
148
+ - spec/integration/braintree/payment_method_spec.rb
149
+ - spec/integration/braintree/paypal_account_spec.rb
150
+ - spec/integration/braintree/plan_spec.rb
151
+ - spec/integration/braintree/settlement_batch_summary_spec.rb
152
+ - spec/integration/braintree/subscription_spec.rb
153
+ - spec/integration/braintree/test/transaction_amounts_spec.rb
154
+ - spec/integration/braintree/test_transaction_spec.rb
155
+ - spec/integration/braintree/transaction_search_spec.rb
156
+ - spec/integration/braintree/transaction_spec.rb
157
+ - spec/integration/braintree/transparent_redirect_spec.rb
158
+ - spec/integration/spec_helper.rb
130
159
  - spec/script/httpsd.rb
131
- - spec/ssl/privateKey.key
160
+ - spec/spec.opts
161
+ - spec/spec_helper.rb
132
162
  - spec/ssl/certificate.crt
133
163
  - spec/ssl/geotrust_global.crt
134
- - spec/spec.opts
135
- - spec/unit/braintree/resource_collection_spec.rb
136
- - spec/unit/braintree/unknown_payment_method_spec.rb
137
- - spec/unit/braintree/subscription_search_spec.rb
138
- - spec/unit/braintree/validation_error_collection_spec.rb
139
- - spec/unit/braintree/validation_error_spec.rb
140
- - spec/unit/braintree/disbursement_spec.rb
141
- - spec/unit/braintree/paypal_account_spec.rb
164
+ - spec/ssl/privateKey.key
165
+ - spec/unit/braintree/address_spec.rb
142
166
  - spec/unit/braintree/base_module_spec.rb
143
- - spec/unit/braintree/util_spec.rb
144
- - spec/unit/braintree/transparent_redirect_spec.rb
145
- - spec/unit/braintree/digest_spec.rb
146
167
  - spec/unit/braintree/client_token_spec.rb
147
- - spec/unit/braintree/webhook_notification_spec.rb
168
+ - spec/unit/braintree/configuration_spec.rb
169
+ - spec/unit/braintree/credit_card_spec.rb
170
+ - spec/unit/braintree/credit_card_verification_search_spec.rb
171
+ - spec/unit/braintree/credit_card_verification_spec.rb
172
+ - spec/unit/braintree/customer_spec.rb
173
+ - spec/unit/braintree/digest_spec.rb
174
+ - spec/unit/braintree/disbursement_spec.rb
175
+ - spec/unit/braintree/dispute_spec.rb
148
176
  - spec/unit/braintree/error_result_spec.rb
177
+ - spec/unit/braintree/errors_spec.rb
178
+ - spec/unit/braintree/http_spec.rb
179
+ - spec/unit/braintree/merchant_account_spec.rb
180
+ - spec/unit/braintree/modification_spec.rb
181
+ - spec/unit/braintree/payment_method_spec.rb
182
+ - spec/unit/braintree/paypal_account_spec.rb
183
+ - spec/unit/braintree/resource_collection_spec.rb
184
+ - spec/unit/braintree/sha256_digest_spec.rb
185
+ - spec/unit/braintree/signature_service_spec.rb
186
+ - spec/unit/braintree/subscription_search_spec.rb
187
+ - spec/unit/braintree/subscription_spec.rb
188
+ - spec/unit/braintree/successful_result_spec.rb
149
189
  - spec/unit/braintree/transaction/credit_card_details_spec.rb
150
190
  - spec/unit/braintree/transaction/customer_details_spec.rb
151
191
  - spec/unit/braintree/transaction/deposit_details_spec.rb
192
+ - spec/unit/braintree/transaction_search_spec.rb
152
193
  - spec/unit/braintree/transaction_spec.rb
153
- - spec/unit/braintree/errors_spec.rb
194
+ - spec/unit/braintree/transparent_redirect_spec.rb
195
+ - spec/unit/braintree/unknown_payment_method_spec.rb
196
+ - spec/unit/braintree/util_spec.rb
197
+ - spec/unit/braintree/validation_error_collection_spec.rb
198
+ - spec/unit/braintree/validation_error_spec.rb
199
+ - spec/unit/braintree/webhook_notification_spec.rb
154
200
  - spec/unit/braintree/xml/libxml_spec.rb
155
201
  - spec/unit/braintree/xml/parser_spec.rb
156
202
  - spec/unit/braintree/xml/rexml_spec.rb
157
- - spec/unit/braintree/payment_method_spec.rb
158
- - spec/unit/braintree/successful_result_spec.rb
159
- - spec/unit/braintree/subscription_spec.rb
160
- - spec/unit/braintree/http_spec.rb
161
- - spec/unit/braintree/credit_card_spec.rb
162
- - spec/unit/braintree/transaction_search_spec.rb
163
- - spec/unit/braintree/modification_spec.rb
164
- - spec/unit/braintree/address_spec.rb
165
- - spec/unit/braintree/merchant_account_spec.rb
166
- - spec/unit/braintree/dispute_spec.rb
167
- - spec/unit/braintree/customer_spec.rb
168
- - spec/unit/braintree/signature_service_spec.rb
169
203
  - spec/unit/braintree/xml_spec.rb
170
- - spec/unit/braintree/configuration_spec.rb
171
- - spec/unit/braintree/credit_card_verification_spec.rb
172
- - spec/unit/braintree/credit_card_verification_search_spec.rb
173
- - spec/unit/braintree/sha256_digest_spec.rb
174
- - spec/unit/spec_helper.rb
175
204
  - spec/unit/braintree_spec.rb
176
- - spec/integration/braintree/plan_spec.rb
177
- - spec/integration/braintree/disbursement_spec.rb
178
- - spec/integration/braintree/settlement_batch_summary_spec.rb
179
- - spec/integration/braintree/paypal_account_spec.rb
180
- - spec/integration/braintree/transparent_redirect_spec.rb
181
- - spec/integration/braintree/error_codes_spec.rb
182
- - spec/integration/braintree/advanced_search_spec.rb
183
- - spec/integration/braintree/test_transaction_spec.rb
184
- - spec/integration/braintree/transaction_spec.rb
185
- - spec/integration/braintree/customer_search_spec.rb
186
- - spec/integration/braintree/payment_method_spec.rb
187
- - spec/integration/braintree/subscription_spec.rb
188
- - spec/integration/braintree/http_spec.rb
189
- - spec/integration/braintree/credit_card_spec.rb
190
- - spec/integration/braintree/transaction_search_spec.rb
191
- - spec/integration/braintree/test/transaction_amounts_spec.rb
192
- - spec/integration/braintree/address_spec.rb
193
- - spec/integration/braintree/merchant_account_spec.rb
194
- - spec/integration/braintree/client_api/client_token_spec.rb
195
- - spec/integration/braintree/client_api/spec_helper.rb
196
- - spec/integration/braintree/customer_spec.rb
197
- - spec/integration/braintree/credit_card_verification_spec.rb
198
- - spec/integration/braintree/discount_spec.rb
199
- - spec/integration/braintree/credit_card_verification_search_spec.rb
200
- - spec/integration/braintree/add_on_spec.rb
201
- - spec/integration/spec_helper.rb
202
- - spec/httpsd.pid
203
- - spec/hacks/tcp_socket.rb
204
- - spec/spec_helper.rb
205
- - braintree.gemspec
205
+ - spec/unit/spec_helper.rb
206
206
  homepage: http://www.braintreepayments.com/
207
207
  licenses:
208
208
  - MIT
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  version: '0'
224
224
  requirements: []
225
225
  rubyforge_project: braintree
226
- rubygems_version: 2.1.11
226
+ rubygems_version: 2.2.2
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: Braintree Gateway Ruby Client Library