pagseguro_client 0.3.3 → 0.4.0
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.
- checksums.yaml +7 -0
 - data/lib/pagseguro_client/transaction.rb +16 -4
 - data/lib/pagseguro_client/version.rb +1 -1
 - data/spec/pagseguro_client/notification_spec.rb +4 -1
 - data/spec/support/notification.xml +53 -53
 - metadata +7 -29
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,7 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA1:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 2832acc369979554800b28736a3772fbea5f63fc
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: bd8e382e2e80a77861cfa67e06b00ac93676f9a8
         
     | 
| 
      
 5 
     | 
    
         
            +
            SHA512:
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 2c6c05db4cc71c3a67a3f821cb0511696192df1da08965d9239ac0ba47bd1c5621fcd6c0a95863b9e01f68de0fb64f39cd5f80a372fb01eeb0acc3e74f785aab
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: c1cd0887e621d9e038b04ca940e20151e0bb76ee357b93f36db31bb67628aac94c9d7d6ab2cdd5e2893f77f112d2307220c279e218b68bc285160436fa2ca80f
         
     | 
| 
         @@ -18,7 +18,12 @@ module PagseguroClient 
     | 
|
| 
       18 
18 
     | 
    
         
             
                  7 => :canceled
         
     | 
| 
       19 
19 
     | 
    
         
             
                }
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
                 
     | 
| 
      
 21 
     | 
    
         
            +
                SHIPPING_TYPE = {
         
     | 
| 
      
 22 
     | 
    
         
            +
                  1 => :pac,
         
     | 
| 
      
 23 
     | 
    
         
            +
                  2 => :sedex
         
     | 
| 
      
 24 
     | 
    
         
            +
                }
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
                attr_accessor :code, :order_id, :status, :payment_method, :last_event_date, :sender, :address, :shipping
         
     | 
| 
       22 
27 
     | 
    
         | 
| 
       23 
28 
     | 
    
         
             
                def initialize(attributes = {})
         
     | 
| 
       24 
29 
     | 
    
         
             
                  attributes.each do |name, value|
         
     | 
| 
         @@ -39,6 +44,7 @@ module PagseguroClient 
     | 
|
| 
       39 
44 
     | 
    
         
             
                    area_code: doc.xpath("//transaction/sender/phone/areaCode").text,
         
     | 
| 
       40 
45 
     | 
    
         
             
                    number: doc.xpath("//transaction/sender/phone/number").text
         
     | 
| 
       41 
46 
     | 
    
         
             
                  }
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
       42 
48 
     | 
    
         
             
                  address = {
         
     | 
| 
       43 
49 
     | 
    
         
             
                    country: doc.xpath("//transaction/shipping/address/country").text,
         
     | 
| 
       44 
50 
     | 
    
         
             
                    state: doc.xpath("//transaction/shipping/address/state").text,
         
     | 
| 
         @@ -49,7 +55,12 @@ module PagseguroClient 
     | 
|
| 
       49 
55 
     | 
    
         
             
                    number: doc.xpath("//transaction/shipping/address/number").text,
         
     | 
| 
       50 
56 
     | 
    
         
             
                    complement: doc.xpath("//transaction/shipping/address/complement").text
         
     | 
| 
       51 
57 
     | 
    
         
             
                  }
         
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
                  shipping = {
         
     | 
| 
      
 60 
     | 
    
         
            +
                    type: SHIPPING_TYPE[doc.xpath("//transaction/shipping/type").text.to_i],
         
     | 
| 
      
 61 
     | 
    
         
            +
                    cost: doc.xpath("//transaction/shipping/cost").text.to_f
         
     | 
| 
      
 62 
     | 
    
         
            +
                  }
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
       53 
64 
     | 
    
         
             
                  transaction = Transaction.new(
         
     | 
| 
       54 
65 
     | 
    
         
             
                    code: code,
         
     | 
| 
       55 
66 
     | 
    
         
             
                    order_id: order_id,
         
     | 
| 
         @@ -61,10 +72,11 @@ module PagseguroClient 
     | 
|
| 
       61 
72 
     | 
    
         
             
                      phone: phone
         
     | 
| 
       62 
73 
     | 
    
         
             
                    },
         
     | 
| 
       63 
74 
     | 
    
         
             
                    address: address,
         
     | 
| 
       64 
     | 
    
         
            -
                    last_event_date: last_event_date
         
     | 
| 
      
 75 
     | 
    
         
            +
                    last_event_date: last_event_date,
         
     | 
| 
      
 76 
     | 
    
         
            +
                    shipping: shipping
         
     | 
| 
       65 
77 
     | 
    
         
             
                  )
         
     | 
| 
       66 
78 
     | 
    
         
             
                end
         
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
       68 
80 
     | 
    
         
             
                def self.url(code)
         
     | 
| 
       69 
81 
     | 
    
         
             
                  PagseguroClient.transaction_url(code)
         
     | 
| 
       70 
82 
     | 
    
         
             
                end
         
     | 
| 
         @@ -7,7 +7,7 @@ module PagseguroClient 
     | 
|
| 
       7 
7 
     | 
    
         
             
                  subject {
         
     | 
| 
       8 
8 
     | 
    
         
             
                    Transaction.create_by_xml(File.read("spec/support/notification.xml"))
         
     | 
| 
       9 
9 
     | 
    
         
             
                  }
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       11 
11 
     | 
    
         
             
                  its(:code) { should == "9E884542-81B3-4419-9A75-BCC6FB495EF1" }
         
     | 
| 
       12 
12 
     | 
    
         
             
                  its(:order_id) { should == "REF1234" }
         
     | 
| 
       13 
13 
     | 
    
         
             
                  its(:status) { should == :approved }
         
     | 
| 
         @@ -16,6 +16,9 @@ module PagseguroClient 
     | 
|
| 
       16 
16 
     | 
    
         
             
                  its(:sender) {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    should == { name: 'José Comprador', email: 'comprador@uol.com.br', phone: { area_code: '11', number: '56273440'}}
         
     | 
| 
       18 
18 
     | 
    
         
             
                  }
         
     | 
| 
      
 19 
     | 
    
         
            +
                  its(:shipping)  {
         
     | 
| 
      
 20 
     | 
    
         
            +
                    should == { type: :pac, cost: 21.50 }
         
     | 
| 
      
 21 
     | 
    
         
            +
                  }
         
     | 
| 
       19 
22 
     | 
    
         
             
                end
         
     | 
| 
       20 
23 
     | 
    
         
             
              end
         
     | 
| 
       21 
24 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1,56 +1,56 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
         
     | 
| 
       2 
2 
     | 
    
         
             
            <transaction>
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
                <date>2011-02-10T16:13:41.000-03:00</date>
         
     | 
| 
      
 4 
     | 
    
         
            +
                <code>9E884542-81B3-4419-9A75-BCC6FB495EF1</code>
         
     | 
| 
      
 5 
     | 
    
         
            +
                <reference>REF1234</reference>
         
     | 
| 
      
 6 
     | 
    
         
            +
                <type>1</type>
         
     | 
| 
      
 7 
     | 
    
         
            +
                <status>3</status>
         
     | 
| 
      
 8 
     | 
    
         
            +
                <lastEventDate>2011-02-15T17:39:14.000-03:00</lastEventDate>
         
     | 
| 
      
 9 
     | 
    
         
            +
                <paymentMethod>
         
     | 
| 
      
 10 
     | 
    
         
            +
                    <type>1</type>
         
     | 
| 
      
 11 
     | 
    
         
            +
                    <code>101</code>
         
     | 
| 
      
 12 
     | 
    
         
            +
                </paymentMethod>
         
     | 
| 
      
 13 
     | 
    
         
            +
                <grossAmount>49900.00</grossAmount>
         
     | 
| 
      
 14 
     | 
    
         
            +
                <discountAmount>0.00</discountAmount>
         
     | 
| 
      
 15 
     | 
    
         
            +
                <feeAmount>0.00</feeAmount>
         
     | 
| 
      
 16 
     | 
    
         
            +
                <netAmount>49900.00</netAmount>
         
     | 
| 
      
 17 
     | 
    
         
            +
                <extraAmount>0.00</extraAmount>
         
     | 
| 
      
 18 
     | 
    
         
            +
                <installmentCount>1</installmentCount>
         
     | 
