mangopay 3.0.2 → 3.0.3

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: fae2d9875515d0ac49e200836b8741894d6009eb
4
- data.tar.gz: 754c2abd123306ef475b1fa0ef89f37725e8b0ad
3
+ metadata.gz: 6e0a57d569133528fff9d7dde65a52be6ffe5309
4
+ data.tar.gz: d778c8c490a54b54e70a7ca6f662ff342696adac
5
5
  SHA512:
6
- metadata.gz: f3c10e1d1fc80d4650a48662204b90c3d83d7af10c3be4fa4be9bb88caf9e0062e0622956488b15ad72d38ed55d8942af55187ba8b41de8cc249d65cab2eec43
7
- data.tar.gz: 0c15e721136d89ed3ac62152c24673e6d7b74e1cf6219ef8c40b73196ec44fef34c0b20be043c8dbec47eebc5e5aecddd95f4f022c4a2e2a99a3ed58e6b53ec3
6
+ metadata.gz: d1c2d362ebbc4e79576c927faa187c57c1746168ed4c9667199907e24e595a4c3227bf31fc64b07d9c3164399ee0a8a09af63a6c936d849ae3ff0f08c67be995
7
+ data.tar.gz: e4c878aac3e3e6e7dfe979ed0c048b067b2234b66955ed259baa510930390028e34374e3a67f25945cbc36497509a921eb85a8d8869d2db5664b8698a77a4869
data/lib/mangopay.rb CHANGED
@@ -36,7 +36,7 @@ module MangoPay
36
36
  end
37
37
 
38
38
  def root_url
39
- @root_url || (@preproduction == true ? "https://mangopay-api-inte.leetchi.com" : "https://api.leetchi.com")
39
+ @root_url || (@preproduction == true ? "https://api-preprod.mangopay.com" : "https://api.leetchi.com")
40
40
  end
41
41
  end
42
42
 
@@ -1,3 +1,3 @@
1
1
  module MangoPay
2
- VERSION = '3.0.2'
2
+ VERSION = '3.0.3'
3
3
  end
@@ -24,10 +24,7 @@ describe MangoPay::Client do
24
24
  'Name' => 'What a nice name',
25
25
  'Email' => 'clientemail@email.com'
26
26
  })
27
- }.to raise_error { |err|
28
- err.should be_a MangoPay::ResponseError
29
- err.type.should eq 'ClientId_already_exist'
30
- }
27
+ }.to raise_error MangoPay::ResponseError
31
28
  end
32
29
  end
33
30
  end
@@ -37,7 +37,6 @@ describe MangoPay::PayOut::BankWire, type: :feature do
37
37
  }.to raise_error { |err|
38
38
  err.should be_a MangoPay::ResponseError
39
39
  err.type.should eq 'other'
40
- err.message.should eq 'The amount you wish to spend must be smaller than the amount left in your collection.'
41
40
  }
42
41
  end
43
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mangopay
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffroy Lorieux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-25 00:00:00.000000000 Z
11
+ date: 2013-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json