br_danfe 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/README.md +12 -0
- data/lib/br_danfe/danfe.rb +4 -1
- data/lib/br_danfe/danfe_lib/det_body.rb +6 -5
- data/lib/br_danfe/danfe_lib/options.rb +3 -1
- data/lib/br_danfe/version.rb +1 -1
- data/spec/features/danfe_spec.rb +20 -0
- data/spec/fixtures/cce/lib/barcode#render.pdf +511 -0
- data/spec/fixtures/cce/lib/correction#render.pdf +100 -0
- data/spec/fixtures/cce/lib/document#box.pdf +55 -0
- data/spec/fixtures/cce/lib/document#box.with.block.pdf +72 -0
- data/spec/fixtures/cce/lib/document#text.align.pdf +70 -0
- data/spec/fixtures/cce/lib/document#text.pad.pdf +70 -0
- data/spec/fixtures/cce/lib/document#text.simple.pdf +70 -0
- data/spec/fixtures/cce/lib/document#text.size.pdf +70 -0
- data/spec/fixtures/cce/lib/document#text.style.pdf +70 -0
- data/spec/fixtures/cce/lib/footer#render.pdf +114 -0
- data/spec/fixtures/cce/lib/header#render.pdf +72 -0
- data/spec/fixtures/cce/lib/nfe_key#render.pdf +88 -0
- data/spec/fixtures/cce/lib/protocol#render.pdf +88 -0
- data/spec/fixtures/cce/v1.00/cce.fixture.pdf +659 -0
- data/spec/fixtures/nfe/lib/dest#render-v2.00.pdf +271 -0
- data/spec/fixtures/nfe/lib/dest#render-v3.10.pdf +271 -0
- data/spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf +201 -0
- data/spec/fixtures/nfe/lib/dest#render-with_cpf.pdf +201 -0
- data/spec/fixtures/nfe/lib/dest#render-with_ie.pdf +208 -0
- data/spec/fixtures/nfe/lib/det_body#render-csosn.pdf +855 -0
- data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +512 -0
- data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +267 -0
- data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +267 -0
- data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +246 -0
- data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +246 -0
- data/spec/fixtures/nfe/lib/det_header#render.pdf +207 -0
- data/spec/fixtures/nfe/lib/document#lcnpj-blank.pdf +74 -0
- data/spec/fixtures/nfe/lib/document#lcnpj-invalid.pdf +74 -0
- data/spec/fixtures/nfe/lib/document#lcnpj-valid.pdf +81 -0
- data/spec/fixtures/nfe/lib/document#lie-blank.pdf +74 -0
- data/spec/fixtures/nfe/lib/document#lie-invalid.pdf +74 -0
- data/spec/fixtures/nfe/lib/document#lie-valid.pdf +81 -0
- data/spec/fixtures/nfe/lib/dup#render.pdf +216 -0
- data/spec/fixtures/nfe/lib/emit#render.pdf +143 -0
- data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +712 -0
- data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +650 -0
- data/spec/fixtures/nfe/lib/icmstot#render.pdf +255 -0
- data/spec/fixtures/nfe/lib/infadic#render-extra_volume.pdf +295 -0
- data/spec/fixtures/nfe/lib/infadic#render.pdf +104 -0
- data/spec/fixtures/nfe/lib/issqn#render.pdf +143 -0
- data/spec/fixtures/nfe/lib/ticket#render.pdf +113 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_0.pdf +176 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_1.pdf +176 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_2.pdf +176 -0
- data/spec/fixtures/nfe/lib/transp#render-modfrete_9.pdf +176 -0
- data/spec/fixtures/nfe/lib/transp#render.pdf +239 -0
- data/spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf +117 -0
- data/spec/fixtures/nfe/lib/vol#render.pdf +152 -0
- data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +1994 -0
- data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +1932 -0
- data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +5207 -0
- data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +1980 -0
- data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +5032 -0
- data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +2314 -0
- data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +2807 -0
- data/spec/lib/danfe_lib/det_body_spec.rb +80 -2
- data/spec/lib/danfe_lib/options_spec.rb +8 -1
- metadata +30 -2
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.