catarse_pagarme 2.4.6 → 2.4.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e59292526c754ffec298ce84320970f34c0d4766
4
- data.tar.gz: a3319851090a7fd84f75a104f3fc6e31eeb1c5fa
3
+ metadata.gz: 8b2dc18b893178e919d89e94cafdb79e61593f88
4
+ data.tar.gz: c6d160bb2125ec861ffb382960dfb51d470341fe
5
5
  SHA512:
6
- metadata.gz: 5f122103693647d7b95341c2ccd273eb7c36d4b9450de8e93f6799bd679e07ca1b6ff5bba443dabc7b875fca918e1a553e56633065d647f6f16e8ba4c4fe68a9
7
- data.tar.gz: b72f715107427959a2f0686c71d811fb768d64a9c369f660bcc696e036939c15830107abe22a7e5b6fb39226254731bb4c443bf592d6a66477cc2dfd96d54ba0
6
+ metadata.gz: ed09efce5d14df55bf3fc7f7047802df835a1b2f62b3212b84d902d5ca7a2222ae90e2656817cb1dd2f09922c80dcb46c41882cc41851989374fd7ee3a79bf19
7
+ data.tar.gz: 77fc5db5f5c615713915e45f12f55039c2e6dd2163617f05f756a811f2c2ac81ab4eceb1eb865f62b59de07649230025b8d711a064e4cd9b9af4f63b8f515f12
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.4.6)
4
+ catarse_pagarme (2.4.7)
5
5
  pagarme (~> 1.9.8)
6
6
  rails (~> 4.0)
7
7
 
@@ -77,7 +77,7 @@ GEM
77
77
  rake (>= 0.8.7)
78
78
  thor (>= 0.18.1, < 2.0)
79
79
  rake (10.3.2)
80
- rest-client (1.7.2)
80
+ rest-client (1.7.3)
81
81
  mime-types (>= 1.16, < 3.0)
82
82
  netrc (~> 0.7)
83
83
  rspec-core (2.14.8)
@@ -97,7 +97,7 @@ GEM
97
97
  multi_json (~> 1.0)
98
98
  rack (~> 1.0)
99
99
  tilt (~> 1.1, != 1.3.0)
100
- sprockets-rails (2.2.2)
100
+ sprockets-rails (2.2.4)
101
101
  actionpack (>= 3.0)
102
102
  activesupport (>= 3.0)
103
103
  sprockets (>= 2.8, < 4.0)
@@ -8,9 +8,11 @@ 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
+ app.userDocumentView.undelegateEvents();
12
+ app._userDocumentView = null;
13
+ app.userDocumentView;
13
14
  this.$('#user_bank_account_attributes_owner_name').data('custom-validation', this.validateName);
15
+
14
16
  this.setupForm();
15
17
  this.message = this.$('.payment-error-message');
16
18
  this.$('#user_bank_account_attributes_name').brbanks();
@@ -64,7 +64,7 @@
64
64
  .w-col.w-col-6.w-col-small-6.w-col-tiny-6.w-sub-col-middle
65
65
  = label_tag :payment_card_source, t('projects.contributions.edit.form_labels.payment_card_source'), class: 'field-label fontweight-semibold w-hidden-medium'
66
66
  = label_tag :payment_card_source, t('projects.contributions.edit.form_labels.payment_card_source_short'), class: 'field-label fontweight-semibold w-hidden-main w-hidden-small w-hidden-tiny'
67
- = phone_field_tag :payment_card_source, nil, class: 'w-input text-field', required: true
67
+ = phone_field_tag :payment_card_source, nil, class: 'w-input text-field', required: true, autocomplete: 'off'
68
68
  .fontsize-smaller.text-error.u-marginbottom-20.fa.fa-exclamation-triangle.w-hidden[data-error-for="payment_card_source"]
69
69
  | Veja o código de segurança do cartão abaixo da tarja magnética
70
70
  .w-col.w-col-6.w-col-small-6.w-col-tiny-6
@@ -107,7 +107,7 @@
107
107
  = bank_form.input :account_digit, as: :tel, wrapper_html: {class: 'w-col w-col-2 w-col-small-4 w-col-tiny-4'}, input_html: {required: true}, validation_text: true
108
108
  .w-row
109
109
  = bank_form.input :owner_name, as: :string, input_html: { required: true, value: bank_form.object.owner_name || current_user.full_name }, wrapper_html: {class: 'w-col w-sub-col w-col-6'}, validation_text: true
110
- = bank_form.input :owner_document, as: :tel, input_html: { required: true, value: bank_form.object.owner_document || current_user.cpf }, wrapper_html: {class: 'w-col w-col-6'}, validation_text: true
110
+ = bank_form.input :owner_document, as: :tel, input_html: { required: true, data: { :'validate-cpf-cnpj' => true }, value: (bank_form.object.owner_document || current_user.cpf) }, wrapper_html: {class: 'w-col w-col-6'}, validation_text: true
111
111
  .w-row
112
112
  .w-col.w-col-12
113
113
  .payment-error-message.card.card-error.u-radius.zindex-10.u-marginbottom-30.w-hidden
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.4.6"
2
+ VERSION = "2.4.7"
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.4.6
4
+ version: 2.4.7
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: 2015-02-12 00:00:00.000000000 Z
12
+ date: 2015-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
- rubygems_version: 2.2.2
220
+ rubygems_version: 2.4.5
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Integration with Pagar.me