catarse_pagarme 2.16.0 → 2.16.1
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/fee_calculator_concern.rb +2 -2
- data/lib/catarse_pagarme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 280c47fbcd1f68b9b8388c7a668578c88c6256da12248c9c7094460db5a9bc46
|
4
|
+
data.tar.gz: de3c7200fd94ef8d836ebde417fb005d5da3338b84ee4519d85c180199b5fbef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89bad0499c9b211cd2d0ca91f2a34709a75b128a98ec93e9fe6718a942fa26bd0483c78a4b1d3a5c8370089732a08d5a4fab32c40aad551a04c9cdf54a0da772
|
7
|
+
data.tar.gz: a4e5a09162bf1d373aeae3c8f3e0b3319e57521e42f78910b2a0c41a589ade9372075921e3bca2f9e6973e6bc2f64ea1b2e8c49693a01f1d16b604390515d0c1
|
data/Gemfile.lock
CHANGED
@@ -12,9 +12,9 @@ module CatarsePagarme::FeeCalculatorConcern
|
|
12
12
|
payables_fee = payables.to_a.sum(&:fee).to_f / 100.00
|
13
13
|
|
14
14
|
if self.payment.payment_method == ::CatarsePagarme::PaymentType::SLIP
|
15
|
-
cost + payables_fee
|
16
|
-
else
|
17
15
|
payables_fee == 0 ? cost : payables_fee
|
16
|
+
else
|
17
|
+
cost + payables_fee
|
18
18
|
end
|
19
19
|
end
|
20
20
|
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.16.
|
4
|
+
version: 2.16.1
|
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: 2020-06-
|
12
|
+
date: 2020-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: countries
|