solidus_bling 3.4.6 → 3.4.7
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 +4 -4
- data/app/models/solidus_bling/order.rb +2 -2
- data/lib/solidus_bling/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56e8fbb1732ef497839696f2872f0389e7c1bb32b3aa92e3561b597faa0a17fa
|
|
4
|
+
data.tar.gz: 488b52e956f163ef4754f2f8d45a8b4a0b17f01fcbf9664f93d379106a4330e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97b3d88c9274678b1ec5343758fdda8d16b773caa2b7c3823cbf2e6008f66f4df8f8a294d19dd77d7b66a88fc2c6f4e1c639af164601f4a5b33cfabaae3d25c4
|
|
7
|
+
data.tar.gz: 58489d4529745b26aa99cb02e3f14159e77536cc3d5f843313cb2a6f072610dc2aaf1a7067a8d41bc37bfb219ebad8d68ce9b85b717d52ffd7cffa05afa607ff
|
|
@@ -61,7 +61,7 @@ module SolidusBling
|
|
|
61
61
|
contato = BlingApi::Customer.new(
|
|
62
62
|
pessoa_juridica: @order.tax_id.length > 14,
|
|
63
63
|
numero_documento: @order.tax_id,
|
|
64
|
-
cod_contribuinte: @order.tax_id.length > 14 ? nil : "9",
|
|
64
|
+
cod_contribuinte: (@order.tax_id.length > 14) ? nil : "9",
|
|
65
65
|
situacao: "A",
|
|
66
66
|
**build_customer
|
|
67
67
|
).create
|
|
@@ -144,7 +144,7 @@ module SolidusBling
|
|
|
144
144
|
|
|
145
145
|
def build_customer
|
|
146
146
|
{
|
|
147
|
-
nome: @order.
|
|
147
|
+
nome: @order.nf_name.strip,
|
|
148
148
|
telefone: @order.bill_address.phone.strip,
|
|
149
149
|
email: @order.email.strip,
|
|
150
150
|
endereco: {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_bling
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Todas Essas Coisas
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: solidus_core
|
|
@@ -86,7 +86,7 @@ dependencies:
|
|
|
86
86
|
- - "~>"
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
88
|
version: '2.7'
|
|
89
|
-
description:
|
|
89
|
+
description:
|
|
90
90
|
email: hamiltontubo@gmail.com
|
|
91
91
|
executables: []
|
|
92
92
|
extensions: []
|
|
@@ -168,7 +168,7 @@ metadata:
|
|
|
168
168
|
homepage_uri: https://github.com/hamiltontborges/solidus_bling#readme
|
|
169
169
|
source_code_uri: https://github.com/todasessascoisas/solidus_bling
|
|
170
170
|
changelog_uri: https://github.com/todasessascoisas/solidus_bling/blob/master/CHANGELOG.md
|
|
171
|
-
post_install_message:
|
|
171
|
+
post_install_message:
|
|
172
172
|
rdoc_options: []
|
|
173
173
|
require_paths:
|
|
174
174
|
- lib
|
|
@@ -186,8 +186,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
187
|
version: '0'
|
|
188
188
|
requirements: []
|
|
189
|
-
rubygems_version: 3.5.
|
|
190
|
-
signing_key:
|
|
189
|
+
rubygems_version: 3.5.10
|
|
190
|
+
signing_key:
|
|
191
191
|
specification_version: 4
|
|
192
192
|
summary: Solidus extension to integrate with the Bling
|
|
193
193
|
test_files: []
|