enotas_nfe 0.0.23 → 0.0.24

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
  SHA1:
3
- metadata.gz: 00bd34cb7675580595b9eeb501cf8155740a49e2
4
- data.tar.gz: 153f1ebad29ae40fed85b06d059d5581f85c300c
3
+ metadata.gz: 8c6dfa1e599b3fa6c9df3bbf2500e18b494478c1
4
+ data.tar.gz: ad02d5422d85e8960abc669692820299fc446fce
5
5
  SHA512:
6
- metadata.gz: 0e06e528713bd6a29392f6c91a1e1f3777b89f688a7a0d4653debb9b718b64d7f454aef5a7f701d91fb2547fe39d0a0fe6004c250ac2b0e010c3d63e8818ac9c
7
- data.tar.gz: f49b88bf4decf3d0405e56f0b642caa15b5b9271392ca372ad171d2278211238bac60a82ca082a7a452b34ce19047a808eb6f57e7cbe9c97c30a38c1550ec381
6
+ metadata.gz: 8d6107b605055eccd30d3069f24ea07e9041a03bd2a883de734751d921b5b174864f9a86554b1c497ed145d3dec00e66cf60e6a5cc9ad7adfd3a1419fae59f0f
7
+ data.tar.gz: 52a1d89d199a0bde9d7e7490dbc8cfd809aa47730d7ef867ebc8b4509978ebe95ed36d3fa0947b2775ca8af373124c6e1ee428356d0fe245e3e8fb224e2e5d7f
@@ -0,0 +1,12 @@
1
+ module EnotasNfe
2
+ module Model
3
+ class Cide
4
+
5
+ include Virtus.model
6
+
7
+ attribute :quantidadeBaseCalculo, Float
8
+ attribute :valorAliquota, Float
9
+ attribute :valor, Float
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,17 @@
1
+ module EnotasNfe
2
+ module Model
3
+ class Combustivel
4
+
5
+ include Virtus.model
6
+ require "enotas_nfe/model/cide"
7
+
8
+ attribute :cide, Cide
9
+ attribute :codigoProdutoANP, String
10
+ attribute :percentualGasNatural, Float
11
+ attribute :codif, Integer
12
+ attribute :quantidadeFaturadaTempAmbiente, Float
13
+ attribute :ufConsumo, String
14
+
15
+ end
16
+ end
17
+ end
@@ -4,6 +4,7 @@ module EnotasNfe
4
4
 
5
5
  include Virtus.model
6
6
  require "enotas_nfe/model/impostos"
7
+ require "enotas_nfe/model/combustivel"
7
8
 
8
9
  attribute :descricao, String
9
10
  attribute :cfop, String
@@ -16,6 +17,7 @@ module EnotasNfe
16
17
  attribute :valorUnitario, Float
17
18
  attribute :descontos, Float
18
19
  attribute :impostos, Impostos
20
+ attribute :combustivel, Combustivel
19
21
  attribute :outrasDespesas, Float
20
22
  attribute :seguro, Float
21
23
 
@@ -9,7 +9,7 @@ module EnotasNfe
9
9
  attribute :cpfCnpj, String
10
10
  attribute :nome, String
11
11
  attribute :inscricaoEstadual, String
12
- attribute :endereco, String
12
+ attribute :enderecoCompleto, String
13
13
  attribute :cidade, String
14
14
  attribute :uf, String
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module EnotasNfe
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
data/lib/enotas_nfe.rb CHANGED
@@ -39,6 +39,8 @@ require "enotas_nfe/model/nfe"
39
39
  require "enotas_nfe/model/carta_correcao"
40
40
  require "enotas_nfe/model/cofins"
41
41
  require "enotas_nfe/model/icms"
42
+ require "enotas_nfe/model/cide"
43
+ require "enotas_nfe/model/combustivel"
42
44
  require "enotas_nfe/model/impostos"
43
45
  require "enotas_nfe/model/issqn"
44
46
  require "enotas_nfe/model/pis"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enotas_nfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Fernando Pimenta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-21 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -135,8 +135,10 @@ files:
135
135
  - lib/enotas_nfe/model/caracteristica_prefeitura.rb
136
136
  - lib/enotas_nfe/model/carta_correcao.rb
137
137
  - lib/enotas_nfe/model/certificado_digital.rb
138
+ - lib/enotas_nfe/model/cide.rb
138
139
  - lib/enotas_nfe/model/cliente.rb
139
140
  - lib/enotas_nfe/model/cofins.rb
141
+ - lib/enotas_nfe/model/combustivel.rb
140
142
  - lib/enotas_nfe/model/configuracoes_nfse_homologacao.rb
141
143
  - lib/enotas_nfe/model/configuracoes_nfse_producao.rb
142
144
  - lib/enotas_nfe/model/credenciadora_cartao.rb