solidus_bling 3.2.4 → 3.2.5

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: a4aa45ed6e6e0de0c843e2909ed2261a4cfa8787a689a786eb893e0f04e458f0
4
- data.tar.gz: 256d6b46f98c5115cec394e9aaec7f04da4e7ca50350cd9cd19c816142d6a7d7
3
+ metadata.gz: 0ba2bd997458b89796885c592bfc4b9c51f42636dcdd0983c26083fb26bbcf63
4
+ data.tar.gz: 22e9ec23279ae6549f26fb1d562589bd08bf9fe7fd0ea887f3965c6804be4b4b
5
5
  SHA512:
6
- metadata.gz: 3742f7bbbfaf953267336de35150d59d98cb22f3dd2a17f34c6a26a3341a6df32491d7c8b96cc711a68dfc82cf89b4eb2b8d4327d20aa356268cc65307125c5d
7
- data.tar.gz: dde195d7b304c01260330591d538e66c7f103a9b91bc1607a3870b907b3c543afdae4346bff680dcf0ebfd1dca9ff47a4e278d26b6ac80e67088eaf6ee4b3ebf
6
+ metadata.gz: cbefa4a49f2e24145ca22a67a56bef12c475802b0a9bf1c41a6b40778ae006cb321f902857cab23e358ebe5ce5ba744e3cca84f8a090aae9e268916b7771bcd7
7
+ data.tar.gz: c676680192ac8eeabb6f307c593f679e802b80f50458568ff35c3ca8f1cf38d44c1ec77041fe56c7bb782c89a5a66db22bd6cdbffba51a11b8499a2d85c3f17e
data/README.md CHANGED
@@ -1,10 +1,5 @@
1
1
  # Solidus Bling
2
2
 
3
- [![CircleCI](https://circleci.com/gh/solidusio-contrib/solidus_bling.svg?style=shield)](https://circleci.com/gh/solidusio-contrib/solidus_bling)
4
- [![codecov](https://codecov.io/gh/solidusio-contrib/solidus_bling/branch/master/graph/badge.svg)](https://codecov.io/gh/solidusio-contrib/solidus_bling)
5
-
6
- <!-- Explain what your extension does. -->
7
-
8
3
  ## Installation
9
4
 
10
5
  Add solidus_bling to your Gemfile:
@@ -19,55 +14,6 @@ Bundle your dependencies and run the installation generator:
19
14
  bin/rails generate solidus_bling:install
20
15
  ```
21
16
 
22
- ## Usage
23
-
24
- <!-- Explain how to use your extension once it's been installed. -->
25
-
26
- ## Development
27
-
28
- ### Testing the extension
29
-
30
- First bundle your dependencies, then run `bin/rake`. `bin/rake` will default to building the dummy
31
- app if it does not exist, then it will run specs. The dummy app can be regenerated by using
32
- `bin/rake extension:test_app`.
33
-
34
- ```shell
35
- bin/rake
36
- ```
37
-
38
- To run [Rubocop](https://github.com/bbatsov/rubocop) static code analysis run
39
-
40
- ```shell
41
- bundle exec rubocop
42
- ```
43
-
44
- When testing your application's integration with this extension you may use its factories.
45
- You can load Solidus core factories along with this extension's factories using this statement:
46
-
47
- ```ruby
48
- SolidusDevSupport::TestingSupport::Factories.load_for(SolidusBling::Engine)
49
- ```
50
-
51
- ### Running the sandbox
52
-
53
- To run this extension in a sandboxed Solidus application, you can run `bin/sandbox`. The path for
54
- the sandbox app is `./sandbox` and `bin/rails` will forward any Rails commands to
55
- `sandbox/bin/rails`.
56
-
57
- Here's an example:
58
-
59
- ```
60
- $ bin/rails server
61
- => Booting Puma
62
- => Rails 6.0.2.1 application starting in development
63
- * Listening on tcp://127.0.0.1:3000
64
- Use Ctrl-C to stop
65
- ```
66
-
67
- ### Releasing new versions
68
-
69
- Please refer to the [dedicated page](https://github.com/solidusio/solidus/wiki/How-to-release-extensions) in the Solidus wiki.
70
-
71
17
  ## License
72
18
 
73
19
  Copyright (c) 2023 Hamilton Tumenas Borges, released under the New BSD License.
@@ -51,6 +51,7 @@ module SolidusBling
51
51
  contato = BlingApi::Customer.new(
52
52
  pessoa_juridica: @order.tax_id.length > 14,
53
53
  numero_documento: @order.tax_id,
54
+ cod_contribuinte: @order.tax_id.length > 14 ? nil : "9",
54
55
  **build_customer
55
56
  ).create
56
57
  end
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.2.4"
4
+ VERSION = "3.2.5"
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.2.4
4
+ version: 3.2.5
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: 2024-01-03 00:00:00.000000000 Z
11
+ date: 2024-01-05 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.10
176
- signing_key:
175
+ rubygems_version: 3.4.19
176
+ signing_key:
177
177
  specification_version: 4
178
178
  summary: Solidus extension to integrate with the Bling
179
179
  test_files: []