catarse_moip 3.0.0 → 3.0.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
  SHA1:
3
- metadata.gz: ef96e5da1f2270198e6416796385168671fcaf34
4
- data.tar.gz: ef660e2c1e1eb6cc085ba61883be6f14bfbf3e01
3
+ metadata.gz: 0089b9dfcf82e18ac55e7546e7e2a415b9f29521
4
+ data.tar.gz: 66de9b397d43b51e7c3d4918c3daa4839cdfe31e
5
5
  SHA512:
6
- metadata.gz: c1138927731e9d52691ce29951817d66e07012b957ca023fdea2e2ae59d38377c271644be3f6fda807885f8a85265aae880a9547cf6742c65895a099d0c86592
7
- data.tar.gz: 36be1fd0495715889a6f368c8a3da463c72ecdf0d82dbefbcb0786d2447a7754b6e1f78a7d2316d9a93546bb6faf5cfc1d1e858a6ceeddbbfe965b98bbb297ed
6
+ metadata.gz: 82cac4ba543bc1198c14ee7983b2ab2496e932253eca27fef8f1e3ae72e40c3f6a2fdbe672078a3a2852b3e26b461afe5de737178a8b7cb2562bbc3be9545458
7
+ data.tar.gz: 06abe5163f3abfb859c06768c0af773799392ccc8da547d85d1141f8389748628fa3bebc0fd35da0953a74630dd170497b95f3cca1e95dd2375dce76a0c13981
data/Gemfile.lock CHANGED
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- catarse_moip (3.0.0)
13
+ catarse_moip (3.0.1)
14
14
  enumerate_it
15
15
  libxml-ruby (~> 2.6.0)
16
16
  rails (~> 4.0)
@@ -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
- 'keyup #payment_card_cpf' : 'onUserDocumentKeyup'
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
- 'keyup #user_document_payment_slip' : 'onUserDocumentKeyup'
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
@@ -1,4 +1,4 @@
1
- .fontsize-smallest.u-text-center
1
+ .fontsize-smallest.u-text-center.u-marginbottom-30
2
2
  | Ao apoiar, você concorda com os
3
3
  = link_to 'Termos de Uso', main_app.terms_of_use_path, class: 'alt-link'
4
4
  | e
@@ -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, data: {mask: '999.999.999-99'} }
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
@@ -1,3 +1,3 @@
1
1
  module CatarseMoip
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
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.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-03 00:00:00.000000000 Z
13
+ date: 2014-10-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails