clearsaleID 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clearsale/order.rb +1 -1
- data/lib/clearsale/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 487d94d0d4e79c06e4671aade35b28208a62c52c18a7a9f1b9ce0ccdbf5fc53b
|
4
|
+
data.tar.gz: b4a1825e8792d47a70904effe28bda836e935f291ad1f9d07d383c0af7b3798b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 518b1de81ba3d0300a2b69b410a0f29039ce72812b58fa0e372e9717335ed689ad4fe08bf32e634d77696c82ff78cc893151a3d05022a1168b8946b2be9ebbc1
|
7
|
+
data.tar.gz: e419e16356268343549e0f79dc1b0060aad5666c4ceb898595ab11b96beb32b2fd1c84259ddeac7c9170cd8d9aead228c189caf84f790f498514aa618c24e542
|
data/lib/clearsale/order.rb
CHANGED
@@ -115,7 +115,7 @@ module Clearsale
|
|
115
115
|
b.tag!('TipoCartao', CARD_TYPE_MAP.fetch(payment.acquirer.to_sym, 4)) # Failover is 'outros'
|
116
116
|
b.tag!('DataValidadeCartao', payment.card_expiration)
|
117
117
|
b.tag!('NomeTitularCartao', payment.customer_name)
|
118
|
-
b.tag!('DocumentoLegal1',
|
118
|
+
b.tag!('DocumentoLegal1', payment.cpf.gsub(/\D+/, '')) if payment.cpf
|
119
119
|
|
120
120
|
build_collection_address(b, Object.new(order.billing_address))
|
121
121
|
end
|
data/lib/clearsale/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clearsaleID
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -260,8 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
|
264
|
-
rubygems_version: 2.7.7
|
263
|
+
rubygems_version: 3.0.6
|
265
264
|
signing_key:
|
266
265
|
specification_version: 4
|
267
266
|
summary: clearsale gem to use Clearsale ClearID service
|