pay 11.4.3 → 11.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f356c846d3a15cff0296d3bdec78cac8580213b6e7acd2b148f6d849980ed70
4
- data.tar.gz: 8e64e9a7899515fba626638eff5f56751aab2581e3a9d80a8bc7525fddbc6684
3
+ metadata.gz: bcb89cdb780ab408b8944ee8fa69c4c08d478a61d81c63b7d76a46a95be2c30f
4
+ data.tar.gz: 7a099fbc3c7322c94b7924dce3a39b82e610c86c48a4e62ffc2c785931e42244
5
5
  SHA512:
6
- metadata.gz: 4d44e8b6b2b2b32b41b6b23b76b272987cd511ef38da218236d74bc438b630278ec1b4014b5eb5eb0c4bd66524e956a897089fca5b15df1a1c3fdc229310fc78
7
- data.tar.gz: 0a441fafee4beace25e5df1a5959730d66d04933aef4a55b5cd7dccfa2f3fc3ff4055f6d1eba8f594642e4a2f48858c7be8cfb530411d6612cea17598214857e
6
+ metadata.gz: 10ea989771b7f383b15276ebb647630f4657aa4ba6cb0ae335f31d87b8a5bc6033e35c81c76cec112b4a3d35992c5d6345d0275f329c8ee72fce3a2215598927
7
+ data.tar.gz: ea3ce066533ef2a84ce2feda0c5e58f6232f43d44c5581a51ce936a4d2f170ad17ee6432068b78649bf11df8c4601592a9600430590494007490291d880414d0
@@ -158,7 +158,7 @@ module Pay
158
158
 
159
159
  def save_payment_method(payment_method, default:)
160
160
  attributes = case payment_method
161
- when ::Braintree::CreditCard, ::Braintree::ApplePayCard, ::Braintree::GooglePayCard, ::Braintree::SamsungPayCard, ::Braintree::VisaCheckoutCard
161
+ when ::Braintree::CreditCard, ::Braintree::ApplePayCard, ::Braintree::GooglePayCard, ::Braintree::SamsungPayCard
162
162
  {
163
163
  payment_method_type: :card,
164
164
  brand: payment_method.card_type,
data/lib/pay/errors.rb CHANGED
@@ -3,7 +3,7 @@ module Pay
3
3
  class Error < StandardError
4
4
  end
5
5
 
6
- class PaymentError < StandardError
6
+ class PaymentError < Error
7
7
  attr_reader :payment
8
8
 
9
9
  def initialize(payment)
data/lib/pay/stripe.rb CHANGED
@@ -27,7 +27,7 @@ module Pay
27
27
 
28
28
  extend Env
29
29
 
30
- REQUIRED_VERSION = "~> 18"
30
+ REQUIRED_VERSION = "~> 19"
31
31
 
32
32
  # A list of database model names that include Pay
33
33
  # Used for safely looking up models with client_reference_id
data/lib/pay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pay
2
- VERSION = "11.4.3"
2
+ VERSION = "11.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.4.3
4
+ version: 11.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Charnes
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 4.0.3
190
+ rubygems_version: 4.0.9
191
191
  specification_version: 4
192
192
  summary: Payments engine for Ruby on Rails
193
193
  test_files: []