pagseguro_client 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/lib/pagseguro_client/transaction.rb +1 -1
- data/lib/pagseguro_client/version.rb +1 -1
- data/pagseguro_client.gemspec +1 -1
- data/spec/support/notification.xml +1 -1
- metadata +3 -3
@@ -27,7 +27,7 @@ module PagseguroClient
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.create_by_xml(xml)
|
30
|
-
doc = Nokogiri::XML(xml
|
30
|
+
doc = Nokogiri::XML(xml)
|
31
31
|
code = doc.xpath("//transaction/code").text
|
32
32
|
order_id = doc.xpath("//reference").text
|
33
33
|
status = doc.xpath("//status").text.to_i
|
data/pagseguro_client.gemspec
CHANGED
@@ -5,7 +5,7 @@ require "pagseguro_client/version"
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "pagseguro_client"
|
7
7
|
s.version = PagseguroClient::VERSION
|
8
|
-
s.authors = ["Matheus Tardivo", "Raphael Costa", "
|
8
|
+
s.authors = ["Matheus Tardivo", "Raphael Costa", "Andre Kupkovski"]
|
9
9
|
s.email = ["matheustardivo@gmail.com", "raphael@raphaelcosta.net", "kupkovski@gmail.com"]
|
10
10
|
s.homepage = "https://github.com/matheustardivo/pagseguro_client"
|
11
11
|
s.summary = %q{The library to access the new services from Pagseguro (v2)}
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagseguro_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matheus Tardivo
|
9
9
|
- Raphael Costa
|
10
|
-
-
|
10
|
+
- Andre Kupkovski
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-01-
|
14
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec-rails
|