braintree 2.65.0 → 2.66.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 55feb52af2eaf316362d1b551b0111cbff5ff2a0
4
+ data.tar.gz: d19ab9861b0baffc43b0e5a8112a705c5d5f7eae
5
+ SHA512:
6
+ metadata.gz: 1ebbbf59502212a308c7561ce105b1c5d069eacf96f9d075050de4846d5ee486a000ed4b3ce3a8f02bdedcc6f9b23f6dc2324e303a6785ccda55255a8e70d000
7
+ data.tar.gz: bc373fe5157664c94adb00c3d802eb593451b8111afbdefaa9550939f665e575a6d2fdb77b704aac653e3046b6b713fa9a445fe3fa9f9723933862812e5fd614
@@ -31,12 +31,12 @@ module Braintree
31
31
  Unknown = "Unknown"
32
32
  end
33
33
 
34
- Commercial = Debit = DurbinRegulated = Healthcare = Payroll = Prepaid =
34
+ Commercial = Debit = DurbinRegulated = Healthcare = Payroll = Prepaid = ProductId =
35
35
  IssuingBank = CountryOfIssuance = CardTypeIndicator
36
36
 
37
37
  attr_reader :billing_address, :bin, :card_type, :cardholder_name, :commercial, :country_of_issuance,
38
38
  :created_at, :customer_id, :debit, :durbin_regulated, :expiration_month, :expiration_year, :healthcare,
39
- :issuing_bank, :last_4, :payroll, :prepaid, :subscriptions, :token, :unique_number_identifier, :updated_at,
39
+ :issuing_bank, :last_4, :payroll, :prepaid, :product_id, :subscriptions, :token, :unique_number_identifier, :updated_at,
40
40
  :image_url, :verification
41
41
 
42
42
  def self.create(attributes)
@@ -229,7 +229,7 @@ module Braintree
229
229
  def self._attributes # :nodoc:
230
230
  [
231
231
  :billing_address, :bin, :card_type, :cardholder_name, :created_at, :customer_id, :expiration_month,
232
- :expiration_year, :last_4, :token, :updated_at, :prepaid, :payroll, :commercial, :debit, :durbin_regulated,
232
+ :expiration_year, :last_4, :token, :updated_at, :prepaid, :payroll, :product_id, :commercial, :debit, :durbin_regulated,
233
233
  :healthcare, :country_of_issuance, :issuing_bank, :image_url
234
234
  ]
235
235
  end
@@ -112,6 +112,7 @@ module Braintree
112
112
  VerificationMerchantAccountIdIsInvalid = "91728"
113
113
  VerificationMerchantAccountIsForbidden = "91743"
114
114
  VerificationMerchantAccountIsSuspended = "91742"
115
+ VerificationMerchantAccountCannotBeSubMerchantAccount = "91755"
115
116
  end
116
117
  end
117
118
 
@@ -564,6 +565,7 @@ module Braintree
564
565
  MerchantAccountIdIsInvalid = "94204"
565
566
  MerchantAccountIsSuspended = "94205"
566
567
  MerchantAccountIsForbidden = "94206"
568
+ MerchantAccountCannotBeSubMerchantAccount = "94208"
567
569
  end
568
570
  end
569
571
  end
@@ -3,7 +3,7 @@ module Braintree
3
3
  class StatusDetails # :nodoc:
4
4
  include BaseModule
5
5
 
6
- attr_reader :balance, :price, :status, :subscription_source, :timestamp, :user
6
+ attr_reader :balance, :price, :status, :subscription_source, :timestamp, :user, :currency_iso_code
7
7
 
8
8
  def initialize(attributes)
9
9
  set_instance_variables_from_hash attributes unless attributes.nil?
@@ -5,7 +5,7 @@ module Braintree
5
5
 
6
6
  attr_reader :bin, :card_type, :cardholder_name, :customer_location, :expiration_month,
7
7
  :expiration_year, :last_4, :token, :prepaid, :healthcare, :durbin_regulated, :debit,
