catarse_pagarme 2.8.10 → 2.9.0

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
  SHA1:
3
- metadata.gz: e4ff6a2abae43d47e7bd246f189fe821adc29787
4
- data.tar.gz: fd977d63317b5425cc9ec52158f3a658c0528719
3
+ metadata.gz: 83358dae35ea75d1e2e0bd6884cedd186291245b
4
+ data.tar.gz: bcc6d9f8d3073f38c240749668da9203b11ba912
5
5
  SHA512:
6
- metadata.gz: cae899cc5bb0432df60a9483c4a54cf31e609e76ed57a8b7ff3fd2a9367c34a734aa08996c8bba613ecc93d49dc4ab91f3dc657a2a2d791906841bb12e9b1744
7
- data.tar.gz: 2fdb34f6cf1a1071cd30d42e5624a47934bbae9f8333391dcaf56c1676e2872add144739190006684ce8ad3aa0916a1795a9bd561126982b582421ca269dd07b
6
+ metadata.gz: af513375d177465a11a13b2e66eef712715d302115652756d4c19c54dde9a2b75c60706436a4395447a00d45d6a53293028bfa4df67bb8bc195163ef8b793866
7
+ data.tar.gz: e42af8348a9d17070bb306d514b48681486673432bc29410e187e450940321d43d8d957f30e0e8500dcfe6675cf1c09ad43d18f327f929ceb0b51bbdd901fa08
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.8.10)
4
+ catarse_pagarme (2.9.0)
5
5
  pagarme (= 1.10.0)
6
6
  rails (~> 4.0)
7
7
  sidekiq
@@ -31,7 +31,7 @@ module CatarsePagarme
31
31
  end
32
32
 
33
33
  def fill_acquirer_data
34
- data = payment.gateway_data || {}
34
+ data = transaction.try(:to_hash) || payment.gateway_data || {}
35
35
  payment.gateway_data = data.merge({
36
36
  acquirer_name: transaction.acquirer_name,
37
37
  acquirer_tid: transaction.tid,
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.8.10"
2
+ VERSION = "2.9.0"
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.8.10
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva