catarse_moip 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/javascripts/catarse_moip/payment_card.js +1 -1
- data/app/assets/javascripts/catarse_moip/payment_slip.js +2 -1
- data/app/views/catarse_moip/moip/_terms.html.slim +1 -1
- data/app/views/catarse_moip/moip/review.html.slim +7 -7
- data/lib/catarse_moip/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: 0089b9dfcf82e18ac55e7546e7e2a415b9f29521
|
|
4
|
+
data.tar.gz: 66de9b397d43b51e7c3d4918c3daa4839cdfe31e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82cac4ba543bc1198c14ee7983b2ab2496e932253eca27fef8f1e3ae72e40c3f6a2fdbe672078a3a2852b3e26b461afe5de737178a8b7cb2562bbc3be9545458
|
|
7
|
+
data.tar.gz: 06abe5163f3abfb859c06768c0af773799392ccc8da547d85d1141f8389748628fa3bebc0fd35da0953a74630dd170497b95f3cca1e95dd2375dce76a0c13981
|
data/Gemfile.lock
CHANGED
|
@@ -4,7 +4,7 @@ App.views.MoipForm.addChild('PaymentCard', _.extend({
|
|
|
4
4
|
events: {
|
|
5
5
|
'keyup #payment_card_number' : 'onKeyupPaymentCardNumber',
|
|
6
6
|
'click #credit_card_submit' : 'onSubmit',
|
|
7
|
-
'
|
|
7
|
+
'blur #payment_card_cpf' : 'onUserDocumentKeyup'
|
|
8
8
|
},
|
|
9
9
|
|
|
10
10
|
activate: function(options){
|
|
@@ -4,7 +4,7 @@ App.views.MoipForm.addChild('PaymentSlip', _.extend({
|
|
|
4
4
|
events: {
|
|
5
5
|
'click input#build_boleto' : 'onBuildBoletoClick',
|
|
6
6
|
'click .link_content a' : 'onContentClick',
|
|
7
|
-
'
|
|
7
|
+
'blur #user_document_payment_slip' : 'onUserDocumentKeyup'
|
|
8
8
|
},
|
|
9
9
|
|
|
10
10
|
activate: function(options){
|
|
@@ -14,6 +14,7 @@ App.views.MoipForm.addChild('PaymentSlip', _.extend({
|
|
|
14
14
|
onBuildBoletoClick: function(e){
|
|
15
15
|
var that = this;
|
|
16
16
|
e.preventDefault();
|
|
17
|
+
$(e.currentTarget).hide();
|
|
17
18
|
that.moipForm.loader.show();
|
|
18
19
|
|
|
19
20
|
// Get token and send payment
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
.w-row
|
|
72
72
|
.w-col.w-col-6
|
|
73
73
|
= label_tag 'user_document_payment_slip', t('projects.contributions.review.form.labels.document'), class: 'field-label fontweight-semibold'
|
|
74
|
-
= text_field_tag 'user_document_payment_slip', nil, { autocomplete: 'off', class: 'w-input text-field', required: true
|
|
74
|
+
= text_field_tag 'user_document_payment_slip', nil, { autocomplete: 'off', class: 'w-input text-field', required: true }
|
|
75
75
|
.fontsize-smaller.text-error.u-marginbottom-20.fa.fa-exclamation-triangle.w-hidden[data-error-for="user_document_payment_slip"]
|
|
76
|
-
| Verifique o CPF
|
|
76
|
+
| Verifique o CPF ou CNPJ
|
|
77
77
|
.w-row
|
|
78
78
|
.w-col.w-col-12
|
|
79
79
|
.card.card-message.u-radius.fontsize-small.zindex-10.u-marginbottom-30
|
|
@@ -83,15 +83,15 @@
|
|
|
83
83
|
.payment-error-message.card.card-error.u-radius.zindex-10.u-marginbottom-30.w-hidden
|
|
84
84
|
.fontsize-smaller.fontweight-bold.u-marginbottom-10= t('.review_errors_title')
|
|
85
85
|
.message-text.fontsize-smaller = t('.review_errors')
|
|
86
|
-
.w-row
|
|
87
|
-
.w-col.w-col-push-3.w-col-6
|
|
88
|
-
#card-loading.loader.u-text-center.w-col.w-col-12.u-marginbottom-30 = image_tag "catarse_bootstrap/loader.gif"
|
|
89
|
-
= submit_tag t('projects.contributions.review.form.labels.build_boleto'), class: 'btn btn-large u-marginbottom-20', id: "build_boleto"
|
|
90
|
-
= render partial: 'terms'
|
|
91
86
|
.w-row
|
|
92
87
|
.w-col.w-col-12
|
|
93
88
|
#payment-slip-link.card.card-message.fontsize-small.u-radius.u-marginbottom-30.zindex-10.w-hidden
|
|
94
89
|
.link_content.fontsize-smaller
|
|
95
90
|
.fontsize-smaller Você também receberá um email com esse boleto.
|
|
91
|
+
.w-row
|
|
92
|
+
.w-col.w-col-push-3.w-col-6
|
|
93
|
+
#card-loading.loader.u-text-center.w-col.w-col-12.u-marginbottom-30 = image_tag "catarse_bootstrap/loader.gif"
|
|
94
|
+
= submit_tag t('projects.contributions.review.form.labels.build_boleto'), class: 'btn btn-large u-marginbottom-20', id: "build_boleto"
|
|
95
|
+
= render partial: 'terms'
|
|
96
96
|
|
|
97
97
|
== javascript_include_tag js_moip_index_path
|
data/lib/catarse_moip/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: catarse_moip
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Antônio Roberto Silva
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-10-
|
|
13
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|