solidus_bling 3.4.6 → 3.4.7

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: 96ae26320b68f766dc44bb621d62ea6588edca4942dd652e27f9db773b3746a7
4
- data.tar.gz: 3cc77c798db3a3e13fae2af0825d3ab9f1c11b9cec025873d7858a47bbb8ad75
3
+ metadata.gz: 56e8fbb1732ef497839696f2872f0389e7c1bb32b3aa92e3561b597faa0a17fa
4
+ data.tar.gz: 488b52e956f163ef4754f2f8d45a8b4a0b17f01fcbf9664f93d379106a4330e4
5
5
  SHA512:
6
- metadata.gz: e84e85d97a04a3515d3dda9d97e46f8fe947bf15590d315f4fef2a4972d3804c903244e074e041e270d635015db561a1c72a62514ad7de8d25ca5ffeef3bce2e
7
- data.tar.gz: 4cf11ba85c9efe1315a498ef9bde72528ee84de38c4768ee416d2bc222adf9897ebb50def3d382e5cd21728441cbaa41f361af7d8c25df31a7ae362b69053d50
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.bill_address.name.strip,
147
+ nome: @order.nf_name.strip,
148
148
  telefone: @order.bill_address.phone.strip,
149
149
  email: @order.email.strip,
150
150
  endereco: {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusBling
4
- VERSION = "3.4.6"
4
+ VERSION = "3.4.7"
5
5
  end
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.6
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-08-30 00:00:00.000000000 Z
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.11
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: []