8
- :commercial, :payroll, :country_of_issuance, :issuing_bank, :image_url
8
+ :commercial, :payroll, :product_id, :country_of_issuance, :issuing_bank, :image_url
9
9
 
10
10
  def initialize(attributes)
11
11
  set_instance_variables_from_hash attributes unless attributes.nil?
@@ -17,7 +17,7 @@ module Braintree
17
17
 
18
18
  def inspect
19
19
  attr_order = [:token, :bin, :last_4, :card_type, :expiration_date, :cardholder_name, :customer_location, :prepaid,
20
- :healthcare, :durbin_regulated, :debit, :commercial, :payroll, :country_of_issuance, :issuing_bank, :image_url]
20
+ :healthcare, :durbin_regulated, :debit, :commercial, :payroll, :product_id, :country_of_issuance, :issuing_bank, :image_url]
21
21
  formatted_attrs = attr_order.map do |attr|
22
22
  "#{attr}: #{send(attr).inspect}"
23
23
  end
@@ -1,7 +1,7 @@
1
1
  module Braintree
2
2
  module Version
3
3
  Major = 2
4
- Minor = 65
4
+ Minor = 66
5
5
  Tiny = 0
6
6
 
7
7
  String = "#{Major}.#{Minor}.#{Tiny}"
@@ -334,6 +334,7 @@ describe Braintree::CreditCard do
334
334
  )
335
335
  credit_card = result.credit_card
336
336
  credit_card.healthcare.should == Braintree::CreditCard::Healthcare::Yes
337
+ credit_card.product_id.should == "J3"
337
338
  end
338
339
 
339
340
  it "sets the durbin regulated field if the card is durbin regulated" do
@@ -360,7 +361,7 @@ describe Braintree::CreditCard do
360
361
  credit_card.country_of_issuance.should == Braintree::Test::CreditCardDefaults::CountryOfIssuance
361
362
  end
362
363
 
363
- it "sets the issuing bank field" do
364
+ it "sets the issuing bank field" do
364
365
  customer = Braintree::Customer.create!
365
366
  result = Braintree::CreditCard.create(
366
367
  :customer_id => customer.id,
@@ -382,6 +383,7 @@ describe Braintree::CreditCard do
382
383
  )
383
384
  credit_card = result.credit_card
384
385
  credit_card.payroll.should == Braintree::CreditCard::Payroll::Yes
386
+ credit_card.product_id.should == "MSA"
385
387
  end
386
388
 
387
389
  it "sets the debit field if the card is debit" do
@@ -423,6 +425,7 @@ describe Braintree::CreditCard do
423
425
  credit_card.debit.should == Braintree::CreditCard::Prepaid::No
424
426
  credit_card.durbin_regulated.should == Braintree::CreditCard::Prepaid::No
425
427
  credit_card.healthcare.should == Braintree::CreditCard::Prepaid::No
428
+ credit_card.product_id.should == "MSB"
426
429
  end
427
430
 
428
431
  it "doesn't set the card type identifiers for an un-identified card" do
@@ -442,6 +445,7 @@ describe Braintree::CreditCard do
442
445
  credit_card.healthcare.should == Braintree::CreditCard::Prepaid::Unknown
443
446
  credit_card.country_of_issuance == Braintree::CreditCard::CountryOfIssuance::Unknown
444
447
  credit_card.issuing_bank == Braintree::CreditCard::IssuingBank::Unknown
448
+ credit_card.product_id == Braintree::CreditCard::ProductId::Unknown
445
449
  end
446
450
  end
447
451
 
@@ -269,7 +269,7 @@ describe Braintree::MerchantGateway do
269
269
  it "succeeds" do
270
270
  result = Braintree::Merchant.provision_raw_apple_pay
271
271
  result.should be_success
272
- result.supported_networks.should == ["visa", "mastercard", "amex"]
272
+ result.supported_networks.should == ["visa", "mastercard", "amex", "discover"]
273
273
  end
274
274
 
275
275
  it "is repeatable" do
@@ -277,7 +277,7 @@ describe Braintree::MerchantGateway do
277
277
  result.should be_success
278
278
  result = Braintree::Merchant.provision_raw_apple_pay
279
279
  result.should be_success
280
- result.supported_networks.should == ["visa", "mastercard", "amex"]
280
+ result.supported_networks.should == ["visa", "mastercard", "amex", "discover"]
281
281
  end
282
282
  end
283
283
 
@@ -42,6 +42,7 @@ describe Braintree::Subscription do
42
42
  result.subscription.status_history.first.price.should == "12.34"
43
43
  result.subscription.status_history.first.status.should == Braintree::Subscription::Status::Active
44
44
  result.subscription.status_history.first.subscription_source.should == Braintree::Subscription::Source::Api
45
+ result.subscription.status_history.first.currency_iso_code.should == "USD"
45
46
  end
46
47
 
47
48
  it "returns a transaction with billing period populated" do
@@ -28,11 +28,12 @@ describe Braintree::Transaction::CreditCardDetails do
28
28
  :debit => "Yes",
29
29
  :commercial => "Unknown",
30
30
  :payroll => "Unknown",
31
+ :product_id => "Unknown",
31
32
  :country_of_issuance => "Lilliput",
32
33
  :issuing_bank => "Gulliver Bank",
33
34
  :image_url => "example.com/visa.png"
34
35
  )
35
- details.inspect.should == %(#<token: "token", bin: "123456", last_4: "6789", card_type: "Visa", expiration_date: "05/2012", cardholder_name: "The Cardholder", customer_location: "US", prepaid: "Yes", healthcare: "No", durbin_regulated: "No", debit: "Yes", commercial: "Unknown", payroll: "Unknown", country_of_issuance: "Lilliput", issuing_bank: "Gulliver Bank", image_url: "example.com/visa.png">)
36
+ details.inspect.should == %(#<token: "token", bin: "123456", last_4: "6789", card_type: "Visa", expiration_date: "05/2012", cardholder_name: "The Cardholder", customer_location: "US", prepaid: "Yes", healthcare: "No", durbin_regulated: "No", debit: "Yes", commercial: "Unknown", payroll: "Unknown", product_id: "Unknown", country_of_issuance: "Lilliput", issuing_bank: "Gulliver Bank", image_url: "example.com/visa.png">)
36
37
  end
37
38
 
38
39
  end
@@ -131,6 +131,7 @@ describe Braintree::Transaction do
131
131
  :debit => "Yes",
132
132
  :commercial => "No",
133
133
  :payroll => "Unknown",
134
+ :product_id => "Unknown",
134
135
  :country_of_issuance => "Narnia",
135
136
  :issuing_bank => "Mr Tumnus"
136
137
  }
@@ -147,6 +148,8 @@ describe Braintree::Transaction do
147
148
  transaction.credit_card_details.durbin_regulated.should == Braintree::CreditCard::DurbinRegulated::Yes
148
149
  transaction.credit_card_details.debit.should == Braintree::CreditCard::Debit::Yes
149
150
  transaction.credit_card_details.commercial.should == Braintree::CreditCard::Commercial::No
151
+ transaction.credit_card_details.payroll.should == Braintree::CreditCard::Payroll::Unknown
152
+ transaction.credit_card_details.product_id.should == Braintree::CreditCard::ProductId::Unknown
150
153
  transaction.credit_card_details.country_of_issuance.should == "Narnia"
151
154
  transaction.credit_card_details.issuing_bank.should == "Mr Tumnus"
152
155
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.65.0
5
- prerelease:
4
+ version: 2.66.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Braintree
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: builder
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.0.0
30
27
  description: Ruby library for integrating with the Braintree Gateway
@@ -35,229 +32,227 @@ extra_rdoc_files: []
35
32
  files:
36
33
  - README.rdoc
37
34
  - 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
44
- - lib/braintree/customer_gateway.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
35
  - 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
36
+ - lib/braintree/unknown_payment_method.rb
65
37
  - 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
78
- - lib/braintree/discount.rb
79
- - lib/braintree/customer.rb
80
- - lib/braintree/discount_gateway.rb
38
+ - lib/braintree/webhook_notification.rb
39
+ - lib/braintree/android_pay_card.rb
40
+ - lib/braintree/payment_method_gateway.rb
81
41
  - lib/braintree/credit_card_verification.rb
82
- - lib/braintree/credentials_parser.rb
83
- - lib/braintree/credit_card_verification_search.rb
42
+ - lib/braintree/exceptions.rb
43
+ - lib/braintree/account_updater_daily_report.rb
44
+ - lib/braintree/webhook_testing_gateway.rb
45
+ - lib/braintree/transaction/customer_details.rb
46
+ - lib/braintree/transaction/status_details.rb
47
+ - lib/braintree/transaction/address_details.rb
48
+ - lib/braintree/transaction/amex_express_checkout_details.rb
84
49
  - lib/braintree/transaction/subscription_details.rb
85
- - lib/braintree/transaction/apple_pay_details.rb
50
+ - lib/braintree/transaction/disbursement_details.rb
86
51
  - lib/braintree/transaction/android_pay_details.rb
87
- - lib/braintree/transaction/address_details.rb
52
+ - lib/braintree/transaction/apple_pay_details.rb
53
+ - lib/braintree/transaction/coinbase_details.rb
88
54
  - lib/braintree/transaction/credit_card_details.rb
89
- - lib/braintree/transaction/customer_details.rb
90
- - lib/braintree/transaction/disbursement_details.rb
91
55
  - lib/braintree/transaction/venmo_account_details.rb
92
- - lib/braintree/transaction/amex_express_checkout_details.rb
93
- - lib/braintree/transaction/status_details.rb
94
56
  - lib/braintree/transaction/paypal_details.rb
95
- - lib/braintree/transaction/coinbase_details.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
104
- - lib/braintree/sha256_digest.rb
57
+ - lib/braintree/transaction_search.rb
58
+ - lib/braintree/version.rb
59
+ - lib/braintree/settlement_batch.rb
60
+ - lib/braintree/payment_instrument_type.rb
105
61
  - 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
111
- - lib/braintree/unknown_payment_method.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
116
- - lib/braintree/settlement_batch_summary_gateway.rb
117
- - lib/braintree/resource_collection.rb
118
- - lib/braintree/oauth_gateway.rb
62
+ - lib/braintree/transparent_redirect.rb
119
63
  - lib/braintree/test/venmo_sdk.rb
120
- - lib/braintree/test/credit_card.rb
121
64
  - lib/braintree/test/merchant_account.rb
122
- - lib/braintree/test/transaction_amounts.rb
123
65
  - lib/braintree/test/nonce.rb
66
+ - lib/braintree/test/credit_card.rb
67
+ - lib/braintree/test/transaction_amounts.rb
68
+ - lib/braintree/merchant_gateway.rb
69
+ - lib/braintree/client_token.rb
70
+ - lib/braintree/plan.rb
71
+ - lib/braintree/xml/libxml.rb
72
+ - lib/braintree/xml/rexml.rb
73
+ - lib/braintree/xml/generator.rb
74
+ - lib/braintree/xml/parser.rb
75
+ - lib/braintree/successful_result.rb
76
+ - lib/braintree/util.rb
124
77
  - lib/braintree/webhook_testing.rb
125
- - lib/braintree/payment_method_gateway.rb
78
+ - lib/braintree/digest.rb
79
+ - lib/braintree/europe_bank_account_gateway.rb
80
+ - lib/braintree/settlement_batch_summary_gateway.rb
81
+ - lib/braintree/gateway.rb
82
+ - lib/braintree/base_module.rb
83
+ - lib/braintree/customer.rb
84
+ - lib/braintree/settlement_batch_summary.rb
85
+ - lib/braintree/amex_express_checkout_card.rb
86
+ - lib/braintree/credit_card_gateway.rb
87
+ - lib/braintree/discount_gateway.rb
88
+ - lib/braintree/test_transaction.rb
89
+ - lib/braintree/resource_collection.rb
90
+ - lib/braintree/risk_data.rb
91
+ - lib/braintree/dispute.rb
92
+ - lib/braintree/customer_gateway.rb
93
+ - lib/braintree/credit_card_verification_gateway.rb
126
94
  - lib/braintree/errors.rb
127
- - lib/braintree/coinbase_account.rb
128
- - lib/braintree/merchant_account/individual_details.rb
95
+ - lib/braintree/facilitator_details.rb
96
+ - lib/braintree/plan_gateway.rb
97
+ - lib/braintree/subscription/status_details.rb
98
+ - lib/braintree/europe_bank_account.rb
99
+ - lib/braintree/add_on.rb
129
100
  - lib/braintree/merchant_account/address_details.rb
130
- - lib/braintree/merchant_account/funding_details.rb
131
101
  - lib/braintree/merchant_account/business_details.rb
132
- - lib/braintree/error_codes.rb
133
- - lib/braintree/facilitator_details.rb
102
+ - lib/braintree/merchant_account/individual_details.rb
103
+ - lib/braintree/merchant_account/funding_details.rb
104
+ - lib/braintree/sha256_digest.rb
105
+ - lib/braintree/transaction_gateway.rb
106
+ - lib/braintree/xml.rb
107
+ - lib/braintree/merchant_account.rb
134
108
  - lib/braintree/transaction.rb
135
- - lib/braintree/settlement_batch.rb
136
- - lib/braintree/error_result.rb
137
- - lib/braintree/risk_data.rb
138
109
  - 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
110
+ - lib/braintree/payment_method_nonce_gateway.rb
111
+ - lib/braintree/subscription.rb
112
+ - lib/braintree/discount.rb
113
+ - lib/braintree/subscription_search.rb
114
+ - lib/braintree/http.rb
115
+ - lib/braintree/dispute/transaction_details.rb
116
+ - lib/braintree/oauth_credentials.rb
117
+ - lib/braintree/advanced_search.rb
118
+ - lib/braintree/transparent_redirect_gateway.rb
119
+ - lib/braintree/validation_error.rb
143
120
  - lib/braintree/client_token_gateway.rb
121
+ - lib/braintree/venmo_account.rb
122
+ - lib/braintree/paypal_account_gateway.rb
123
+ - lib/braintree/webhook_notification_gateway.rb
124
+ - lib/braintree/signature_service.rb
125
+ - lib/braintree/testing_gateway.rb
126
+ - lib/braintree/descriptor.rb
127
+ - lib/braintree/address.rb
128
+ - lib/braintree/subscription_gateway.rb
129
+ - lib/braintree/error_codes.rb
130
+ - lib/braintree/coinbase_account.rb
131
+ - lib/braintree/error_result.rb
144
132
  - lib/braintree/apple_pay_card.rb
145
- - lib/braintree/subscription/status_details.rb
146
- - lib/braintree/client_token.rb
147
- - lib/braintree/exceptions.rb
148
- - lib/braintree/subscription.rb
149
- - lib/braintree/util.rb
133
+ - lib/braintree/credentials_parser.rb
134
+ - lib/braintree/merchant.rb
135
+ - lib/braintree/validation_error_collection.rb
136
+ - lib/braintree/modification.rb
137
+ - lib/braintree/customer_search.rb
138
+ - lib/braintree/disbursement.rb
139
+ - lib/braintree/add_on_gateway.rb
140
+ - lib/braintree/credit_card.rb
141
+ - lib/braintree/credit_card_verification_search.rb
142
+ - lib/braintree/merchant_account_gateway.rb
143
+ - lib/braintree/address/country_names.rb
144
+ - lib/braintree/oauth_gateway.rb
145
+ - lib/braintree/payment_method.rb
146
+ - lib/braintree/address_gateway.rb
150
147
  - lib/braintree.rb
151
- - lib/ssl/api_braintreegateway_com.ca.crt
152
148
  - lib/ssl/securetrust_ca.crt
149
+ - lib/ssl/api_braintreegateway_com.ca.crt
153
150
  - spec/oauth_test_helper.rb
154
151
  - spec/spec.opts
155
- - spec/ssl/privateKey.key
152
+ - spec/hacks/tcp_socket.rb
153
+ - spec/script/httpsd.rb
154
+ - spec/integration/braintree/discount_spec.rb
155
+ - spec/integration/braintree/merchant_spec.rb
156
+ - spec/integration/braintree/payment_method_spec.rb
157
+ - spec/integration/braintree/test/transaction_amounts_spec.rb
158
+ - spec/integration/braintree/http_spec.rb
159
+ - spec/integration/braintree/advanced_search_spec.rb
160
+ - spec/integration/braintree/test_transaction_spec.rb
161
+ - spec/integration/braintree/disbursement_spec.rb
162
+ - spec/integration/braintree/add_on_spec.rb
163
+ - spec/integration/braintree/coinbase_spec.rb
164
+ - spec/integration/braintree/oauth_spec.rb
165
+ - spec/integration/braintree/credit_card_spec.rb
166
+ - spec/integration/braintree/paypal_account_spec.rb
167
+ - spec/integration/braintree/customer_search_spec.rb
168
+ - spec/integration/braintree/error_codes_spec.rb
169
+ - spec/integration/braintree/transaction_search_spec.rb
170
+ - spec/integration/braintree/merchant_account_spec.rb
171
+ - spec/integration/braintree/credit_card_verification_search_spec.rb
172
+ - spec/integration/braintree/plan_spec.rb
173
+ - spec/integration/braintree/settlement_batch_summary_spec.rb
174
+ - spec/integration/braintree/payment_method_nonce_spec.rb
175
+ - spec/integration/braintree/transaction_spec.rb
176
+ - spec/integration/braintree/address_spec.rb
177
+ - spec/integration/braintree/client_api/client_token_spec.rb
178
+ - spec/integration/braintree/client_api/spec_helper.rb
179
+ - spec/integration/braintree/credit_card_verification_spec.rb
180
+ - spec/integration/braintree/customer_spec.rb
181
+ - spec/integration/braintree/transparent_redirect_spec.rb
182
+ - spec/integration/braintree/subscription_spec.rb
183
+ - spec/integration/spec_helper.rb
156
184
  - spec/ssl/certificate.crt
185
+ - spec/ssl/privateKey.key
157
186
  - spec/ssl/geotrust_global.crt
158
- - spec/hacks/tcp_socket.rb
159
- - spec/unit/braintree_spec.rb
160
- - spec/unit/braintree/util_spec.rb
161
- - spec/unit/braintree/risk_data_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
187
+ - spec/spec_helper.rb
166
188
  - 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
175
- - spec/unit/braintree/digest_spec.rb
176
- - spec/unit/braintree/transaction/deposit_details_spec.rb
189
+ - spec/unit/braintree/util_spec.rb
190
+ - spec/unit/braintree/resource_collection_spec.rb
191
+ - spec/unit/braintree/validation_error_collection_spec.rb
177
192
  - spec/unit/braintree/transaction/credit_card_details_spec.rb
193
+ - spec/unit/braintree/transaction/deposit_details_spec.rb
178
194
  - spec/unit/braintree/transaction/customer_details_spec.rb
179
- - spec/unit/braintree/xml/rexml_spec.rb
180
- - spec/unit/braintree/xml/parser_spec.rb
195
+ - spec/unit/braintree/payment_method_spec.rb
196
+ - spec/unit/braintree/base_module_spec.rb
197
+ - spec/unit/braintree/http_spec.rb
181
198
  - 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
199
+ - spec/unit/braintree/xml/parser_spec.rb
200
+ - spec/unit/braintree/xml/rexml_spec.rb
201
+ - spec/unit/braintree/digest_spec.rb
202
+ - spec/unit/braintree/sha256_digest_spec.rb
203
+ - spec/unit/braintree/disbursement_spec.rb
186
204
  - spec/unit/braintree/xml_spec.rb
205
+ - spec/unit/braintree/client_token_spec.rb
206
+ - spec/unit/braintree/error_result_spec.rb
207
+ - spec/unit/braintree/credit_card_spec.rb
208
+ - spec/unit/braintree/paypal_account_spec.rb
209
+ - spec/unit/braintree/webhook_notification_spec.rb
210
+ - spec/unit/braintree/credentials_parser_spec.rb
211
+ - spec/unit/braintree/transaction_search_spec.rb
187
212
  - spec/unit/braintree/errors_spec.rb
188
213
  - 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
192
- - spec/unit/braintree/http_spec.rb
193
214
  - spec/unit/braintree/credit_card_verification_search_spec.rb
194
- - spec/unit/braintree/base_module_spec.rb
215
+ - spec/unit/braintree/configuration_spec.rb
216
+ - spec/unit/braintree/three_d_secure_info_spec.rb
217
+ - spec/unit/braintree/unknown_payment_method_spec.rb
218
+ - spec/unit/braintree/modification_spec.rb
219
+ - spec/unit/braintree/risk_data_spec.rb
220
+ - spec/unit/braintree/signature_service_spec.rb
195
221
  - spec/unit/braintree/apple_pay_card_spec.rb
222
+ - spec/unit/braintree/transaction_spec.rb
223
+ - spec/unit/braintree/successful_result_spec.rb
224
+ - spec/unit/braintree/address_spec.rb
225
+ - spec/unit/braintree/credit_card_verification_spec.rb
226
+ - spec/unit/braintree/validation_error_spec.rb
227
+ - spec/unit/braintree/subscription_search_spec.rb
196
228
  - spec/unit/braintree/customer_spec.rb
197
- - spec/unit/braintree/validation_error_collection_spec.rb
198
229
  - spec/unit/braintree/transparent_redirect_spec.rb
199
- - spec/unit/braintree/credit_card_verification_spec.rb
200
- - spec/unit/braintree/payment_method_spec.rb
201
- - spec/unit/braintree/webhook_notification_spec.rb
202
- - spec/unit/braintree/successful_result_spec.rb
230
+ - spec/unit/braintree/subscription_spec.rb
231
+ - spec/unit/braintree_spec.rb
203
232
  - spec/unit/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
234
- - spec/script/httpsd.rb
235
- - spec/spec_helper.rb
236
233
  - braintree.gemspec
237
234
  homepage: http://www.braintreepayments.com/
238
235
  licenses:
239
236
  - MIT
237
+ metadata: {}
240
238
  post_install_message:
241
239
  rdoc_options: []
242
240
  require_paths:
243
241
  - lib
244
242
  required_ruby_version: !ruby/object:Gem::Requirement
245
- none: false
246
243
  requirements:
247
- - - ! '>='
244
+ - - '>='
248
245
  - !ruby/object:Gem::Version
249
246
  version: '0'
250
247
  required_rubygems_version: !ruby/object:Gem::Requirement
251
- none: false
252
248
  requirements:
253
- - - ! '>='
249
+ - - '>='
254
250
  - !ruby/object:Gem::Version
255
251
  version: '0'
256
252
  requirements: []
257
253
  rubyforge_project: braintree
258
- rubygems_version: 1.8.23
254
+ rubygems_version: 2.0.3
259
255
  signing_key:
260
- specification_version: 3
256
+ specification_version: 4
261
257
  summary: Braintree Gateway Ruby Client Library
262
258
  test_files: []
263
- has_rdoc: false