br_danfe 3.1.0 → 3.1.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/br_danfe/danfe_lib/nfe_lib/consts.rb +1 -1
- data/lib/br_danfe/danfe_lib/nfe_lib/dest.rb +3 -3
- data/lib/br_danfe/danfe_lib/nfe_lib/det_body.rb +1 -1
- data/lib/br_danfe/danfe_lib/nfe_lib/document.rb +5 -5
- data/lib/br_danfe/danfe_lib/nfe_lib/dup.rb +1 -1
- data/lib/br_danfe/danfe_lib/nfe_lib/emit_header.rb +29 -28
- data/lib/br_danfe/danfe_lib/nfe_lib/helper.rb +1 -1
- data/lib/br_danfe/danfe_lib/nfe_lib/infadic.rb +3 -3
- data/lib/br_danfe/danfe_lib/nfe_lib/ticket.rb +9 -9
- data/lib/br_danfe/document_builder.rb +0 -7
- data/lib/br_danfe/version.rb +1 -1
- data/spec/br_danfe/danfe_lib/nfe_lib/helper_spec.rb +16 -0
- data/spec/fixtures/nfe/lib/dest#render-v2.00.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-v3.10.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-v4.00.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-with-address-bigger.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-with_cpf.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-with_ie.pdf +0 -0
- data/spec/fixtures/nfe/lib/dest#render-without-address-complement.pdf +0 -0
- data/spec/fixtures/nfe/lib/det_body#render-csosn.pdf +749 -714
- data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +485 -457
- data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +336 -307
- data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +346 -312
- data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +332 -303
- data/spec/fixtures/nfe/lib/det_body#render-three_pages.pdf +6690 -6497
- data/spec/fixtures/nfe/lib/det_body#render-two_pages.pdf +6508 -6322
- data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +332 -303
- data/spec/fixtures/nfe/lib/det_body#render-with_entrega.pdf +338 -314
- data/spec/fixtures/nfe/lib/det_body#render-with_infadprod.pdf +350 -311
- data/spec/fixtures/nfe/lib/det_body#render-with_issqn.pdf +3186 -3084
- data/spec/fixtures/nfe/lib/det_body#render-without_issqn.pdf +3459 -2807
- data/spec/fixtures/nfe/lib/document#lcnpj_cpf-blank.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lcnpj_cpf-invalid.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lcnpj_cpf-valid.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lie-blank-uf-invalid.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lie-blank.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lie-invalid.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lie-valid.pdf +0 -0
- data/spec/fixtures/nfe/lib/dup#render-with_entrega.pdf +0 -0
- data/spec/fixtures/nfe/lib/dup#render.pdf +0 -0
- data/spec/fixtures/nfe/lib/emit_header#render-nfe_key.pdf +316 -222
- data/spec/fixtures/nfe/lib/emit_header#render-second_page.pdf +316 -222
- data/spec/fixtures/nfe/lib/emit_header#render-with_cpf.pdf +317 -218
- data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +316 -222
- data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +300 -206
- data/spec/fixtures/nfe/lib/entrega#render-v2.00.pdf +0 -0
- data/spec/fixtures/nfe/lib/entrega#render-with-address-bigger.pdf +0 -0
- data/spec/fixtures/nfe/lib/entrega#render-with_cpf.pdf +0 -0
- data/spec/fixtures/nfe/lib/icmstot#render-with_entrega.pdf +0 -0
- data/spec/fixtures/nfe/lib/icmstot#render.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-all_the_informations.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-difal.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-extra_volume.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-with_complementary_information.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-with_dup_additional_information.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-with_fisco_additional_information.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-with_street_data.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render-without_dup_additional_information.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#render.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic_vol#render-extra_volume.pdf +0 -0
- data/spec/fixtures/nfe/lib/issqn#render-with_entrega.pdf +0 -0
- data/spec/fixtures/nfe/lib/issqn#render-with_issqn.pdf +0 -0
- data/spec/fixtures/nfe/lib/issqn#render-with_one_issqn_value.pdf +0 -0
- data/spec/fixtures/nfe/lib/ticket#render.pdf +0 -0
- data/spec/fixtures/nfe/lib/ticket#render_with_dEmit.pdf +0 -0
- data/spec/fixtures/nfe/lib/ticket#render_with_dhEmit.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_0.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_1.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_2.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_3.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_4.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_9.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render-with_entrega.pdf +0 -0
- data/spec/fixtures/nfe/lib/transp#render.pdf +0 -0
- data/spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf +0 -0
- data/spec/fixtures/nfe/lib/vol#render-with_entrega.pdf +0 -0
- data/spec/fixtures/nfe/lib/vol#render.pdf +0 -0
- data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +1006 -918
- data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +997 -916
- data/spec/fixtures/nfe/v2.00/nfe_with_entrega.xml.fixture.pdf +1034 -953
- data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +2764 -2638
- data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +749 -673
- data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +2647 -2565
- data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +1014 -935
- data/spec/fixtures/nfe/v3.10/multiples.xmls.on.the.same.pdf.pdf +3321 -3235
- data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +1780 -1702
- data/spec/fixtures/nfe/v3.10/with_footer.fixture.pdf +2550 -2475
- data/spec/fixtures/nfe/v3.10/with_issqn.fixture.pdf +2425 -2347
- data/spec/fixtures/nfe/v3.10/with_three_pages.fixture.pdf +7821 -7658
- data/spec/fixtures/nfe/v3.10/without_issqn.fixture.pdf +2914 -2836
- metadata +1 -6
- data/fonts/Arimo-LICENSE.txt +0 -118
- data/fonts/arimo.ttf +0 -0
- data/fonts/arimo_bold.ttf +0 -0
- data/fonts/arimo_bold_italic.ttf +0 -0
- data/fonts/arimo_italic.ttf +0 -0
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: br_danfe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ASSEINFO
|
|
@@ -136,12 +136,7 @@ files:
|
|
|
136
136
|
- br_danfe.gemspec
|
|
137
137
|
- config/locales/pt-BR.yml
|
|
138
138
|
- docker-compose.yml
|
|
139
|
-
- fonts/Arimo-LICENSE.txt
|
|
140
139
|
- fonts/Tinos-LICENSE.txt
|
|
141
|
-
- fonts/arimo.ttf
|
|
142
|
-
- fonts/arimo_bold.ttf
|
|
143
|
-
- fonts/arimo_bold_italic.ttf
|
|
144
|
-
- fonts/arimo_italic.ttf
|
|
145
140
|
- fonts/tinos.ttf
|
|
146
141
|
- fonts/tinos_bold.ttf
|
|
147
142
|
- fonts/tinos_bold_italic.ttf
|
data/fonts/Arimo-LICENSE.txt
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
Copyright 2010-2020 Google Inc. / Google LLC.
|
|
2
|
-
|
|
3
|
-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
-
|
|
5
|
-
PREAMBLE
|
|
6
|
-
|
|
7
|
-
The goals of the Open Font License (OFL) are to stimulate
|
|
8
|
-
worldwide development of collaborative font projects,
|
|
9
|
-
to support the font creation efforts
|
|
10
|
-
of academic and linguistic communities,
|
|
11
|
-
and to provide a free and open framework
|
|
12
|
-
in which fonts may be shared and improved
|
|
13
|
-
in partnership with others.
|
|
14
|
-
|
|
15
|
-
The OFL allows the licensed fonts to be used, studied,
|
|
16
|
-
modified and redistributed freely
|
|
17
|
-
as long as they are not sold by themselves.
|
|
18
|
-
The fonts, including any derivative works,
|
|
19
|
-
can be bundled, embedded,
|
|
20
|
-
redistributed and/or sold with any software
|
|
21
|
-
provided that any reserved names are not used
|
|
22
|
-
by derivative works.
|
|
23
|
-
The fonts and derivatives, however,
|
|
24
|
-
cannot be released under any other type of license.
|
|
25
|
-
The requirement for fonts to remain under this license
|
|
26
|
-
does not apply to any document
|
|
27
|
-
created using the fonts or their derivatives.
|
|
28
|
-
|
|
29
|
-
DEFINITIONS
|
|
30
|
-
|
|
31
|
-
"Font Software" refers to the set of files
|
|
32
|
-
released by the Copyright Holder(s) under this license
|
|
33
|
-
and clearly marked as such.
|
|
34
|
-
This may include source files, build scripts and documentation.
|
|
35
|
-
|
|
36
|
-
"Reserved Font Name" refers to any names specified as such
|
|
37
|
-
after the copyright statement(s).
|
|
38
|
-
|
|
39
|
-
"Original Version" refers to the collection
|
|
40
|
-
of Font Software components
|
|
41
|
-
as distributed by the Copyright Holder(s).
|
|
42
|
-
|
|
43
|
-
"Modified Version" refers to any derivative
|
|
44
|
-
made by adding to, deleting, or substituting --
|
|
45
|
-
in part or in whole --
|
|
46
|
-
any of the components of the Original Version,
|
|
47
|
-
by changing formats
|
|
48
|
-
or by porting the Font Software to a new environment.
|
|
49
|
-
|
|
50
|
-
"Author" refers to any designer, engineer, programmer,
|
|
51
|
-
technical writer or other person
|
|
52
|
-
who contributed to the Font Software.
|
|
53
|
-
|
|
54
|
-
PERMISSION & CONDITIONS
|
|
55
|
-
|
|
56
|
-
Permission is hereby granted, free of charge,
|
|
57
|
-
to any person obtaining a copy of the Font Software,
|
|
58
|
-
to use, study, copy, merge, embed, modify, redistribute,
|
|
59
|
-
and sell modified and unmodified copies of the Font Software,
|
|
60
|
-
subject to the following conditions:
|
|
61
|
-
|
|
62
|
-
1) Neither the Font Software nor any of its individual components,
|
|
63
|
-
in Original or Modified Versions,
|
|
64
|
-
may be sold by itself.
|
|
65
|
-
|
|
66
|
-
2) Original or Modified Versions of the Font Software
|
|
67
|
-
may be bundled, redistributed and/or sold with any software,
|
|
68
|
-
provided that each copy contains the above copyright notice
|
|
69
|
-
and this license.
|
|
70
|
-
These can be included either as stand-alone text files,
|
|
71
|
-
human-readable headers or in the appropriate
|
|
72
|
-
machine-readable metadata fields within text or binary files
|
|
73
|
-
as long as those fields can be easily viewed by the user.
|
|
74
|
-
|
|
75
|
-
3) No Modified Version of the Font Software may use
|
|
76
|
-
the Reserved Font Name(s)
|
|
77
|
-
unless explicit written permission is granted
|
|
78
|
-
by the corresponding Copyright Holder.
|
|
79
|
-
This restriction only applies to the primary font name
|
|
80
|
-
as presented to the users.
|
|
81
|
-
|
|
82
|
-
4) The name(s) of the Copyright Holder(s)
|
|
83
|
-
or the Author(s) of the Font Software
|
|
84
|
-
shall not be used to promote,
|
|
85
|
-
endorse or advertise any Modified Version,
|
|
86
|
-
except to acknowledge the contribution(s)
|
|
87
|
-
of the Copyright Holder(s) and the Author(s)
|
|
88
|
-
or with their explicit written permission.
|
|
89
|
-
|
|
90
|
-
5) The Font Software,
|
|
91
|
-
modified or unmodified, in part or in whole,
|
|
92
|
-
must be distributed entirely under this license,
|
|
93
|
-
and must not be distributed under any other license.
|
|
94
|
-
The requirement for fonts to remain under this license
|
|
95
|
-
does not apply to any document
|
|
96
|
-
created using the Font Software.
|
|
97
|
-
|
|
98
|
-
TERMINATION
|
|
99
|
-
|
|
100
|
-
This license becomes null and void
|
|
101
|
-
if any of the above conditions are not met.
|
|
102
|
-
|
|
103
|
-
DISCLAIMER
|
|
104
|
-
|
|
105
|
-
THE FONT SOFTWARE IS PROVIDED "AS IS",
|
|
106
|
-
WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
107
|
-
INCLUDING BUT NOT LIMITED TO
|
|
108
|
-
ANY WARRANTIES OF MERCHANTABILITY,
|
|
109
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
110
|
-
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT.
|
|
111
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
|
|
112
|
-
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
113
|
-
INCLUDING ANY GENERAL, SPECIAL, INDIRECT,
|
|
114
|
-
INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
|
|
115
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
116
|
-
ARISING FROM, OUT OF THE USE OR INABILITY TO USE
|
|
117
|
-
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
118
|
-
|
data/fonts/arimo.ttf
DELETED
|
Binary file
|
data/fonts/arimo_bold.ttf
DELETED
|
Binary file
|
data/fonts/arimo_bold_italic.ttf
DELETED
|
Binary file
|
data/fonts/arimo_italic.ttf
DELETED
|
Binary file
|