braintree 2.64.0 → 2.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,14 @@ module Braintree
10
10
  :client_id,
11
11
  :client_secret,
12
12
  :access_token,
13
- :environment,
13
+ :environment
14
+ ]
15
+
16
+ NON_REQUIRED_READABLE_ATTRIBUTES = [
17
+ :proxy_address,
18
+ :proxy_port,
19
+ :proxy_user,
20
+ :proxy_pass
14
21
  ]
15
22
 
16
23
  WRITABLE_ATTRIBUTES = [
@@ -23,12 +30,18 @@ module Braintree
23
30
  :public_key,
24
31
  :private_key,
25
32
  :environment,
33
+ :proxy_address,
34
+ :proxy_port,
35
+ :proxy_user,
36
+ :proxy_pass
26
37
  ]
27
38
 
28
39
  class << self
29
40
  attr_writer *WRITABLE_ATTRIBUTES
41
+ attr_reader *NON_REQUIRED_READABLE_ATTRIBUTES
30
42
  end
31
43
  attr_reader *READABLE_ATTRIBUTES
44
+ attr_reader *NON_REQUIRED_READABLE_ATTRIBUTES
32
45
 
33
46
  def self.expectant_reader(*attributes) # :nodoc:
34
47
  attributes.each do |attribute|
@@ -64,7 +77,11 @@ module Braintree
64
77
  :logger => logger,
65
78
  :merchant_id => merchant_id,
66
79
  :private_key => private_key,
67
- :public_key => public_key
80
+ :public_key => public_key,
81
+ :proxy_address => proxy_address,
82
+ :proxy_port => proxy_port,
83
+ :proxy_user => proxy_user,
84
+ :proxy_pass => proxy_pass
68
85
  )
69
86
  end
70
87
 
@@ -59,7 +59,19 @@ module Braintree
59
59
  end
60
60
 
61
61
  def _http_do(http_verb, path, body = nil)
62
- connection = Net::HTTP.new(@config.server, @config.port)
62
+ if @config.proxy_address
63
+ connection = Net::HTTP.new(
64
+ @config.server,
65
+ @config.port,
66
+ @config.proxy_address,
67
+ @config.proxy_port,
68
+ @config.proxy_user,
69
+ @config.proxy_pass
70
+ )
71
+ else
72
+ connection = Net::HTTP.new(@config.server, @config.port)
73
+ end
74
+
63
75
  connection.open_timeout = @config.http_open_timeout
64
76
  connection.read_timeout = @config.http_read_timeout
65
77
  if @config.ssl?
@@ -6,5 +6,6 @@ module Braintree
6
6
  CoinbaseAccount = 'coinbase_account'
7
7
  ApplePayCard = 'apple_pay_card'
8
8
  AndroidPayCard = 'android_pay_card'
9
+ VenmoAccount = 'venmo_account'
9
10
  end
10
11
  end
@@ -1,7 +1,7 @@
1
1
  module Braintree
2
2
  module Version
3
3
  Major = 2
4
- Minor = 64
4
+ Minor = 65
5
5
  Tiny = 0
6
6
 
7
7
  String = "#{Major}.#{Minor}.#{Tiny}"
@@ -928,7 +928,7 @@ describe Braintree::Customer do
928
928
  it "updates the default payment method" do
929
929
  customer = Braintree::Customer.create!(
930
930
  :first_name => "Joe",
931
- :last_name => "Brown",
931
+ :last_name => "Brown"
932
932
  )
933
933
 
934
934
  token1 = random_payment_method_token
@@ -936,7 +936,7 @@ describe Braintree::Customer do
936
936
  payment_method1 = Braintree::PaymentMethod.create(
937
937
  :customer_id => customer.id,
938
938
  :payment_method_nonce => Braintree::Test::Nonce::TransactableVisa,
939
- :token => token1,
939
+ :token => token1
940
940
  )
941
941
 
