Skip to content

Commit

Permalink
finance/ruby-braintree: update to 4.1.0
Browse files Browse the repository at this point in the history
4.1.0 (2021-05-25)

* Add payment_reader_card_details parameter to Transaction.sale
* Add webhook sample for GrantedPaymentMethodRevoked
* Add skip_advanced_fraud_checking to:
  - Customer#create and Customer#update
  - PaymentMethod#create and PaymentMethod#update
  - CreditCard#create and CreditCard#update
* Include rexml in Gemspec (fixes #214)
* Fix incorrect error code constants (fixes #213)
  - PaymentMethodNonceConsumed is now 93107
  - CannotForwardPaymentMethodType is now 93106

4.0.0 (2021-05-10)

* Breaking Changes
  - Update gemspec to require ruby >= 2.6.0
  - Remove ExternalVault::CardTypeIsInvalid error code
  - Remove RiskData::CustomerBrowserIsTooLong error code
  - Remove paypal_vault_without_upgrade parameter from PaymentMethod#create
  - Add PaymentMethodNonceDetails and PaymentMethodNonceDetailsPayerInfo
	o PaymentMethodNonce#details is now an instance of
	  PaymentMethodNonceDetails rather than a hash
	o PaymentMethodNonceDetails#payer_info is now an instance of
	  PaymentMethodNonceDetailsPayerInfo rather than a hash
* Add phone_number to Address
* Add paypal_messages to Dispute
* Add tax_identifiers parameter to Customer.create and Customer.update
* Add chargeback_protection_level into dispute search
* Make libxml-ruby an optional dependency instead of required (addresses
  JRuby incompatibility issues raised in #203 and #205)
  • Loading branch information
taca committed Jun 3, 2021
1 parent 80ec323 commit 7066325
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
5 changes: 2 additions & 3 deletions finance/ruby-braintree/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.7 2021/05/04 15:20:44 taca Exp $
# $NetBSD: Makefile,v 1.8 2021/06/03 14:44:21 taca Exp $

DISTNAME= braintree-3.4.0
DISTNAME= braintree-4.1.0
CATEGORIES= finance

MAINTAINER= pkgsrc-users@NetBSD.org
Expand All @@ -9,7 +9,6 @@ COMMENT= Braintree Gateway Ruby Client Library
LICENSE= mit

DEPENDS+= ${RUBY_PKGPREFIX}-builder>=3.2.4:../../textproc/ruby-builder
DEPENDS+= ${RUBY_PKGPREFIX}-libxml>=3.2.0:../../textproc/ruby-libxml

USE_LANGUAGES= # none

Expand Down
9 changes: 8 additions & 1 deletion finance/ruby-braintree/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.6 2021/05/04 15:20:44 taca Exp $
@comment $NetBSD: PLIST,v 1.7 2021/06/03 14:44:21 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/braintree.gemspec
Expand Down Expand Up @@ -39,6 +39,7 @@ ${GEM_LIBDIR}/lib/braintree/discount.rb
${GEM_LIBDIR}/lib/braintree/discount_gateway.rb
${GEM_LIBDIR}/lib/braintree/dispute.rb
${GEM_LIBDIR}/lib/braintree/dispute/evidence.rb
${GEM_LIBDIR}/lib/braintree/dispute/paypal_message.rb
${GEM_LIBDIR}/lib/braintree/dispute/status_history.rb
${GEM_LIBDIR}/lib/braintree/dispute/transaction.rb
${GEM_LIBDIR}/lib/braintree/dispute/transaction_details.rb
Expand Down Expand Up @@ -76,6 +77,8 @@ ${GEM_LIBDIR}/lib/braintree/payment_instrument_type.rb
${GEM_LIBDIR}/lib/braintree/payment_method.rb
${GEM_LIBDIR}/lib/braintree/payment_method_gateway.rb
${GEM_LIBDIR}/lib/braintree/payment_method_nonce.rb
${GEM_LIBDIR}/lib/braintree/payment_method_nonce_details.rb
${GEM_LIBDIR}/lib/braintree/payment_method_nonce_details_payer_info.rb
${GEM_LIBDIR}/lib/braintree/payment_method_nonce_gateway.rb
${GEM_LIBDIR}/lib/braintree/payment_method_parser.rb
${GEM_LIBDIR}/lib/braintree/paypal_account.rb
Expand Down Expand Up @@ -147,6 +150,7 @@ ${GEM_LIBDIR}/lib/braintree/xml.rb
${GEM_LIBDIR}/lib/braintree/xml/generator.rb
${GEM_LIBDIR}/lib/braintree/xml/libxml.rb
${GEM_LIBDIR}/lib/braintree/xml/parser.rb
${GEM_LIBDIR}/lib/braintree/xml/rexml.rb
${GEM_LIBDIR}/lib/ssl/api_braintreegateway_com.ca.crt
${GEM_LIBDIR}/lib/ssl/securetrust_ca.crt
${GEM_LIBDIR}/spec/fixtures/files/bt_logo.png
Expand Down Expand Up @@ -223,6 +227,8 @@ ${GEM_LIBDIR}/spec/unit/braintree/http_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/local_payment_completed_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/merchant_account_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/modification_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/payment_method_nonce_details_payer_info_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/payment_method_nonce_details_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/payment_method_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/paypal_account_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/resource_collection_spec.rb
Expand Down Expand Up @@ -250,6 +256,7 @@ ${GEM_LIBDIR}/spec/unit/braintree/validation_error_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/webhook_notification_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/xml/libxml_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/xml/parser_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/xml/rexml_spec.rb
${GEM_LIBDIR}/spec/unit/braintree/xml_spec.rb
${GEM_LIBDIR}/spec/unit/braintree_spec.rb
${GEM_LIBDIR}/spec/unit/spec_helper.rb
Expand Down
10 changes: 5 additions & 5 deletions finance/ruby-braintree/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.8 2021/05/04 15:20:44 taca Exp $
$NetBSD: distinfo,v 1.9 2021/06/03 14:44:21 taca Exp $

SHA1 (braintree-3.4.0.gem) = 0c8a09325c5a42c6246738c0d99cc8e14d4079db
RMD160 (braintree-3.4.0.gem) = 68f7df0d0708a1934f6a9c3c85746985feef820d
SHA512 (braintree-3.4.0.gem) = e67b6cd3340efe6c8cf10cc994c0d71bc68479256d8b24686e2380d33ea84bba3f344e9fd3069541eed6bd69896e2f85aa8904b494a5f396b6d7dff8a5c0be5f
Size (braintree-3.4.0.gem) = 219136 bytes
SHA1 (braintree-4.1.0.gem) = 49efcce0554c5835000b5ddcb9832dc66b40bfca
RMD160 (braintree-4.1.0.gem) = 5cc65ec52167d51dd68eb15c99c50c1e4032b50d
SHA512 (braintree-4.1.0.gem) = 597142b5ec9319562fef420020c8c70a14b54071386e81ee5ef684ead88f54c36fcd44490da540b55ef911fdedd2e8c496991c4c6cb5b88255114b050e461c56
Size (braintree-4.1.0.gem) = 222208 bytes

0 comments on commit 7066325

Please sign in to comment.