catarse_pagarme 2.10.11 → 2.10.12
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 +5 -2
- 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: dc406c5e3ecbcd9d812d0d536397464a66259586
|
4
|
+
data.tar.gz: 565bb35ad034a72d07e670f19ede2f24f3d1bca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89f1880af72ee31c985357760c0f8ba9845933f0cd7aad8e61b5b6956bcfd1ebf04d9765798f63dc794fb3c307731fc352563c089d3199c7b9844ade1616938d
|
7
|
+
data.tar.gz: 0b25ccefa1f6aa45fd2379ba4e40e372a307fb6365b204736dc521a216d7283593c7f16f60fc19a72bf7005706e879a5f483e9b12564b06b29d8fe90fc82c8a9
|
data/Gemfile.lock
CHANGED
@@ -25,8 +25,11 @@ module CatarsePagarme::FeeCalculatorConcern
|
|
25
25
|
get_cielo_fee
|
26
26
|
end
|
27
27
|
|
28
|
-
|
29
|
-
|
28
|
+
fee + payment_cost
|
29
|
+
end
|
30
|
+
|
31
|
+
def payment_cost
|
32
|
+
self.payment.gateway_data["cost"] / 100.0
|
30
33
|
end
|
31
34
|
|
32
35
|
def get_stone_fee
|
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.10.
|
4
|
+
version: 2.10.12
|
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: 2017-06-
|
12
|
+
date: 2017-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|