catarse_pagarme 2.14.10 → 2.14.11

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
  SHA256:
3
- metadata.gz: e5cf253edf3740df0178687448f76d33ac7307dfc4e0365c97cd74a8942d0c70
4
- data.tar.gz: 6102f081c3a8777089cbf4b104e555289f58f09bf87c13397fdf977685db2a5f
3
+ metadata.gz: 841d304987ba35363555c773e7d88bfe799ce92c456a7e56bb12703f61a05c11
4
+ data.tar.gz: c6dfa83886c55e65d4ae3ac720b4afd447654736e8c899306fd5e5f9a0126250
5
5
  SHA512:
6
- metadata.gz: e570aa0e9cba1ac76665fe9b57a6af2245cf503132e47560d2a08be7abe8dbaa4cc431c34cbc908c1392fbbf7ed9a2423379ebf6b699c95e167d12a76669e79f
7
- data.tar.gz: 90b5aaa7df3bdc6620b45b67745f0493e2ad0fb0e3b55aca83653c820f8d3c064a7205fb057fce2a112a01477d9fa4d42b36844b2cbb5945ac2dcd7cd8274528
6
+ metadata.gz: e253b3633d7da19d9c3700028b69b8791c7f294b67bce110b57c3a902f82f0b35effa888146841fdc992f562a6e96e34fec5ae713b89e587a9fdb870731238f5
7
+ data.tar.gz: 704b88015accaeb1be02349e90c2ac0227e5964732d6dcca4787eb1daa95880c442ce9dd4e7a4dedc038818c2a6ffa244e6535e97bd97227ead58c6b6e6696eb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.14.10)
4
+ catarse_pagarme (2.14.11)
5
5
  countries (= 3.0.0)
6
6
  konduto-ruby (= 2.1.0)
7
7
  pagarme (= 2.1.4)
@@ -52,7 +52,7 @@ module CatarsePagarme
52
52
  end
53
53
 
54
54
  def was_credit_card_used_before?
55
- PaymentEngines.was_credit_card_used_before?(self.transaction.card.id)
55
+ PaymentEngines.was_credit_card_used_before?(self.transaction.card.id, self.attributes.dig(:customer, :id))
56
56
  end
57
57
 
58
58
  def process_antifraud
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.14.10"
2
+ VERSION = "2.14.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_pagarme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.10
4
+ version: 2.14.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva