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 +4 -4
- data/lib/mangopay.rb +1 -1
- data/lib/mangopay/version.rb +1 -1
- data/spec/lib/mangopay/client_spec.rb +1 -4
- data/spec/lib/mangopay/payout_bankwire_spec.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e0a57d569133528fff9d7dde65a52be6ffe5309
|
4
|
+
data.tar.gz: d778c8c490a54b54e70a7ca6f662ff342696adac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
39
|
+
@root_url || (@preproduction == true ? "https://api-preprod.mangopay.com" : "https://api.leetchi.com")
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
data/lib/mangopay/version.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|