942
942
  payment_method1 = Braintree::PaymentMethod.find(token1)
@@ -961,7 +961,7 @@ describe Braintree::Customer do
961
961
  it "updates the default payment method in the options" do
962
962
  customer = Braintree::Customer.create!(
963
963
  :first_name => "Joe",
964
- :last_name => "Brown",
964
+ :last_name => "Brown"
965
965
  )
966
966
 
967
967
  token1 = random_payment_method_token
@@ -969,7 +969,7 @@ describe Braintree::Customer do
969
969
  payment_method1 = Braintree::PaymentMethod.create(
970
970
  :customer_id => customer.id,
971
971
  :payment_method_nonce => Braintree::Test::Nonce::TransactableVisa,
972
- :token => token1,
972
+ :token => token1
973
973
  )
974
974
 
975
975
  payment_method1 = Braintree::PaymentMethod.find(token1)
@@ -1459,6 +1459,7 @@ describe Braintree::Transaction do
1459
1459
  )
1460
1460
  result.should be_success
1461
1461
 
1462
+ result.transaction.payment_instrument_type.should == Braintree::PaymentInstrumentType::VenmoAccount
1462
1463
  venmo_account_details = result.transaction.venmo_account_details
1463
1464
  venmo_account_details.should be_a(Braintree::Transaction::VenmoAccountDetails)
1464
1465
  venmo_account_details.token.should respond_to(:to_str)
@@ -64,6 +64,20 @@ describe Braintree::Configuration do
64
64
  )
65
65
  end.to raise_error(Braintree::ConfigurationError, /mixed credential types/)
66
66
  end
67
+
68
+ it "accepts proxy params" do
69
+ config = Braintree::Configuration.new(
70
+ :proxy_address => 'localhost',
71
+ :proxy_port => 8080,
72
+ :proxy_user => 'user',
73
+ :proxy_pass => 'test'
74
+ )
75
+
76
+ config.proxy_address.should == 'localhost'
77
+ config.proxy_port.should == 8080
78
+ config.proxy_user.should == 'user'
79
+ config.proxy_pass.should == 'test'
80
+ end
67
81
  end
68
82
 
69
83
  describe "base_merchant_path" do
@@ -127,6 +141,22 @@ describe Braintree::Configuration do
127
141
  end
128
142
  end
129
143
 
144
+ describe "self.gateway" do
145
+ it "sets its proxy config" do
146
+ Braintree::Configuration.proxy_address = "localhost"
147
+ Braintree::Configuration.proxy_port = 8080
148
+ Braintree::Configuration.proxy_user = "user"
149
+ Braintree::Configuration.proxy_pass = "test"
150
+
151
+ gateway = Braintree::Configuration.gateway
152
+
153
+ gateway.config.proxy_address.should == "localhost"
154
+ gateway.config.proxy_port.should == 8080
155
+ gateway.config.proxy_user.should == "user"
156
+ gateway.config.proxy_pass.should == "test"
157
+ end
158
+ end
159
+
130
160
  describe "self.environment=" do
131
161
  it "raises an exception if the environment is invalid" do
132
162
  expect do
@@ -38,6 +38,61 @@ END
38
38
  END
39
39
  Braintree::Http.new(:config)._format_and_sanitize_body_for_log(input_xml).should == expected_xml
40
40
  end
