br_danfe 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/br_danfe.gemspec +2 -2
  3. data/lib/br_danfe/version.rb +1 -1
  4. data/lib/br_danfe.rb +1 -0
  5. data/spec/fixtures/cce/lib/barcode#render.pdf +461 -460
  6. data/spec/fixtures/cce/lib/correction#render.pdf +10 -10
  7. data/spec/fixtures/cce/lib/document#box.pdf +5 -4
  8. data/spec/fixtures/cce/lib/document#box.with.block.pdf +6 -6
  9. data/spec/fixtures/cce/lib/document#text.pad.pdf +5 -5
  10. data/spec/fixtures/cce/lib/document#text.simple.pdf +5 -5
  11. data/spec/fixtures/cce/lib/document#text.size.pdf +5 -5
  12. data/spec/fixtures/cce/lib/document#text.style.pdf +5 -5
  13. data/spec/fixtures/cce/lib/footer#render.pdf +12 -12
  14. data/spec/fixtures/cce/lib/header#render.pdf +6 -6
  15. data/spec/fixtures/cce/lib/nfe_key#render.pdf +8 -8
  16. data/spec/fixtures/cce/lib/protocol#render.pdf +8 -8
  17. data/spec/fixtures/cce/v1.00/cce.fixture.pdf +484 -484
  18. data/spec/fixtures/nfe/lib/dest#render-v2.00.pdf +42 -42
  19. data/spec/fixtures/nfe/lib/dest#render-v3.10.pdf +42 -42
  20. data/spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf +32 -32
  21. data/spec/fixtures/nfe/lib/dest#render-with_cpf.pdf +32 -32
  22. data/spec/fixtures/nfe/lib/dest#render-with_ie.pdf +33 -33
  23. data/spec/fixtures/nfe/lib/det_body#render-csosn.pdf +269 -269
  24. data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +144 -144
  25. data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +71 -71
  26. data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +71 -71
  27. data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +68 -68
  28. data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +68 -68
  29. data/spec/fixtures/nfe/lib/det_header#render.pdf +36 -36
  30. data/spec/fixtures/nfe/lib/document#lcnpj-blank.pdf +6 -6
  31. data/spec/fixtures/nfe/lib/document#lcnpj-invalid.pdf +6 -6
  32. data/spec/fixtures/nfe/lib/document#lcnpj-valid.pdf +7 -7
  33. data/spec/fixtures/nfe/lib/document#lie-blank.pdf +6 -6
  34. data/spec/fixtures/nfe/lib/document#lie-invalid.pdf +6 -6
  35. data/spec/fixtures/nfe/lib/document#lie-valid.pdf +7 -7
  36. data/spec/fixtures/nfe/lib/dup#render.pdf +26 -26
  37. data/spec/fixtures/nfe/lib/emit#render.pdf +19 -19
  38. data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +485 -485
  39. data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +482 -482
  40. data/spec/fixtures/nfe/lib/icmstot#render.pdf +39 -39
  41. data/spec/fixtures/nfe/lib/infadic#render-difal.pdf +13 -13
  42. data/spec/fixtures/nfe/lib/infadic#render-extra_volume.pdf +38 -38
  43. data/spec/fixtures/nfe/lib/infadic#render-extra_volume_difal.pdf +39 -39
  44. data/spec/fixtures/nfe/lib/infadic#render.pdf +11 -11
  45. data/spec/fixtures/nfe/lib/issqn#render.pdf +18 -18
  46. data/spec/fixtures/nfe/lib/ticket#render.pdf +14 -14
  47. data/spec/fixtures/nfe/lib/transp#render-modfrete_0.pdf +27 -27
  48. data/spec/fixtures/nfe/lib/transp#render-modfrete_1.pdf +27 -27
  49. data/spec/fixtures/nfe/lib/transp#render-modfrete_2.pdf +27 -27
  50. data/spec/fixtures/nfe/lib/transp#render-modfrete_9.pdf +27 -27
  51. data/spec/fixtures/nfe/lib/transp#render.pdf +36 -36
  52. data/spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf +16 -16
  53. data/spec/fixtures/nfe/lib/vol#render.pdf +21 -21
  54. data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +443 -443
  55. data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +440 -440
  56. data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +1675 -1675
  57. data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +763 -763
  58. data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +1650 -1650
  59. data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +887 -887
  60. data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +823 -823
  61. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05cab7a4efb232814a9b3e383138ec33d602396d
4
- data.tar.gz: 7248e4f8ba9e0d6fa5bfc8b362c876e328696fea
3
+ metadata.gz: 8a03910608818abb364dc68c53b9095e7aff9dbb
4
+ data.tar.gz: 4949df7729a2b0dcb6ab9cdd3136c68691547c7c
5
5
  SHA512:
6
- metadata.gz: f15f37cc5a5db53db83d62ebdbd1ddc3160a17020620cb7e8ec7c92b489b1c5cc8647734f1d93205720c38ec916a0fa4d1ec5c02dd4f35fc8f77e7600b399c2e
7
- data.tar.gz: ab74ed5d6f1eaeaa05f60dc6d7de595c6cb377821f43d4a90358e151417bb1c8b60ebe905844fe3e20af59df01d9c776b0af5ace7098b314801f8508a3074f90
6
+ metadata.gz: fbec713c6bf4846880b2830f74e99602d684a8079f6504a46c4bc321474fbabd9b8b1a8a351b44207824107f781c9d36b3d3dbe6290c62ca146d2cd5b01521fc
7
+ data.tar.gz: a40aa73ba837ea6f58413c50ba8cec0b62443934492c6bdbb0d0d96256f7cc0c281221ca65c0ffafef2947143b72550a6d3d9fb0d7849321b46386aa8ffbe2d6
data/br_danfe.gemspec CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.required_ruby_version = ">= 2.0"
19
19
 
20
20
  spec.add_dependency "nokogiri"
21
- spec.add_dependency "prawn", "1.3.0"
22
- spec.add_dependency "prawn-table", "0.2.1"
21
+ spec.add_dependency "prawn", "2.1.0"
22
+ spec.add_dependency "prawn-table", "0.2.2"
23
23
  spec.add_dependency "barby", "0.5.1"
24
24
  spec.add_dependency "i18n"
25
25
  spec.add_dependency "br_documents", ">= 0.0.8"
@@ -1,3 +1,3 @@
1
1
  module BrDanfe
2
- VERSION = "0.4.3"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/br_danfe.rb CHANGED
@@ -13,3 +13,4 @@ require "br_danfe/danfe_lib/consts"
13
13
 
14
14
  Dir[File.dirname(__FILE__) + "/**/*.rb"].each { |f| require f }
15
15
  I18n.load_path << File.expand_path("../../config/locales/pt-BR.yml", __FILE__)
16
+ Prawn::Font::AFM.hide_m17n_warning = true