| 
      
 19 
     | 
    
         
            +
                <itemCount>2</itemCount>
         
     | 
| 
      
 20 
     | 
    
         
            +
                <items>
         
     | 
| 
      
 21 
     | 
    
         
            +
                    <item>
         
     | 
| 
      
 22 
     | 
    
         
            +
                        <id>0001</id>
         
     | 
| 
      
 23 
     | 
    
         
            +
                        <description>Notebook Prata</description>
         
     | 
| 
      
 24 
     | 
    
         
            +
                        <quantity>1</quantity>
         
     | 
| 
      
 25 
     | 
    
         
            +
                        <amount>24300.00</amount>
         
     | 
| 
      
 26 
     | 
    
         
            +
                    </item>
         
     | 
| 
      
 27 
     | 
    
         
            +
                    <item>
         
     | 
| 
      
 28 
     | 
    
         
            +
                        <id>0002</id>
         
     | 
| 
      
 29 
     | 
    
         
            +
                        <description>Notebook Rosa</description>
         
     | 
| 
      
 30 
     | 
    
         
            +
                        <quantity>1</quantity>
         
     | 
| 
      
 31 
     | 
    
         
            +
                        <amount>25600.00</amount>
         
     | 
| 
      
 32 
     | 
    
         
            +
                    </item>
         
     | 
| 
      
 33 
     | 
    
         
            +
                </items>
         
     | 
| 
      
 34 
     | 
    
         
            +
                <sender>
         
     | 
| 
      
 35 
     | 
    
         
            +
                    <name>Jos� Comprador</name>
         
     | 
| 
      
 36 
     | 
    
         
            +
                    <email>comprador@uol.com.br</email>
         
     | 
| 
      
 37 
     | 
    
         
            +
                    <phone>
         
     | 
| 
      
 38 
     | 
    
         
            +
                        <areaCode>11</areaCode>
         
     | 
| 
      
 39 
     | 
    
         
            +
                        <number>56273440</number>
         
     | 
| 
      
 40 
     | 
    
         
            +
                    </phone>
         
     | 
| 
      
 41 
     | 
    
         
            +
                </sender>
         
     | 
| 
      
 42 
     | 
    
         
            +
                <shipping>
         
     | 
| 
      
 43 
     | 
    
         
            +
                    <address>
         
     | 
| 
      
 44 
     | 
    
         
            +
                        <street>Av. Brig. Faria Lima</street>
         
     | 
| 
      
 45 
     | 
    
         
            +
                        <number>1384</number>
         
     | 
| 
      
 46 
     | 
    
         
            +
                        <complement>5o andar</complement>
         
     | 
| 
      
 47 
     | 
    
         
            +
                        <district>Jardim Paulistano</district>
         
     | 
| 
      
 48 
     | 
    
         
            +
                        <postalCode>01452002</postalCode>
         
     | 
| 
      
 49 
     | 
    
         
            +
                        <city>Sao Paulo</city>
         
     | 
| 
      
 50 
     | 
    
         
            +
                        <state>SP</state>
         
     | 
| 
      
 51 
     | 
    
         
            +
                        <country>BRA</country>
         
     | 
| 
      
 52 
     | 
    
         
            +
                    </address>
         
     | 
| 
      
 53 
     | 
    
         
            +
                    <type>1</type>
         
     | 
| 
      
 54 
     | 
    
         
            +
                    <cost>21.50</cost>
         
     | 
| 
      
 55 
     | 
    
         
            +
                </shipping>
         
     | 
| 
       56 
56 
     | 
    
         
             
            </transaction>
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,8 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: pagseguro_client
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
       5 
     | 
    
         
            -
              prerelease: 
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.4.0
         
     | 
| 
       6 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
7 
     | 
    
         
             
            - Matheus Tardivo
         
     | 
| 
         @@ -11,12 +10,11 @@ authors: 
     | 
|
| 
       11 
10 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       12 
11 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       13 
12 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       14 
     | 
    
         
            -
            date: 2013- 
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2013-10-01 00:00:00.000000000 Z
         
     | 
| 
       15 
14 
     | 
    
         
             
            dependencies:
         
     | 
| 
       16 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       17 
16 
     | 
    
         
             
              name: bundler
         
     | 
| 
       18 
17 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       19 
     | 
    
         
            -
                none: false
         
     | 
| 
       20 
18 
     | 
    
         
             
                requirements:
         
     | 
| 
       21 
19 
     | 
    
         
             
                - - ~>
         
     | 
| 
       22 
20 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -24,7 +22,6 @@ dependencies: 
     | 
|
| 
       24 
22 
     | 
    
         
             
              type: :development
         
     | 
| 
       25 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       26 
24 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       27 
     | 
    
         
            -
                none: false
         
     | 
| 
       28 
25 
     | 
    
         
             
                requirements:
         
     | 
| 
       29 
26 
     | 
    
         
             
                - - ~>
         
     | 
| 
       30 
27 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -32,7 +29,6 @@ dependencies: 
     | 
|
| 
       32 
29 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       33 
30 
     | 
    
         
             
              name: rake
         
     | 
| 
       34 
31 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       35 
     | 
    
         
            -
                none: false
         
     | 
| 
       36 
32 
     | 
    
         
             
                requirements:
         
     | 
| 
       37 
33 
     | 
    
         
             
                - - ~>
         
     | 
| 
       38 
34 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -40,7 +36,6 @@ dependencies: 
     | 
|
| 
       40 
36 
     | 
    
         
             
              type: :development
         
     | 
| 
       41 
37 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       42 
38 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       43 
     | 
    
         
            -
                none: false
         
     | 
| 
       44 
39 
     | 
    
         
             
                requirements:
         
     | 
| 
       45 
40 
     | 
    
         
             
                - - ~>
         
     | 
| 
       46 
41 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -48,7 +43,6 @@ dependencies: 
     | 
|
| 
       48 
43 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       49 
44 
     | 
    
         
             
              name: rspec
         
     | 
| 
       50 
45 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       51 
     | 
    
         
            -
                none: false
         
     | 
| 
       52 
46 
     | 
    
         
             
                requirements:
         
     | 
| 
       53 
47 
     | 
    
         
             
                - - ~>
         
     | 
| 
       54 
48 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -56,7 +50,6 @@ dependencies: 
     | 
|
| 
       56 
50 
     | 
    
         
             
              type: :development
         
     | 
| 
       57 
51 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       58 
52 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       59 
     | 
    
         
            -
                none: false
         
     | 
| 
       60 
53 
     | 
    
         
             
                requirements:
         
     | 
| 
       61 
54 
     | 
    
         
             
                - - ~>
         
     | 
| 
       62 
55 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -64,7 +57,6 @@ dependencies: 
     | 
|
| 
       64 
57 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       65 
58 
     | 
    
         
             
              name: rails
         
     | 
| 
       66 
59 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       67 
     | 
    
         
            -
                none: false
         
     | 
| 
       68 
60 
     | 
    
         
             
                requirements:
         
     | 
| 
       69 
61 
     | 
    
         
             
                - - ~>
         
     | 
| 
       70 
62 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -72,7 +64,6 @@ dependencies: 
     | 
|
| 
       72 
64 
     | 
    
         
             
              type: :development
         
     | 
| 
       73 
65 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       74 
66 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       75 
     | 
    
         
            -
                none: false
         
     | 
| 
       76 
67 
     | 
    
         
             
                requirements:
         
     | 
| 
       77 
68 
     | 
    
         
             
                - - ~>
         
     | 
| 
       78 
69 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -80,7 +71,6 @@ dependencies: 
     | 
|
| 
       80 
71 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       81 
72 
     | 
    
         
             
              name: coveralls
         
     | 
| 
       82 
73 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       83 
     | 
    
         
            -
                none: false
         
     | 
| 
       84 
74 
     | 
    
         
             
                requirements:
         
     | 
| 
       85 
75 
     | 
    
         
             
                - - ~>
         
     | 
| 
       86 
76 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -88,7 +78,6 @@ dependencies: 
     | 
|
| 
       88 
78 
     | 
    
         
             
              type: :development
         
     | 
| 
       89 
79 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       90 
80 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       91 
     | 
    
         
            -
                none: false
         
     | 
| 
       92 
81 
     | 
    
         
             
                requirements:
         
     | 
| 
       93 
82 
     | 
    
         
             
                - - ~>
         
     | 
| 
       94 
83 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -96,7 +85,6 @@ dependencies: 
     | 
|
| 
       96 
85 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       97 
86 
     | 
    
         
             
              name: nokogiri
         
     | 
| 
       98 
87 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       99 
     | 
    
         
            -
                none: false
         
     | 
| 
       100 
88 
     | 
    
         
             
                requirements:
         
     | 
| 
       101 
89 
     | 
    
         
             
                - - ~>
         
     | 
| 
       102 
90 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -104,7 +92,6 @@ dependencies: 
     | 
|
| 
       104 
92 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       105 
93 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       106 
94 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       107 
     | 
    
         
            -
                none: false
         
     | 
| 
       108 
95 
     | 
    
         
             
                requirements:
         
     | 
| 
       109 
96 
     | 
    
         
             
                - - ~>
         
     | 
| 
       110 
97 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -112,7 +99,6 @@ dependencies: 
     | 
|
| 
       112 
99 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       113 
100 
     | 
    
         
             
              name: rest-client
         
     | 
| 
       114 
101 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       115 
     | 
    
         
            -
                none: false
         
     | 
| 
       116 
102 
     | 
    
         
             
                requirements:
         
     | 
| 
       117 
103 
     | 
    
         
             
                - - ~>
         
     | 
| 
       118 
104 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -120,7 +106,6 @@ dependencies: 
     | 
|
| 
       120 
106 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       121 
107 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       122 
108 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       123 
     | 
    
         
            -
                none: false
         
     | 
| 
       124 
109 
     | 
    
         
             
                requirements:
         
     | 
| 
       125 
110 
     | 
    
         
             
                - - ~>
         
     | 
| 
       126 
111 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -162,33 +147,26 @@ files: 
     | 
|
| 
       162 
147 
     | 
    
         
             
            - templates/config.yml
         
     | 
| 
       163 
148 
     | 
    
         
             
            homepage: https://github.com/matheustardivo/pagseguro_client
         
     | 
| 
       164 
149 
     | 
    
         
             
            licenses: []
         
     | 
| 
      
 150 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
       165 
151 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       166 
152 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       167 
153 
     | 
    
         
             
            require_paths:
         
     | 
| 
       168 
154 
     | 
    
         
             
            - lib
         
     | 
| 
       169 
155 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       170 
     | 
    
         
            -
              none: false
         
     | 
| 
       171 
156 
     | 
    
         
             
              requirements:
         
     | 
| 
       172 
     | 
    
         
            -
              - -  
     | 
| 
      
 157 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       173 
158 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       174 
159 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       175 
     | 
    
         
            -
                  segments:
         
     | 
| 
       176 
     | 
    
         
            -
                  - 0
         
     | 
| 
       177 
     | 
    
         
            -
                  hash: 3990532896580861637
         
     | 
| 
       178 
160 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       179 
     | 
    
         
            -
              none: false
         
     | 
| 
       180 
161 
     | 
    
         
             
              requirements:
         
     | 
| 
       181 
     | 
    
         
            -
              - -  
     | 
| 
      
 162 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       182 
163 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       183 
164 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       184 
     | 
    
         
            -
                  segments:
         
     | 
| 
       185 
     | 
    
         
            -
                  - 0
         
     | 
| 
       186 
     | 
    
         
            -
                  hash: 3990532896580861637
         
     | 
| 
       187 
165 
     | 
    
         
             
            requirements: []
         
     | 
| 
       188 
166 
     | 
    
         
             
            rubyforge_project: pagseguro_client
         
     | 
| 
       189 
     | 
    
         
            -
            rubygems_version:  
     | 
| 
      
 167 
     | 
    
         
            +
            rubygems_version: 2.0.3
         
     | 
| 
       190 
168 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       191 
     | 
    
         
            -
            specification_version:  
     | 
| 
      
 169 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
       192 
170 
     | 
    
         
             
            summary: The library to access the new services from Pagseguro (v2)
         
     | 
| 
       193 
171 
     | 
    
         
             
            test_files:
         
     | 
| 
       194 
172 
     | 
    
         
             
            - spec/pagseguro_client/base_spec.rb
         
     |