41
+
42
+ it "connects when proxy address is specified" do
43
+ config = Braintree::Configuration.new(
44
+ :proxy_address => "localhost",
45
+ :proxy_port => 8080,
46
+ :proxy_user => "user",
47
+ :proxy_pass => "test"
48
+ )
49
+
50
+ http = Braintree::Http.new(config)
51
+ net_http_instance = instance_double(
52
+ "Net::HTTP",
53
+ :open_timeout= => nil,
54
+ :read_timeout= => nil,
55
+ :start => nil
56
+ )
57
+
58
+ Net::HTTP.should_receive(:new).with(nil, nil, "localhost", 8080, "user", "test").and_return(net_http_instance)
59
+
60
+ http._http_do("GET", "/plans")
61
+ end
62
+
63
+ it "accepts a partially specified proxy" do
64
+ config = Braintree::Configuration.new(
65
+ :proxy_address => "localhost",
66
+ :proxy_port => 8080
67
+ )
68
+
69
+ http = Braintree::Http.new(config)
70
+ net_http_instance = instance_double(
71
+ "Net::HTTP",
72
+ :open_timeout= => nil,
73
+ :read_timeout= => nil,
74
+ :start => nil
75
+ )
76
+
77
+ Net::HTTP.should_receive(:new).with(nil, nil, "localhost", 8080, nil, nil).and_return(net_http_instance)
78
+
79
+ http._http_do("GET", "/plans")
80
+ end
81
+
82
+ it "does not specify a proxy if proxy_address is not set" do
83
+ config = Braintree::Configuration.new
84
+ http = Braintree::Http.new(config)
85
+ net_http_instance = instance_double(
86
+ "Net::HTTP",
87
+ :open_timeout= => nil,
88
+ :read_timeout= => nil,
89
+ :start => nil
90
+ )
91
+
92
+ Net::HTTP.should_receive(:new).with(nil, nil).and_return(net_http_instance)
93
+
94
+ http._http_do("GET", "/plans")
95
+ end
41
96
  end
42
97
 
43
98
  describe "_build_query_string" do
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.64.0
4
+ version: 2.65.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: 2016-07-18 00:00:00.000000000 Z
12
+ date: 2016-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -35,205 +35,204 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - README.rdoc
37
37
  - LICENSE
38
+ - lib/braintree/address.rb
39
+ - lib/braintree/webhook_testing_gateway.rb
40
+ - lib/braintree/base_module.rb
41
+ - lib/braintree/dispute/transaction_details.rb
42
+ - lib/braintree/payment_instrument_type.rb
43
+ - lib/braintree/europe_bank_account_gateway.rb
38
44
  - lib/braintree/customer_gateway.rb
39
- - lib/braintree/subscription/status_details.rb
45
+ - lib/braintree/payment_method_nonce_gateway.rb
46
+ - lib/braintree/plan_gateway.rb
47
+ - lib/braintree/android_pay_card.rb
48
+ - lib/braintree/validation_error_collection.rb
49
+ - lib/braintree/testing_gateway.rb
50
+ - lib/braintree/venmo_account.rb
51
+ - lib/braintree/modification.rb
52
+ - lib/braintree/add_on_gateway.rb
53
+ - lib/braintree/http.rb
54
+ - lib/braintree/payment_method_nonce.rb
55
+ - lib/braintree/address/country_names.rb
56
+ - lib/braintree/descriptor.rb
57
+ - lib/braintree/transaction_search.rb
58
+ - lib/braintree/digest.rb
59
+ - lib/braintree/settlement_batch_summary.rb
60
+ - lib/braintree/disbursement.rb
61
+ - lib/braintree/plan.rb
62
+ - lib/braintree/successful_result.rb
63
+ - lib/braintree/oauth_credentials.rb
64
+ - lib/braintree/transparent_redirect_gateway.rb
65
+ - lib/braintree/three_d_secure_info.rb
66
+ - lib/braintree/xml.rb
67
+ - lib/braintree/add_on.rb
68
+ - lib/braintree/transparent_redirect.rb
69
+ - lib/braintree/transaction_gateway.rb
70
+ - lib/braintree/dispute.rb
71
+ - lib/braintree/test_transaction.rb
72
+ - lib/braintree/advanced_search.rb
73
+ - lib/braintree/paypal_account_gateway.rb
74
+ - lib/braintree/merchant_account_gateway.rb
75
+ - lib/braintree/account_updater_daily_report.rb
76
+ - lib/braintree/customer_search.rb
77
+ - lib/braintree/signature_service.rb
40
78
  - lib/braintree/discount.rb
41
- - lib/braintree/transaction/customer_details.rb
79
+ - lib/braintree/customer.rb
80
+ - lib/braintree/discount_gateway.rb
81
+ - lib/braintree/credit_card_verification.rb
82
+ - lib/braintree/credentials_parser.rb
83
+ - lib/braintree/credit_card_verification_search.rb
42
84
  - lib/braintree/transaction/subscription_details.rb
43
- - lib/braintree/transaction/credit_card_details.rb
44
- - lib/braintree/transaction/status_details.rb
45
- - lib/braintree/transaction/address_details.rb
46
- - lib/braintree/transaction/disbursement_details.rb
47
85
  - lib/braintree/transaction/apple_pay_details.rb
48
86
  - lib/braintree/transaction/android_pay_details.rb
87
+ - lib/braintree/transaction/address_details.rb
88
+ - lib/braintree/transaction/credit_card_details.rb
89
+ - lib/braintree/transaction/customer_details.rb
90
+ - lib/braintree/transaction/disbursement_details.rb
91
+ - lib/braintree/transaction/venmo_account_details.rb
49
92
  - lib/braintree/transaction/amex_express_checkout_details.rb
93
+ - lib/braintree/transaction/status_details.rb
50
94
  - lib/braintree/transaction/paypal_details.rb
51
- - lib/braintree/transaction/venmo_account_details.rb
52
95
  - lib/braintree/transaction/coinbase_details.rb
53
- - lib/braintree/testing_gateway.rb
54
- - lib/braintree/payment_method_gateway.rb
55
- - lib/braintree/http.rb
56
- - lib/braintree/dispute/transaction_details.rb
57
- - lib/braintree/transaction_search.rb
58
- - lib/braintree/address.rb
59
- - lib/braintree/webhook_notification_gateway.rb
60
- - lib/braintree/apple_pay_card.rb
61
- - lib/braintree/errors.rb
62
- - lib/braintree/amex_express_checkout_card.rb
63
- - lib/braintree/discount_gateway.rb
64
- - lib/braintree/payment_method_nonce_gateway.rb
65
- - lib/braintree/advanced_search.rb
96
+ - lib/braintree/xml/rexml.rb
97
+ - lib/braintree/xml/generator.rb
98
+ - lib/braintree/xml/libxml.rb
99
+ - lib/braintree/xml/parser.rb
100
+ - lib/braintree/subscription_gateway.rb
101
+ - lib/braintree/credit_card.rb
102
+ - lib/braintree/payment_method.rb
103
+ - lib/braintree/merchant_account.rb
66
104
  - lib/braintree/sha256_digest.rb
67
- - lib/braintree/android_pay_card.rb
105
+ - lib/braintree/paypal_account.rb
106
+ - lib/braintree/address_gateway.rb
107
+ - lib/braintree/webhook_notification_gateway.rb
108
+ - lib/braintree/credit_card_gateway.rb
109
+ - lib/braintree/merchant.rb
110
+ - lib/braintree/validation_error.rb
68
111
  - lib/braintree/unknown_payment_method.rb
69
- - lib/braintree/configuration.rb
70
- - lib/braintree/webhook_notification.rb
71
- - lib/braintree/oauth_credentials.rb
72
- - lib/braintree/error_codes.rb
73
- - lib/braintree/merchant_account_gateway.rb
74
- - lib/braintree/credentials_parser.rb
75
- - lib/braintree/payment_method_nonce.rb
76
- - lib/braintree/credit_card_verification_search.rb
77
- - lib/braintree/risk_data.rb
78
- - lib/braintree/payment_method.rb
79
- - lib/braintree/subscription.rb
112
+ - lib/braintree/subscription_search.rb
113
+ - lib/braintree/credit_card_verification_gateway.rb
114
+ - lib/braintree/merchant_gateway.rb
115
+ - lib/braintree/amex_express_checkout_card.rb
80
116
  - lib/braintree/settlement_batch_summary_gateway.rb
