pagseguro_v2 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -10
- data/lib/pagseguro_v2/notification.rb +2 -2
- data/lib/pagseguro_v2/transaction.rb +2 -2
- data/lib/pagseguro_v2/version.rb +1 -1
- data/pagseguro_v2.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4805d9a1e1d3b1e017cca1a73a0be7997a524bb
|
4
|
+
data.tar.gz: 219ba6c4a0541ca39173ad220d5366f2d9d82884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf864ec87dd5c87044de958d42e930bf38bb5371eec347f7a0dd4716f96efed26bc651fce262ec5533c2c39fe5726a42fa6090bc3d78e4e1d8efdc200a309a23
|
7
|
+
data.tar.gz: 44d6054e3a264f17b87adc368857fd760095f7ce6ca344e2599d2f0b73127eff2b211eacdbe22d34081f06f02daab380987c4627159e10c0d746ccafe3015675
|
data/Gemfile.lock
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pagseguro_v2 (0.0.
|
4
|
+
pagseguro_v2 (0.0.8)
|
5
5
|
builder
|
6
|
-
hashie (>=
|
6
|
+
hashie (>= 3.2.0)
|
7
7
|
httparty
|
8
8
|
nokogiri
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: http://rubygems.org/
|
12
12
|
specs:
|
13
|
-
builder (3.
|
13
|
+
builder (3.2.2)
|
14
14
|
diff-lcs (1.1.3)
|
15
|
-
hashie (
|
16
|
-
httparty (0.
|
17
|
-
|
18
|
-
multi_xml
|
19
|
-
|
20
|
-
|
21
|
-
|
15
|
+
hashie (3.2.0)
|
16
|
+
httparty (0.13.1)
|
17
|
+
json (~> 1.8)
|
18
|
+
multi_xml (>= 0.5.2)
|
19
|
+
json (1.8.1)
|
20
|
+
mini_portile (0.6.0)
|
21
|
+
multi_xml (0.5.5)
|
22
|
+
nokogiri (1.6.2.1)
|
23
|
+
mini_portile (= 0.6.0)
|
22
24
|
rspec (2.10.0)
|
23
25
|
rspec-core (~> 2.10.0)
|
24
26
|
rspec-expectations (~> 2.10.0)
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module PagseguroV2
|
2
2
|
class Transaction < Hashie::Trash
|
3
|
-
include Hashie::Extensions::IgnoreUndeclared
|
4
3
|
property :date
|
5
4
|
property :code
|
6
5
|
property :reference
|
@@ -29,7 +28,8 @@ module PagseguroV2
|
|
29
28
|
|
30
29
|
def initialize(options)
|
31
30
|
translate_status(options)
|
32
|
-
|
31
|
+
options_sym = Hash[options.map { |k, v| [k.to_sym, v] }]
|
32
|
+
super(options_sym)
|
33
33
|
end
|
34
34
|
|
35
35
|
def translate_status(options)
|
data/lib/pagseguro_v2/version.rb
CHANGED
data/pagseguro_v2.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.add_dependency('nokogiri')
|
24
24
|
s.add_development_dependency "rspec", "~> 2.10.0"
|
25
|
-
s.add_runtime_dependency "hashie", '>=
|
25
|
+
s.add_runtime_dependency "hashie", '>= 3.2.0'
|
26
26
|
s.add_runtime_dependency "httparty"
|
27
27
|
s.add_runtime_dependency "builder"
|
28
|
-
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagseguro_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cirdes Henrique
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 3.2.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 3.2.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: httparty
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|