catarse_pagarme 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/models/catarse_pagarme/payment_delegator.rb +5 -0
- data/lib/catarse_pagarme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bad8934cac5e7f3de2c0113e0690d572a233e220
|
4
|
+
data.tar.gz: 3d10604d9b64f6142e165660794982c1e2084aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba82861b55f44ff0e38d916a5272d86bbd9aa6e8f4e96bc14ebbf5b7eefb08a66090a4182b71758fe514695884f127f317512376ddaa75a826f7f0a3093a80ee
|
7
|
+
data.tar.gz: 8cfc966ffafe0a878a1f056c52e04d75a81a56b6829a24580241fb4a6cc3dc0646b11791f92005c73d3dae2045bde3b53e5cc2c849b384571f8c29e31933d567
|
data/Gemfile.lock
CHANGED
@@ -66,6 +66,11 @@ module CatarsePagarme
|
|
66
66
|
|
67
67
|
def transaction
|
68
68
|
@transaction ||= ::PagarMe::Transaction.find_by_id(self.payment.gateway_id)
|
69
|
+
if @transaction.kind_of?(Array)
|
70
|
+
@transaction.last
|
71
|
+
else
|
72
|
+
@transaction
|
73
|
+
end
|
69
74
|
end
|
70
75
|
|
71
76
|
def get_installment(installment_number)
|
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.6.
|
4
|
+
version: 2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|