catarse_pagarme 1.5.2 → 1.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4ba46bca94f1ff4f9461ea5ee5b99798e1e80f7
|
4
|
+
data.tar.gz: 082fc8e59856c856bf6f3dab97c710027f935fe9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc5e1858379c685bceb097b3737db4f8cbaa35ee202165f2f65aa416db7d157fbc3233101c936a61db78256317f9847b92204bcebd12b09d6fb5076fcf3826e2
|
7
|
+
data.tar.gz: 236f314db22fb50785f5fe70ff5ef01fc35785ae7112d1de196bd4233f20f6340fe8dc34f5b56e78181868b1f523d27016300949190abe8ba2ca428f2eb64ac2
|
@@ -12,10 +12,10 @@ module CatarsePagarme::FeeCalculatorConcern
|
|
12
12
|
else
|
13
13
|
if self.transaction.card_brand == 'amex'
|
14
14
|
self.contribution.installments > 1 ? tax_calc_for_installment(cielo_installment_amex_tax) : tax_calc(cielo_installment_not_amex_tax)
|
15
|
+
else
|
16
|
+
current_tax = self.transaction.card_brand == 'diners' ? installment_diners_tax : installment_not_diners_tax
|
17
|
+
self.contribution.installments > 1 ? tax_calc_for_installment(current_tax) : tax_calc(cielo_tax)
|
15
18
|
end
|
16
|
-
|
17
|
-
current_tax = self.transaction.card_brand == 'diners' ? installment_diners_tax : installment_not_diners_tax
|
18
|
-
self.contribution.installments > 1 ? tax_calc_for_installment(current_tax) : tax_calc(cielo_tax)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
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: 1.5.
|
4
|
+
version: 1.5.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-01-
|
12
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|