pagseguro-transparente 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pagseguro.rb +3 -0
- data/lib/pagseguro/request.rb +1 -0
- data/lib/pagseguro/version.rb +1 -1
- data/spec/pagseguro/pagseguro_spec.rb +2 -0
- 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: 8b8088b8877906203d00cc2294f9c7f8edacb523
|
4
|
+
data.tar.gz: e3046f46a0826f0f95e92737676add99d85c1b90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4266606973370c28dd3851364c7aaa8ddf39efcc0e74d260814c68d57cb1b8beed2d77265e0b5f87824c15cf2022fbf222965f02769ee40e89dc6d413d196421
|
7
|
+
data.tar.gz: 7d5f884876144040e9a9c7d2dbc081e029c514db07ff15cc62418e3a7296efd90a8d5c335859f93c818d3d92035f23c1bf8435d029633329183d5142981947c3
|
data/Gemfile.lock
CHANGED
data/lib/pagseguro.rb
CHANGED
data/lib/pagseguro/request.rb
CHANGED
@@ -15,6 +15,7 @@ module PagSeguro
|
|
15
15
|
def post(path, account = "default", params = {})
|
16
16
|
options = { body: add_credencials(account) }
|
17
17
|
options[:body].merge!(params)
|
18
|
+
options[:timeout] = PagSeguro.timeout unless PagSeguro.timeout.blank?
|
18
19
|
self.class.post(path, options)
|
19
20
|
end
|
20
21
|
|
data/lib/pagseguro/version.rb
CHANGED
@@ -4,10 +4,12 @@ describe PagSeguro do
|
|
4
4
|
before do
|
5
5
|
PagSeguro.email = "EMAIL"
|
6
6
|
PagSeguro.token = "TOKEN"
|
7
|
+
PagSeguro.timeout = 10
|
7
8
|
end
|
8
9
|
|
9
10
|
it { expect(PagSeguro.email).to eql("EMAIL") }
|
10
11
|
it { expect(PagSeguro.token).to eql("TOKEN") }
|
12
|
+
it { expect(PagSeguro.timeout).to eql(10) }
|
11
13
|
|
12
14
|
context "configuring library" do
|
13
15
|
it "yields PagSeguro" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagseguro-transparente
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cirdes Henrique
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-11-
|
12
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|