81
- - lib/braintree/europe_bank_account_gateway.rb
82
- - lib/braintree/test_transaction.rb
83
- - lib/braintree/client_token_gateway.rb
84
117
  - lib/braintree/resource_collection.rb
85
- - lib/braintree/exceptions.rb
86
- - lib/braintree/customer_search.rb
87
- - lib/braintree/transaction_gateway.rb
88
- - lib/braintree/merchant_gateway.rb
89
- - lib/braintree/account_updater_daily_report.rb
90
- - lib/braintree/europe_bank_account.rb
91
- - lib/braintree/xml/libxml.rb
92
- - lib/braintree/xml/rexml.rb
93
- - lib/braintree/xml/parser.rb
94
- - lib/braintree/xml/generator.rb
95
- - lib/braintree/modification.rb
96
- - lib/braintree/digest.rb
97
- - lib/braintree/gateway.rb
98
- - lib/braintree/merchant_account.rb
99
- - lib/braintree/xml.rb
100
- - lib/braintree/subscription_gateway.rb
101
- - lib/braintree/three_d_secure_info.rb
118
+ - lib/braintree/oauth_gateway.rb
119
+ - lib/braintree/test/venmo_sdk.rb
120
+ - lib/braintree/test/credit_card.rb
121
+ - lib/braintree/test/merchant_account.rb
122
+ - lib/braintree/test/transaction_amounts.rb
123
+ - lib/braintree/test/nonce.rb
124
+ - lib/braintree/webhook_testing.rb
125
+ - lib/braintree/payment_method_gateway.rb
126
+ - lib/braintree/errors.rb
102
127
  - lib/braintree/coinbase_account.rb
103
128
  - lib/braintree/merchant_account/individual_details.rb
104
129
  - lib/braintree/merchant_account/address_details.rb
105
- - lib/braintree/merchant_account/business_details.rb
106
130
  - lib/braintree/merchant_account/funding_details.rb
107
- - lib/braintree/test/nonce.rb
108
- - lib/braintree/test/merchant_account.rb
109
- - lib/braintree/test/credit_card.rb
110
- - lib/braintree/test/venmo_sdk.rb
111
- - lib/braintree/test/transaction_amounts.rb
112
- - lib/braintree/error_result.rb
113
- - lib/braintree/credit_card.rb
114
- - lib/braintree/plan.rb
115
- - lib/braintree/transaction.rb
116
- - lib/braintree/base_module.rb
117
- - lib/braintree/signature_service.rb
118
- - lib/braintree/plan_gateway.rb
119
- - lib/braintree/payment_instrument_type.rb
120
- - lib/braintree/customer.rb
131
+ - lib/braintree/merchant_account/business_details.rb
132
+ - lib/braintree/error_codes.rb
121
133
  - lib/braintree/facilitator_details.rb
122
- - lib/braintree/paypal_account.rb
123
- - lib/braintree/merchant.rb
124
- - lib/braintree/credit_card_gateway.rb
125
- - lib/braintree/address/country_names.rb
126
- - lib/braintree/credit_card_verification_gateway.rb
127
- - lib/braintree/paypal_account_gateway.rb
128
- - lib/braintree/dispute.rb
129
- - lib/braintree/disbursement.rb
130
- - lib/braintree/webhook_testing.rb
131
- - lib/braintree/oauth_gateway.rb
134
+ - lib/braintree/transaction.rb
132
135
  - lib/braintree/settlement_batch.rb
133
- - lib/braintree/subscription_search.rb
134
- - lib/braintree/venmo_account.rb
135
- - lib/braintree/add_on.rb
136
- - lib/braintree/transparent_redirect_gateway.rb
137
- - lib/braintree/credit_card_verification.rb
138
- - lib/braintree/address_gateway.rb
139
- - lib/braintree/transparent_redirect.rb
140
- - lib/braintree/settlement_batch_summary.rb
141
- - lib/braintree/add_on_gateway.rb
142
- - lib/braintree/successful_result.rb
143
- - lib/braintree/validation_error_collection.rb
144
- - lib/braintree/webhook_testing_gateway.rb
136
+ - lib/braintree/error_result.rb
137
+ - lib/braintree/risk_data.rb
138
+ - lib/braintree/configuration.rb
139
+ - lib/braintree/webhook_notification.rb
140
+ - lib/braintree/gateway.rb
141
+ - lib/braintree/europe_bank_account.rb
142
+ - lib/braintree/version.rb
143
+ - lib/braintree/client_token_gateway.rb
144
+ - lib/braintree/apple_pay_card.rb
145
+ - lib/braintree/subscription/status_details.rb
145
146
  - lib/braintree/client_token.rb
147
+ - lib/braintree/exceptions.rb
148
+ - lib/braintree/subscription.rb
146
149
  - lib/braintree/util.rb
147
- - lib/braintree/version.rb
148
- - lib/braintree/descriptor.rb
149
- - lib/braintree/validation_error.rb
150
150
  - lib/braintree.rb
151
151
  - lib/ssl/api_braintreegateway_com.ca.crt
152
152
  - lib/ssl/securetrust_ca.crt
153
- - spec/hacks/tcp_socket.rb
154
153
  - spec/oauth_test_helper.rb
155
- - spec/httpsd.pid
156
- - spec/integration/braintree/subscription_spec.rb
157
- - spec/integration/braintree/client_api/client_token_spec.rb
158
- - spec/integration/braintree/client_api/spec_helper.rb
159
- - spec/integration/braintree/oauth_spec.rb
160
- - spec/integration/braintree/merchant_spec.rb
161
- - spec/integration/braintree/coinbase_spec.rb
162
- - spec/integration/braintree/disbursement_spec.rb
163
- - spec/integration/braintree/credit_card_verification_spec.rb
164
- - spec/integration/braintree/settlement_batch_summary_spec.rb
165
- - spec/integration/braintree/add_on_spec.rb
166
- - spec/integration/braintree/transparent_redirect_spec.rb
167
- - spec/integration/braintree/credit_card_verification_search_spec.rb
168
- - spec/integration/braintree/advanced_search_spec.rb
169
- - spec/integration/braintree/credit_card_spec.rb
170
- - spec/integration/braintree/test/transaction_amounts_spec.rb
171
- - spec/integration/braintree/merchant_account_spec.rb
172
- - spec/integration/braintree/http_spec.rb
173
- - spec/integration/braintree/error_codes_spec.rb
174
- - spec/integration/braintree/address_spec.rb
175
- - spec/integration/braintree/transaction_search_spec.rb
176
- - spec/integration/braintree/plan_spec.rb
177
- - spec/integration/braintree/customer_spec.rb
178
- - spec/integration/braintree/transaction_spec.rb
179
- - spec/integration/braintree/discount_spec.rb
180
- - spec/integration/braintree/payment_method_nonce_spec.rb
181
- - spec/integration/braintree/test_transaction_spec.rb
182
- - spec/integration/braintree/customer_search_spec.rb
183
- - spec/integration/braintree/paypal_account_spec.rb
184
- - spec/integration/braintree/payment_method_spec.rb
185
- - spec/integration/spec_helper.rb
186
- - spec/unit/braintree/xml_spec.rb
187
- - spec/unit/braintree/subscription_spec.rb
188
- - spec/unit/braintree/transaction/deposit_details_spec.rb
189
- - spec/unit/braintree/transaction/customer_details_spec.rb
190
- - spec/unit/braintree/transaction/credit_card_details_spec.rb
191
- - spec/unit/braintree/webhook_notification_spec.rb
192
- - spec/unit/braintree/subscription_search_spec.rb
193
- - spec/unit/braintree/client_token_spec.rb
194
- - spec/unit/braintree/modification_spec.rb
195
- - spec/unit/braintree/three_d_secure_info_spec.rb
196
- - spec/unit/braintree/disbursement_spec.rb
197
- - spec/unit/braintree/credit_card_verification_spec.rb
198
- - spec/unit/braintree/transparent_redirect_spec.rb
154
+ - spec/spec.opts
155
+ - spec/ssl/privateKey.key
156
+ - spec/ssl/certificate.crt
157
+ - spec/ssl/geotrust_global.crt
158
+ - spec/hacks/tcp_socket.rb
159
+ - spec/unit/braintree_spec.rb
160
+ - spec/unit/braintree/util_spec.rb
199
161
  - spec/unit/braintree/risk_data_spec.rb
