catarse_moip 2.2.0 → 2.2.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: 5cc225f5d7c39684e7333f162ab0bdcc0b2977ab
4
- data.tar.gz: a1094ac6fd66081e39fa48b7bfbbe08e831079d9
3
+ metadata.gz: bf2d975f99e194636ca2089fca03c7aa785baf0a
4
+ data.tar.gz: d966f3cedfcb618b6d1d518fd33a69a86fc64d03
5
5
  SHA512:
6
- metadata.gz: ecebe202c9bf27241237f36796f56908911b84bc39fee7ac4b5609580345d6c7243a04941b6794aa975a706028d754247db0260c11b36a297763c4a3d6af4c46
7
- data.tar.gz: a1fda50d1c8fdf886fbf5b342d9e268edd6868e81a40abcb7bb3225dba872b17ecafe8d41a5c03f58763b7000918ac6d0c7921179ab0760acae17ad635872fdd
6
+ metadata.gz: 7b7dd1e59ac69a094de99ce6bbc1b9d6b098b471991046fad4d8f5cba2014feb22f8b509e1dd357f65d0ba24c95f2f8fa355358368e1e9a06ac83708e4859d53
7
+ data.tar.gz: 3b9049ca91ab1c5ff034f6cfa127979e529c81776a050657b332d72f5f643edaba488c5d79a7bfa10e380271aa2a9e9afef6222c6c9bbd1fd3093c92afc2dd7c
@@ -23,8 +23,10 @@ App.views.MoipForm.UserDocument = {
23
23
  if(resultCpf || resultCnpj) {
24
24
  $documentField.addClass('ok').removeClass('error');
25
25
 
26
- $.post('/projects/' + this.moipForm.projectId + '/backers/' + this.moipForm.backerId + '/update_info', {
27
- backer: { payer_document: documentNumber }
26
+ $.ajax({
27
+ url: '/projects/' + this.moipForm.projectId + '/backers/' + this.moipForm.backerId,
28
+ type: 'PUT',
29
+ data: { backer: { payer_document: documentNumber } }
28
30
  });
29
31
 
30
32
  } else {
@@ -1,3 +1,3 @@
1
1
  module CatarseMoip
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.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: 2.2.0
4
+ version: 2.2.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-01-10 00:00:00.000000000 Z
13
+ date: 2014-01-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails