solidus_pagseguro_oficial 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16856a24e90700ae536d54f7c56d0996260f7a9a
|
4
|
+
data.tar.gz: 74ecce3ce7ecc5e713108c77870cb256140cc5f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01fb01bdbbe4b84a610c055c3211e880d39d3bad992bd58dd8079a648e902daed6705ba691ce65cce5c489730e824e78b5718f8a9d36cfd1551f32785676be87
|
7
|
+
data.tar.gz: 58dfb3d4efc824a47b2624e344dcfe05beb8eb7b7fa6e143a0d45a98dd3f9baeef03aba009044c29d923b519b4a61310169e5f8613a92fdbd5357989b8941575
|
@@ -33,12 +33,12 @@ class Spree::PagseguroProvider
|
|
33
33
|
|
34
34
|
def sender
|
35
35
|
{
|
36
|
-
name: @
|
37
|
-
email: @
|
36
|
+
name: @order.bill_address.full_name,
|
37
|
+
email: @order.email,
|
38
38
|
cpf: @user.cpf,
|
39
39
|
phone: {
|
40
|
-
area_code: @
|
41
|
-
number: @
|
40
|
+
area_code: @order.bill_address.phone_area_code,
|
41
|
+
number: @order.bill_address.phone_number
|
42
42
|
}
|
43
43
|
}
|
44
44
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'solidus_pagseguro_oficial'
|
5
|
-
s.version = '1.1.
|
5
|
+
s.version = '1.1.2'
|
6
6
|
s.summary = 'Solidus Extension to PagSeguro integration'
|
7
7
|
s.description = s.summary
|
8
8
|
s.required_ruby_version = '>= 2.2.2'
|
@@ -6,8 +6,8 @@ module Spree
|
|
6
6
|
|
7
7
|
context '#init_transaction' do
|
8
8
|
let(:address) { build(:address_brazil) }
|
9
|
-
let(:
|
10
|
-
let(:
|
9
|
+
let(:user) { create(:user) }
|
10
|
+
let(:order) { create(:order_with_line_items, bill_address: address, ship_address: address, user: user) }
|
11
11
|
|
12
12
|
subject { PagseguroProvider.new order, user, "#{HOST}/notify", "#{HOST}/confirm" }
|
13
13
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_pagseguro_oficial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Domingues
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|