solidus_bling 3.1.1 → 3.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
  SHA256:
3
- metadata.gz: d36d88a6fcf16e213530123368d8b5c5fc321abb205febe6359ae2c6b01a95ad
4
- data.tar.gz: c21379540afe76b1da77f06b047969b1d77ccefdf8869c4239bd6f9336e42e13
3
+ metadata.gz: 35c7eb372c6064dce193bc26212d674fc52d640aa9a5b82e419df0c9687b5dff
4
+ data.tar.gz: 05d5eebd774563a202e33481f5dcf555db44c0af225aaab1a6657b46ddd35e82
5
5
  SHA512:
6
- metadata.gz: 7fa4995f1cd64d553f4a48fd4978055595e7967ffcf11853b163fa692f208e54d103ad353763d5744dd82cdc05ebe9fd8f1512b4386fbff024169f79fad6533e
7
- data.tar.gz: 2e5abb9964ae48c90be1065dce1d28526d46dbb850396efc0c24586134c1df693a32a5af98a0b2e919b56a29fffec41b83c2d38b8e7bd1185754a187a494a655
6
+ metadata.gz: 339dd623af0910e3ddda55891b1879daa3ae7e0a5cc76e7f570afe24e151f23a20a763ab5314bfaacaa22da34f55cddce0f9c9803734bb7e3688ee9047a13de9
7
+ data.tar.gz: 6d82708caccccd65b6cd622f9fe89fcce74828bf495040dad9326f81d19eff00d46c1585cd362315d6eba716dfb84be27e288eb61af7a70bf5f77e865b69f8bb
@@ -15,7 +15,7 @@ module SolidusBling
15
15
  observacoes_internas = internal_observations
16
16
  transporte = shipment
17
17
 
18
- BlingApi::Order.new(
18
+ bling_order = BlingApi::Order.new(
19
19
  id_contato: contato.id,
20
20
  items: items,
21
21
  parcelas: parcelas,
@@ -31,6 +31,10 @@ module SolidusBling
31
31
  transporte: transporte,
32
32
  id_vendedor: @account.sellers.first.external_id
33
33
  ).create
34
+
35
+ if bling_order
36
+ @order.update(bling_order_id: bling_order.id)
37
+ end
34
38
  end
35
39
 
36
40
  def costumer
data/bin/meu_sandbox CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusBling
4
- VERSION = "3.1.1"
4
+ VERSION = "3.2"
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.1.1
4
+ version: '3.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamilton Tumenas Borges
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2023-12-04 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: []
@@ -154,7 +154,7 @@ metadata:
154
154
  homepage_uri: https://github.com/hamiltontborges/solidus_bling#readme
155
155
  source_code_uri: https://github.com/hamiltontborges/solidus_bling
156
156
  changelog_uri: https://github.com/hamiltontborges/solidus_bling/blob/master/CHANGELOG.md
157
- post_install_message:
157
+ post_install_message:
158
158
  rdoc_options: []
159
159
  require_paths:
160
160
  - lib
@@ -172,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  requirements: []
175
- rubygems_version: 3.4.19
176
- signing_key:
175
+ rubygems_version: 3.4.20
176
+ signing_key:
177
177
  specification_version: 4
178
178
  summary: Solidus extension to integrate with the Bling
179
179
  test_files: []