catarse_pagarme 2.3.7 → 2.3.8
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: 938e778eb610f3a3309e1f297da2f5e1e9e9d2a5
|
4
|
+
data.tar.gz: def30537289008241c110b52993da80acd718045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db1ed7fb8f1dbcf8ca7e1f2f98f5960303f7f484b62ae84d7719f05f4ab999de50c19216db3665ed24deebe026a37c1f1bf30b295d10a40503d6f63a05c1970e
|
7
|
+
data.tar.gz: 9b25cdd964f882858485ea2a8c1389ee27b4766a822ee9a2e88b5031c98228bb5bc4f6be0244f4c3f4d2e430dbff95c4c15e88486eb969b3cbba7ae0f5c19e7d
|
data/Gemfile.lock
CHANGED
@@ -8,6 +8,8 @@ App.views.Pagarme.addChild('PaymentSlip', _.extend({
|
|
8
8
|
},
|
9
9
|
|
10
10
|
activate: function(options){
|
11
|
+
this.$('#user_bank_account_attributes_owner_document').data('custom-validation', app.reviewForm.onUserDocumentChange);
|
12
|
+
this.$('#user_bank_account_attributes_owner_document').on('focus', app.reviewForm.onUserDocumentFocus)
|
11
13
|
this.setupForm();
|
12
14
|
this.message = this.$('.payment-error-message');
|
13
15
|
this.$('#user_bank_account_attributes_name').brbanks();
|
@@ -6,7 +6,7 @@ module CatarsePagarme
|
|
6
6
|
|
7
7
|
collection = installments.map do |installment|
|
8
8
|
installment_number = installment[0].to_i
|
9
|
-
if installment_number <= CatarsePagarme.configuration.max_installments
|
9
|
+
if installment_number <= CatarsePagarme.configuration.max_installments.to_i
|
10
10
|
amount = installment[1]['installment_amount'] / 100.0
|
11
11
|
|
12
12
|
optional_text = nil
|
@@ -24,7 +24,7 @@ module CatarsePagarme
|
|
24
24
|
if !contribution.acquirer_name.present? || !contribution.acquirer_tid.present?
|
25
25
|
contribution.update_attributes({
|
26
26
|
acquirer_name: transaction.acquirer_name,
|
27
|
-
acquirer_tid: transaction.
|
27
|
+
acquirer_tid: transaction.tid
|
28
28
|
})
|
29
29
|
end
|
30
30
|
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.3.
|
4
|
+
version: 2.3.8
|
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: 2014-11-
|
12
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|