enotas_api 4.3.3 → 4.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d88e8e9d10a80745f194b2e2af167252a731af596f70a57f5f513da55dd57c0
4
- data.tar.gz: e2d094508369bd5da1e46bb11b343d7280646785762bd984707bb48ff57de3ad
3
+ metadata.gz: 94e6936e9bc2adcb9483b2ba5257280237d0b51a22ddc495c1936cde8d51721a
4
+ data.tar.gz: fcd127e525deef906c44aa7291b988340fc622511a620336bcf3ec8e19e9a2c1
5
5
  SHA512:
6
- metadata.gz: f212306359ded10583b7ebc7d1631b1d08f7f882a2a902f06732a85847ba74c8213c167cc53171871355ca34b5c0f6ddca188bf13229f7a735767d889546c878
7
- data.tar.gz: e11ec54cee1e7b4bd32bbce054062a2d47bb671751f6242fb268d9539faedcada675a822270ba45c50d1b23b9ac59ec820ed68215308324aa37eedfb0cc16a74
6
+ metadata.gz: 80cf477d312cfde49d107fa2dd72f9d3ccf125265fe59d029a5ae55df80ce9c0949030d68ac5257625e8dd36c2f7400a8f5755d84139ed56f0997ee07a3853d6
7
+ data.tar.gz: 19c53a6a93f51179fbe619526146d31ef2875ea1a4fb99719aa6fd18473169383183e7a18250a372b7783510b757417f4dc334051a3b30ba6f674448ad645429
@@ -18,7 +18,7 @@ jobs:
18
18
  runs-on: ubuntu-latest
19
19
 
20
20
  steps:
21
- - uses: actions/checkout@v3
21
+ - uses: actions/checkout@v4
22
22
  - name: Set up Ruby 3.2
23
23
  uses: ruby/setup-ruby@v1
24
24
  with:
@@ -28,7 +28,3 @@ jobs:
28
28
  run: bundle install
29
29
  - name: Run tests
30
30
  run: bundle exec rake
31
- - name: Publish Coverage
32
- uses: paambaati/codeclimate-action@v5.0.0
33
- env:
34
- CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # 4.3.4
2
+ - Add ibsCbs structure on v2/nfc-e items impostos
1
3
  # 4.3.3
2
4
  - Add IbsCbs (classificacaoTributaria and codigoIndicadorOperacao) structure on v1/nfs-e
3
5
  # 4.3.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enotas_api (4.3.3)
4
+ enotas_api (4.3.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,4 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/enotas_api.svg)](https://badge.fury.io/rb/enotas_api)
2
- [![Maintainability](https://api.codeclimate.com/v1/badges/41c671eb551e1c6c7cf1/maintainability)](https://codeclimate.com/github/bempapp/enotas_api/maintainability)
3
- [![Test Coverage](https://api.codeclimate.com/v1/badges/41c671eb551e1c6c7cf1/test_coverage)](https://codeclimate.com/github/bempapp/enotas_api/test_coverage)
4
2
 
5
3
  # EnotasApi
6
4
  *enotas_api* é um cliente ruby para a [API](https://docs.enotasgw.com.br/reference) do [e-notas](https://enotas.com.br/).
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class NfceImpostoCbs < EnotasApi::Entity
8
+ attributes aliquota: :decimal,
9
+ percentualDiferimento: :decimal,
10
+ percentualReducaoAliquota: :decimal
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+ require_relative 'nfce_imposto_ibs_uf'
5
+ require_relative 'nfce_imposto_ibs_municipio'
6
+
7
+ module EnotasApi
8
+ module V2
9
+ class NfceImpostoIbs < EnotasApi::Entity
10
+ attributes uf: NfceImpostoIbsUf,
11
+ municipio: NfceImpostoIbsMunicipio
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+ require_relative 'nfce_imposto_ibs'
5
+ require_relative 'nfce_imposto_cbs'
6
+
7
+ module EnotasApi
8
+ module V2
9
+ class NfceImpostoIbsCbs < EnotasApi::Entity
10
+ attributes situacaoTributaria: :string,
11
+ classificacaoTributaria: :string,
12
+ ibs: NfceImpostoIbs,
13
+ cbs: NfceImpostoCbs
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class NfceImpostoIbsMunicipio < EnotasApi::Entity
8
+ attributes aliquota: :decimal
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class NfceImpostoIbsUf < EnotasApi::Entity
8
+ attributes aliquota: :decimal,
9
+ percentualDiferimento: :decimal,
10
+ percentualReducaoAliquota: :decimal
11
+ end
12
+ end
13
+ end
@@ -6,6 +6,7 @@ require_relative 'nfce_imposto_icms'
6
6
  require_relative 'nfce_imposto_pis'
7
7
  require_relative 'nfce_imposto_cofins'
8
8
  require_relative 'nfce_imposto_ipi'
9
+ require_relative 'nfce_imposto_ibs_cbs'
9
10
 
10
11
  module EnotasApi
11
12
  module V2
@@ -14,7 +15,8 @@ module EnotasApi
14
15
  icms: NfceImpostoIcms,
15
16
  pis: NfceImpostoPis,
16
17
  cofins: NfceImpostoCofins,
17
- ipi: NfceImpostoIpi
18
+ ipi: NfceImpostoIpi,
19
+ ibsCbs: NfceImpostoIbsCbs
18
20
  end
19
21
  end
20
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EnotasApi
4
- VERSION = '4.3.3'
4
+ VERSION = '4.3.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enotas_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.3
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Bohrer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-12 00:00:00.000000000 Z
11
+ date: 2026-10-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Non oficial, well supported, e-notas ruby api client
14
14
  email:
@@ -93,7 +93,12 @@ files:
93
93
  - lib/enotas_api/v2/entities/nfce.rb
94
94
  - lib/enotas_api/v2/entities/nfce_cliente.rb
95
95
  - lib/enotas_api/v2/entities/nfce_cliente_endereco.rb
96
+ - lib/enotas_api/v2/entities/nfce_imposto_cbs.rb
96
97
  - lib/enotas_api/v2/entities/nfce_imposto_cofins.rb
98
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs.rb
99
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs_cbs.rb
100
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs_municipio.rb
101
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs_uf.rb
97
102
  - lib/enotas_api/v2/entities/nfce_imposto_icms.rb
98
103
  - lib/enotas_api/v2/entities/nfce_imposto_ipi.rb
99
104
  - lib/enotas_api/v2/entities/nfce_imposto_percentual_aproximado_tributos.rb
@@ -152,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
157
  - !ruby/object:Gem::Version
153
158
  version: '0'
154
159
  requirements: []
155
- rubygems_version: 3.4.10
160
+ rubygems_version: 3.3.27
156
161
  signing_key:
157
162
  specification_version: 4
158
163
  summary: E-notas API client