200
- - spec/unit/braintree/credit_card_verification_search_spec.rb
162
+ - spec/unit/braintree/configuration_spec.rb
163
+ - spec/unit/braintree/unknown_payment_method_spec.rb
164
+ - spec/unit/braintree/transaction_search_spec.rb
165
+ - spec/unit/braintree/sha256_digest_spec.rb
201
166
  - spec/unit/braintree/dispute_spec.rb
167
+ - spec/unit/braintree/credit_card_spec.rb
168
+ - spec/unit/braintree/address_spec.rb
169
+ - spec/unit/braintree/disbursement_spec.rb
170
+ - spec/unit/braintree/validation_error_spec.rb
171
+ - spec/unit/braintree/error_result_spec.rb
172
+ - spec/unit/braintree/modification_spec.rb
173
+ - spec/unit/braintree/subscription_search_spec.rb
174
+ - spec/unit/braintree/three_d_secure_info_spec.rb
202
175
  - spec/unit/braintree/digest_spec.rb
203
- - spec/unit/braintree/xml/libxml_spec.rb
204
- - spec/unit/braintree/xml/parser_spec.rb
176
+ - spec/unit/braintree/transaction/deposit_details_spec.rb
177
+ - spec/unit/braintree/transaction/credit_card_details_spec.rb
178
+ - spec/unit/braintree/transaction/customer_details_spec.rb
205
179
  - spec/unit/braintree/xml/rexml_spec.rb
206
- - spec/unit/braintree/unknown_payment_method_spec.rb
180
+ - spec/unit/braintree/xml/parser_spec.rb
181
+ - spec/unit/braintree/xml/libxml_spec.rb
182
+ - spec/unit/braintree/credentials_parser_spec.rb
183
+ - spec/unit/braintree/paypal_account_spec.rb
184
+ - spec/unit/braintree/subscription_spec.rb
185
+ - spec/unit/braintree/signature_service_spec.rb
186
+ - spec/unit/braintree/xml_spec.rb
207
187
  - spec/unit/braintree/errors_spec.rb
208
- - spec/unit/braintree/sha256_digest_spec.rb
209
- - spec/unit/braintree/credit_card_spec.rb
210
188
  - spec/unit/braintree/merchant_account_spec.rb
189
+ - spec/unit/braintree/resource_collection_spec.rb
190
+ - spec/unit/braintree/transaction_spec.rb
191
+ - spec/unit/braintree/client_token_spec.rb
211
192
  - spec/unit/braintree/http_spec.rb
212
- - spec/unit/braintree/configuration_spec.rb
213
- - spec/unit/braintree/address_spec.rb
193
+ - spec/unit/braintree/credit_card_verification_search_spec.rb
194
+ - spec/unit/braintree/base_module_spec.rb
214
195
  - spec/unit/braintree/apple_pay_card_spec.rb
215
- - spec/unit/braintree/transaction_search_spec.rb
216
- - spec/unit/braintree/validation_error_collection_spec.rb
217
- - spec/unit/braintree/successful_result_spec.rb
218
196
  - spec/unit/braintree/customer_spec.rb
