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: 8485508e42acd73382f57bfbdac1533a4ede56cb
4
- data.tar.gz: 7b96b9b0534f22967e2a90aa809aec8472c570a6
3
+ metadata.gz: 938e778eb610f3a3309e1f297da2f5e1e9e9d2a5
4
+ data.tar.gz: def30537289008241c110b52993da80acd718045
5
5
  SHA512:
6
- metadata.gz: 1b787154a29936fda790ea807ed57bd9b254d292582c2bb1674f22214b1aa27700a6fc40adc90ebc3abe2367a053bbaec6a09a32cc6912b531278e5de0756be1
7
- data.tar.gz: 3ef6b41c3446cc2bd157ef3e5ca61f2a8faa25450c38cb932e7d87fedb2c11f0445c786dbd0605e212b96743ca88db089497b539e9b92e3177808c3454547122
6
+ metadata.gz: db1ed7fb8f1dbcf8ca7e1f2f98f5960303f7f484b62ae84d7719f05f4ab999de50c19216db3665ed24deebe026a37c1f1bf30b295d10a40503d6f63a05c1970e
7
+ data.tar.gz: 9b25cdd964f882858485ea2a8c1389ee27b4766a822ee9a2e88b5031c98228bb5bc4f6be0244f4c3f4d2e430dbff95c4c15e88486eb969b3cbba7ae0f5c19e7d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.3.6)
4
+ catarse_pagarme (2.3.8)
5
5
  pagarme (~> 1.9.8)
6
6
  rails (~> 4.0)
7
7
 
@@ -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.acquirer_tid
27
+ acquirer_tid: transaction.tid
28
28
  })
29
29
  end
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.3.7"
2
+ VERSION = "2.3.8"
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.3.7
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-13 00:00:00.000000000 Z
12
+ date: 2014-11-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails