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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1aeb220af20a3e600ebd9a43bea5af0960a1b0a9bc417a71ce3363b3286f23d3
4
- data.tar.gz: ead3a3b224139a7496b72c1957c9e6e208dc2bb1570e2f01a55d661e84e11d1c
3
+ metadata.gz: 280c47fbcd1f68b9b8388c7a668578c88c6256da12248c9c7094460db5a9bc46
4
+ data.tar.gz: de3c7200fd94ef8d836ebde417fb005d5da3338b84ee4519d85c180199b5fbef
5
5
  SHA512:
6
- metadata.gz: 1a5d134e4a6c4e54c785be011e25601609bac15b5a2746ba0d029f08505f71eb124ce0c6a92f9be5e52a5b934c989ebcd615421f6f09d77a8d293e5be1065fd1
7
- data.tar.gz: 17f9af0d132c6c93025c71d8100622fc427879fc1167813b73efdca3a7e799e2145ec2aed166192cb3a694b3f7647eb2924a809c6e767e601deeb66b76340c68
6
+ metadata.gz: 89bad0499c9b211cd2d0ca91f2a34709a75b128a98ec93e9fe6718a942fa26bd0483c78a4b1d3a5c8370089732a08d5a4fab32c40aad551a04c9cdf54a0da772
7
+ data.tar.gz: a4e5a09162bf1d373aeae3c8f3e0b3319e57521e42f78910b2a0c41a589ade9372075921e3bca2f9e6973e6bc2f64ea1b2e8c49693a01f1d16b604390515d0c1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.16.0)
4
+ catarse_pagarme (2.16.1)
5
5
  countries (= 3.0.0)
6
6
  konduto-ruby (= 2.1.0)
7
7
  pagarme (= 2.1.4)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.16.0"
2
+ VERSION = "2.16.1"
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.16.0
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-04 00:00:00.000000000 Z
12
+ date: 2020-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: countries