br_danfe 1.2.2 → 1.2.3
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 +19 -16
- data/README.md +10 -4
- data/br_danfe.gemspec +3 -3
- data/lib/br_danfe/version.rb +1 -1
- data/spec/fixtures/cce/lib/barcode#render.pdf +14 -14
- data/spec/fixtures/cce/lib/correction#render.pdf +0 -0
- data/spec/fixtures/cce/lib/document#box.pdf +14 -14
- data/spec/fixtures/cce/lib/document#box.with.block.pdf +0 -0
- data/spec/fixtures/cce/lib/document#text.align.pdf +0 -0
- data/spec/fixtures/cce/lib/document#text.pad.pdf +0 -0
- data/spec/fixtures/cce/lib/document#text.simple.pdf +0 -0
- data/spec/fixtures/cce/lib/document#text.size.pdf +0 -0
- data/spec/fixtures/cce/lib/document#text.style.pdf +0 -0
- data/spec/fixtures/cce/lib/footer#render.pdf +0 -0
- data/spec/fixtures/cce/lib/header#render.pdf +0 -0
- data/spec/fixtures/cce/lib/nfe_key#render.pdf +0 -0
- data/spec/fixtures/cce/lib/protocol#render.pdf +0 -0
- data/spec/fixtures/cce/v1.00/cce.fixture.pdf +265 -149
- data/spec/fixtures/mdfe/lib/fisco_control#barcode.pdf +0 -0
- data/spec/fixtures/mdfe/lib/fisco_control#without-barcode.pdf +0 -0
- data/spec/fixtures/mdfe/lib/header#render-qr-code.pdf +0 -0
- data/spec/fixtures/mdfe/lib/header#render-with_logo.pdf +0 -0
- data/spec/fixtures/mdfe/lib/header#render-without-qr-code.pdf +0 -0
- data/spec/fixtures/mdfe/lib/header#render-without_logo.pdf +0 -0
- data/spec/fixtures/mdfe/lib/mdfe-with-multiple-pages.pdf +344 -176
- data/spec/fixtures/mdfe/lib/mdfe.fixture.pdf +336 -168
- data/spec/fixtures/mdfe/lib/notes#render-big-aditional-information.pdf +219 -151
- data/spec/fixtures/nfce/lib/document#render.pdf +20 -20
- data/spec/fixtures/nfce/lib/footer#render-with_additional_information.pdf +0 -0
- data/spec/fixtures/nfce/lib/footer#render.pdf +0 -0
- data/spec/fixtures/nfce/lib/header#render-homologation.pdf +0 -0
- data/spec/fixtures/nfce/lib/header#render-long_name_with_logo.pdf +0 -0
- data/spec/fixtures/nfce/lib/header#render-long_name_without_logo.pdf +0 -0
- data/spec/fixtures/nfce/lib/header#render-short_name_with_logo.pdf +0 -0
- data/spec/fixtures/nfce/lib/header#render-short_name_without_logo.pdf +0 -0
- data/spec/fixtures/nfce/lib/key#render.pdf +0 -0
- data/spec/fixtures/nfce/lib/nfce_identification#render.pdf +0 -0
- data/spec/fixtures/nfce/lib/product_list#render-with_many_products.pdf +0 -0
- data/spec/fixtures/nfce/lib/product_list#render-with_many_products_and_long_names.pdf +0 -0
- data/spec/fixtures/nfce/lib/product_list#render-with_single_product.pdf +0 -0
- data/spec/fixtures/nfce/lib/product_list#render-with_single_product_and_long_name.pdf +0 -0
- data/spec/fixtures/nfce/lib/recipient#render-company.pdf +0 -0
- data/spec/fixtures/nfce/lib/recipient#render-consumer_without_document.pdf +0 -0
- data/spec/fixtures/nfce/lib/recipient#render-foreign.pdf +0 -0
- data/spec/fixtures/nfce/lib/recipient#render-individual.pdf +0 -0
- data/spec/fixtures/nfce/lib/recipient#render-unidentified_consumer.pdf +0 -0
- data/spec/fixtures/nfce/lib/total_list#does_not_render-payment_methods.pdf +0 -0
- data/spec/fixtures/nfce/lib/total_list#render-grouped_payment_methods.pdf +0 -0
- data/spec/fixtures/nfce/lib/total_list#render-totals.pdf +0 -0
- data/spec/fixtures/nfce/lib/total_list#render-without_payment.pdf +0 -0
- data/spec/fixtures/nfce/lib/total_list#render.pdf +0 -0
- data/spec/fixtures/nfce/v4.00/multiples_xmls_on_the_same_pdf.pdf +336 -205
- data/spec/fixtures/nfce/v4.00/nfce-unauthorized-hom.fixture.pdf +0 -0
- data/spec/fixtures/nfce/v4.00/nfce-unauthorized-prod.fixture.pdf +0 -0
- data/spec/fixtures/nfce/v4.00/rendered_nfce.fixture.pdf +0 -0
- data/spec/fixtures/nfce/v4.00/saved_nfce.fixture.pdf +0 -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 +144 -82
- data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +129 -81
- data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +124 -85
- data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +133 -89
- data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +122 -84
- data/spec/fixtures/nfe/lib/det_body#render-three_pages.pdf +140 -85
- data/spec/fixtures/nfe/lib/det_body#render-two_pages.pdf +140 -85
- data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +122 -84
- data/spec/fixtures/nfe/lib/det_body#render-with_entrega.pdf +118 -64
- data/spec/fixtures/nfe/lib/det_body#render-with_infadprod.pdf +131 -76
- data/spec/fixtures/nfe/lib/det_body#render-with_issqn.pdf +140 -85
- data/spec/fixtures/nfe/lib/det_body#render-without_issqn.pdf +140 -85
- data/spec/fixtures/nfe/lib/document#lcnpj-blank.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lcnpj-invalid.pdf +0 -0
- data/spec/fixtures/nfe/lib/document#lcnpj-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 +283 -151
- data/spec/fixtures/nfe/lib/emit_header#render-second_page.pdf +283 -151
- data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +283 -151
- data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +264 -132
- 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/issqn#render-without_issqn.pdf +14 -14
- 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 +312 -185
- data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +293 -166
- data/spec/fixtures/nfe/v2.00/nfe_with_entrega.xml.fixture.pdf +296 -166
- data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +419 -221
- data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +311 -163
- data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +309 -171
- data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +303 -152
- data/spec/fixtures/nfe/v3.10/multiples.xmls.on.the.same.pdf.pdf +320 -152
- data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +312 -144
- data/spec/fixtures/nfe/v3.10/with_footer.fixture.pdf +323 -169
- data/spec/fixtures/nfe/v3.10/with_issqn.fixture.pdf +314 -138
- data/spec/fixtures/nfe/v3.10/with_three_pages.fixture.pdf +330 -159
- data/spec/fixtures/nfe/v3.10/without_issqn.fixture.pdf +319 -148
- data/spec/fixtures/qr_code/qr_code#render.pdf +0 -0
- metadata +9 -9
@@ -6,14 +6,14 @@
|
|
6
6
|
>>
|
7
7
|
endobj
|
8
8
|
2 0 obj
|
9
|
-
<< /
|
10
|
-
/
|
9
|
+
<< /Pages 3 0 R
|
10
|
+
/Type /Catalog
|
11
11
|
>>
|
12
12
|
endobj
|
13
13
|
3 0 obj
|
14
|
-
<< /
|
15
|
-
/Count 1
|
14
|
+
<< /Count 1
|
16
15
|
/Kids [5 0 R]
|
16
|
+
/Type /Pages
|
17
17
|
>>
|
18
18
|
endobj
|
19
19
|
4 0 obj
|
@@ -27,17 +27,17 @@ Q
|
|
27
27
|
endstream
|
28
28
|
endobj
|
29
29
|
5 0 obj
|
30
|
-
<< /
|
31
|
-
/Parent 3 0 R
|
32
|
-
/MediaBox [0 0 595.28 841.89]
|
33
|
-
/CropBox [0 0 595.28 841.89]
|
30
|
+
<< /ArtBox [0 0 595.28 841.89]
|
34
31
|
/BleedBox [0 0 595.28 841.89]
|
35
|
-
/TrimBox [0 0 595.28 841.89]
|
36
|
-
/ArtBox [0 0 595.28 841.89]
|
37
32
|
/Contents 4 0 R
|
38
|
-
/
|
39
|
-
/
|
33
|
+
/CropBox [0 0 595.28 841.89]
|
34
|
+
/MediaBox [0 0 595.28 841.89]
|
35
|
+
/Parent 3 0 R
|
36
|
+
/Resources << /Font << >>
|
37
|
+
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
|
40
38
|
>>
|
39
|
+
/TrimBox [0 0 595.28 841.89]
|
40
|
+
/Type /Page
|
41
41
|
>>
|
42
42
|
endobj
|
43
43
|
xref
|
@@ -49,9 +49,9 @@ xref
|
|
49
49
|
0000000215 00000 n
|
50
50
|
0000000275 00000 n
|
51
51
|
trailer
|
52
|
-
<< /
|
52
|
+
<< /Info 1 0 R
|
53
53
|
/Root 2 0 R
|
54
|
-
/
|
54
|
+
/Size 6
|
55
55
|
>>
|
56
56
|
startxref
|
57
57
|
559
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|