br_danfe 0.14.0 → 0.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -27
- data/br_danfe.gemspec +1 -1
- data/fonts/Tinos-LICENSE.txt +202 -0
- data/fonts/tinos.ttf +0 -0
- data/fonts/tinos_bold.ttf +0 -0
- data/fonts/tinos_bold_italic.ttf +0 -0
- data/fonts/tinos_italic.ttf +0 -0
- data/lib/br_danfe.rb +6 -0
- data/lib/br_danfe/cce_lib/document.rb +2 -2
- data/lib/br_danfe/danfe_lib/nfce_lib/document.rb +1 -1
- data/lib/br_danfe/danfe_lib/nfe_lib/document.rb +3 -2
- data/lib/br_danfe/document_builder.rb +16 -0
- data/lib/br_danfe/version.rb +1 -1
- data/lib/prawn/font.rb +7 -0
- data/lib/prawn/font_metric_cache.rb +33 -0
- data/spec/br_danfe/danfe_lib/nfe_lib/infadic_spec.rb +0 -1
- data/spec/fixtures/cce/lib/correction#render.pdf +0 -0
- 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 +211 -48
- 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 +739 -658
- data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +476 -393
- data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +323 -238
- data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +327 -237
- data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +319 -233
- data/spec/fixtures/nfe/lib/det_body#render-three_pages.pdf +6619 -7057
- data/spec/fixtures/nfe/lib/det_body#render-two_pages.pdf +6474 -6396
- data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +319 -233
- data/spec/fixtures/nfe/lib/det_body#render-with_infadprod.pdf +315 -237
- data/spec/fixtures/nfe/lib/det_body#render-with_issqn.pdf +3026 -2948
- data/spec/fixtures/nfe/lib/det_body#render-without_issqn.pdf +3026 -2948
- 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.pdf +0 -0
- data/spec/fixtures/nfe/lib/emit_header#render-second_page.pdf +214 -67
- data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +214 -67
- data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +212 -65
- data/spec/fixtures/nfe/lib/icmstot#render.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic#address-shipment.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_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.pdf +0 -0
- data/spec/fixtures/nfe/lib/infadic_vol#render-extra_volume.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/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.pdf +0 -0
- data/spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf +0 -0
- data/spec/fixtures/nfe/lib/vol#render.pdf +0 -0
- data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +1037 -793
- data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +1035 -791
- data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +2963 -2738
- data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +731 -504
- data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +2909 -2688
- data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +938 -768
- data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +1823 -1601
- data/spec/fixtures/nfe/v3.10/with_footer.fixture.pdf +3110 -2436
- data/spec/fixtures/nfe/v3.10/with_footer.xml +18 -0
- data/spec/fixtures/nfe/v3.10/with_issqn.fixture.pdf +2564 -3072
- data/spec/fixtures/nfe/v3.10/with_three_pages.fixture.pdf +8404 -8187
- data/spec/fixtures/nfe/v3.10/without_issqn.fixture.pdf +3167 -2951
- data/spec/spec_helper.rb +2 -0
- metadata +17 -10
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.