219
- - spec/unit/braintree/util_spec.rb
220
- - spec/unit/braintree/transaction_spec.rb
221
- - spec/unit/braintree/base_module_spec.rb
222
- - spec/unit/braintree/paypal_account_spec.rb
223
- - spec/unit/braintree/signature_service_spec.rb
224
- - spec/unit/braintree/resource_collection_spec.rb
225
- - spec/unit/braintree/credentials_parser_spec.rb
197
+ - spec/unit/braintree/validation_error_collection_spec.rb
198
+ - spec/unit/braintree/transparent_redirect_spec.rb
199
+ - spec/unit/braintree/credit_card_verification_spec.rb
226
200
  - spec/unit/braintree/payment_method_spec.rb
227
- - spec/unit/braintree/validation_error_spec.rb
228
- - spec/unit/braintree/error_result_spec.rb
201
+ - spec/unit/braintree/webhook_notification_spec.rb
202
+ - spec/unit/braintree/successful_result_spec.rb
229
203
  - spec/unit/spec_helper.rb
230
- - spec/unit/braintree_spec.rb
231
- - spec/ssl/privateKey.key
232
- - spec/ssl/geotrust_global.crt
233
- - spec/ssl/certificate.crt
234
- - spec/spec_helper.rb
204
+ - spec/integration/braintree/customer_search_spec.rb
205
+ - spec/integration/braintree/test_transaction_spec.rb
206
+ - spec/integration/braintree/merchant_spec.rb
207
+ - spec/integration/braintree/settlement_batch_summary_spec.rb
208
+ - spec/integration/braintree/transaction_search_spec.rb
209
+ - spec/integration/braintree/credit_card_spec.rb
210
+ - spec/integration/braintree/payment_method_nonce_spec.rb
211
+ - spec/integration/braintree/discount_spec.rb
212
+ - spec/integration/braintree/address_spec.rb
213
+ - spec/integration/braintree/plan_spec.rb
214
+ - spec/integration/braintree/disbursement_spec.rb
215
+ - spec/integration/braintree/client_api/client_token_spec.rb
216
+ - spec/integration/braintree/client_api/spec_helper.rb
217
+ - spec/integration/braintree/paypal_account_spec.rb
218
+ - spec/integration/braintree/subscription_spec.rb
219
+ - spec/integration/braintree/test/transaction_amounts_spec.rb
220
+ - spec/integration/braintree/merchant_account_spec.rb
221
+ - spec/integration/braintree/advanced_search_spec.rb
222
+ - spec/integration/braintree/oauth_spec.rb
223
+ - spec/integration/braintree/error_codes_spec.rb
224
+ - spec/integration/braintree/transaction_spec.rb
225
+ - spec/integration/braintree/http_spec.rb
226
+ - spec/integration/braintree/add_on_spec.rb
227
+ - spec/integration/braintree/credit_card_verification_search_spec.rb
228
+ - spec/integration/braintree/coinbase_spec.rb
229
+ - spec/integration/braintree/customer_spec.rb
230
+ - spec/integration/braintree/transparent_redirect_spec.rb
231
+ - spec/integration/braintree/credit_card_verification_spec.rb
232
+ - spec/integration/braintree/payment_method_spec.rb
233
+ - spec/integration/spec_helper.rb
235
234
  - spec/script/httpsd.rb
236
- - spec/spec.opts
235
+ - spec/spec_helper.rb
237
236
  - braintree.gemspec
238
237
  homepage: http://www.braintreepayments.com/
239
238
  licenses:
@@ -261,3 +260,4 @@ signing_key:
261
260
  specification_version: 3
262
261
  summary: Braintree Gateway Ruby Client Library
263
262
  test_files: []
263
+ has_rdoc: false
@@ -1 +0,0 @@
1
- 9636