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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 231c96fd1ebd648e94da37b7e17cc45490e95ad6cf4e5da531fe1e88982d3434
4
- data.tar.gz: 2ce7620b0497b48bae6951a019f003c511ed47d56abedc4f571b531cf7619eaa
3
+ metadata.gz: 487d94d0d4e79c06e4671aade35b28208a62c52c18a7a9f1b9ce0ccdbf5fc53b
4
+ data.tar.gz: b4a1825e8792d47a70904effe28bda836e935f291ad1f9d07d383c0af7b3798b
5
5
  SHA512:
6
- metadata.gz: 7a62f64423a6fc8bb3ef59382ec0b4bb7c9fba3515781869fb145b76b45ed7b46bf90ad01e053c0a3cc00e867bb9471732664ad168ab0ee9aa02769b744a7be7
7
- data.tar.gz: 52d0f7e27c9a10129db9babc4032e81a8cc04cd01c4eef172a06756426a16ac16919a427745b9ac399a308b3fb4fc5a3c034f338492a18c7239ad099004f888c
6
+ metadata.gz: 518b1de81ba3d0300a2b69b410a0f29039ce72812b58fa0e372e9717335ed689ad4fe08bf32e634d77696c82ff78cc893151a3d05022a1168b8946b2be9ebbc1
7
+ data.tar.gz: e419e16356268343549e0f79dc1b0060aad5666c4ceb898595ab11b96beb32b2fd1c84259ddeac7c9170cd8d9aead228c189caf84f790f498514aa618c24e542
@@ -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', user.cpf.gsub(/[\.\-]*/, '').strip)
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
@@ -1,3 +1,3 @@
1
1
  module Clearsale
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
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.0
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: 2018-12-30 00:00:00.000000000 Z
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
- rubyforge_project:
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