br_danfe 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -15
  3. data/br_danfe.gemspec +2 -2
  4. data/lib/br_danfe/version.rb +1 -1
  5. data/spec/fixtures/cce/lib/barcode#render.pdf +5 -3
  6. data/spec/fixtures/cce/v1.00/cce.fixture.pdf +15 -13
  7. data/spec/fixtures/nfce/lib/document#render.pdf +17 -17
  8. data/spec/fixtures/nfce/lib/footer#render-with_additional_information.pdf +12 -12
  9. data/spec/fixtures/nfce/lib/footer#render.pdf +10 -10
  10. data/spec/fixtures/nfce/lib/header#render-homologation.pdf +0 -0
  11. data/spec/fixtures/nfce/lib/header#render-long_name_with_logo.pdf +0 -0
  12. data/spec/fixtures/nfce/lib/header#render-long_name_without_logo.pdf +16 -16
  13. data/spec/fixtures/nfce/lib/header#render-short_name_with_logo.pdf +0 -0
  14. data/spec/fixtures/nfce/lib/header#render-short_name_without_logo.pdf +16 -16
  15. data/spec/fixtures/nfce/lib/key#render.pdf +14 -14
  16. data/spec/fixtures/nfce/lib/nfce_identification#render.pdf +16 -16
  17. data/spec/fixtures/nfce/lib/product_list#render-with_many_products.pdf +43 -43
  18. data/spec/fixtures/nfce/lib/product_list#render-with_many_products_and_long_names.pdf +47 -47
  19. data/spec/fixtures/nfce/lib/product_list#render-with_single_product.pdf +25 -25
  20. data/spec/fixtures/nfce/lib/product_list#render-with_single_product_and_long_name.pdf +27 -27
  21. data/spec/fixtures/nfce/lib/qr_code#render.pdf +0 -0
  22. data/spec/fixtures/nfce/lib/recipient#render-company.pdf +13 -13
  23. data/spec/fixtures/nfce/lib/recipient#render-consumer_without_document.pdf +12 -12
  24. data/spec/fixtures/nfce/lib/recipient#render-foreign.pdf +13 -13
  25. data/spec/fixtures/nfce/lib/recipient#render-individual.pdf +13 -13
  26. data/spec/fixtures/nfce/lib/recipient#render-unidentified_consumer.pdf +11 -11
  27. data/spec/fixtures/nfce/lib/total_list#does_not_render-payment_methods.pdf +19 -19
  28. data/spec/fixtures/nfce/lib/total_list#render-grouped_payment_methods.pdf +26 -26
  29. data/spec/fixtures/nfce/lib/total_list#render-totals.pdf +19 -19
  30. data/spec/fixtures/nfce/lib/total_list#render-without_payment.pdf +28 -28
  31. data/spec/fixtures/nfce/lib/total_list#render.pdf +28 -28
  32. data/spec/fixtures/nfce/v4.00/multiples_xmls_on_the_same_pdf.pdf +172 -172
  33. data/spec/fixtures/nfce/v4.00/nfce-unauthorized-hom.fixture.pdf +0 -0
  34. data/spec/fixtures/nfce/v4.00/nfce-unauthorized-prod.fixture.pdf +0 -0
  35. data/spec/fixtures/nfce/v4.00/rendered_nfce.fixture.pdf +0 -0
  36. data/spec/fixtures/nfce/v4.00/saved_nfce.fixture.pdf +0 -0
  37. data/spec/fixtures/nfe/lib/dest#render-v2.00.pdf +0 -0
  38. data/spec/fixtures/nfe/lib/dest#render-v3.10.pdf +0 -0
  39. data/spec/fixtures/nfe/lib/dest#render-v4.00.pdf +0 -0
  40. data/spec/fixtures/nfe/lib/dest#render-with-address-bigger.pdf +0 -0
  41. data/spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf +0 -0
  42. data/spec/fixtures/nfe/lib/dest#render-with_cpf.pdf +0 -0
  43. data/spec/fixtures/nfe/lib/dest#render-with_ie.pdf +0 -0
  44. data/spec/fixtures/nfe/lib/dest#render-without-address-complement.pdf +0 -0
  45. data/spec/fixtures/nfe/lib/det_body#render-csosn.pdf +662 -662
  46. data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +410 -410
  47. data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +272 -272
  48. data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +272 -272
  49. data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +270 -270
  50. data/spec/fixtures/nfe/lib/det_body#render-three_pages.pdf +6213 -6213
  51. data/spec/fixtures/nfe/lib/det_body#render-two_pages.pdf +6083 -6083
  52. data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +270 -270
  53. data/spec/fixtures/nfe/lib/det_body#render-with_infadprod.pdf +272 -272
  54. data/spec/fixtures/nfe/lib/det_body#render-with_issqn.pdf +2859 -2859
  55. data/spec/fixtures/nfe/lib/det_body#render-without_issqn.pdf +2859 -2859
  56. data/spec/fixtures/nfe/lib/document#lcnpj-blank.pdf +0 -0
  57. data/spec/fixtures/nfe/lib/document#lcnpj-invalid.pdf +0 -0
  58. data/spec/fixtures/nfe/lib/document#lcnpj-valid.pdf +0 -0
  59. data/spec/fixtures/nfe/lib/document#lie-blank-uf-invalid.pdf +0 -0
  60. data/spec/fixtures/nfe/lib/document#lie-blank.pdf +0 -0
  61. data/spec/fixtures/nfe/lib/document#lie-invalid.pdf +0 -0
  62. data/spec/fixtures/nfe/lib/document#lie-valid.pdf +0 -0
  63. data/spec/fixtures/nfe/lib/dup#render.pdf +0 -0
  64. data/spec/fixtures/nfe/lib/emit_header#render-second_page.pdf +510 -508
  65. data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +510 -508
  66. data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +507 -505
  67. data/spec/fixtures/nfe/lib/icmstot#render.pdf +0 -0
  68. data/spec/fixtures/nfe/lib/infadic#address-shipment.pdf +0 -0
  69. data/spec/fixtures/nfe/lib/infadic#render-all_the_informations.pdf +0 -0
  70. data/spec/fixtures/nfe/lib/infadic#render-difal.pdf +0 -0
  71. data/spec/fixtures/nfe/lib/infadic#render-extra_volume.pdf +0 -0
  72. data/spec/fixtures/nfe/lib/infadic#render-with_complementary_information.pdf +0 -0
  73. data/spec/fixtures/nfe/lib/infadic#render-with_fisco_additional_information.pdf +0 -0
  74. data/spec/fixtures/nfe/lib/infadic#render-with_street_data.pdf +0 -0
  75. data/spec/fixtures/nfe/lib/infadic#render.pdf +0 -0
  76. data/spec/fixtures/nfe/lib/infadic_vol#render-extra_volume.pdf +0 -0
  77. data/spec/fixtures/nfe/lib/issqn#render-with_issqn.pdf +0 -0
  78. data/spec/fixtures/nfe/lib/issqn#render-with_one_issqn_value.pdf +0 -0
  79. data/spec/fixtures/nfe/lib/ticket#render.pdf +0 -0
  80. data/spec/fixtures/nfe/lib/transp#render-modfrete_0.pdf +0 -0
  81. data/spec/fixtures/nfe/lib/transp#render-modfrete_1.pdf +0 -0
  82. data/spec/fixtures/nfe/lib/transp#render-modfrete_2.pdf +0 -0
  83. data/spec/fixtures/nfe/lib/transp#render-modfrete_3.pdf +0 -0
  84. data/spec/fixtures/nfe/lib/transp#render-modfrete_4.pdf +0 -0
  85. data/spec/fixtures/nfe/lib/transp#render-modfrete_9.pdf +0 -0
  86. data/spec/fixtures/nfe/lib/transp#render.pdf +0 -0
  87. data/spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf +0 -0
  88. data/spec/fixtures/nfe/lib/vol#render.pdf +0 -0
  89. data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +733 -733
  90. data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +730 -730
  91. data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +3449 -3445
  92. data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +929 -927
  93. data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +3424 -3420
  94. data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +1178 -1176
  95. data/spec/fixtures/nfe/v3.10/multiples.xmls.on.the.same.pdf.pdf +2972 -2972
  96. data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +1495 -1495
  97. data/spec/fixtures/nfe/v3.10/with_footer.fixture.pdf +2444 -2444
  98. data/spec/fixtures/nfe/v3.10/with_issqn.fixture.pdf +2142 -2142
  99. data/spec/fixtures/nfe/v3.10/with_three_pages.fixture.pdf +7096 -7096
  100. data/spec/fixtures/nfe/v3.10/without_issqn.fixture.pdf +2811 -2811
  101. metadata +7 -7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_danfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASSEINFO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-08 00:00:00.000000000 Z
11
+ date: 2021-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: barby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.1
19
+ version: 0.6.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.1
26
+ version: 0.6.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: br_documents
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.0'
75
+ version: 2.4.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.0'
82
+ version: 2.4.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: prawn-table
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -505,7 +505,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
505
505
  - !ruby/object:Gem::Version
506
506
  version: '0'
507
507
  requirements: []
508
- rubygems_version: 3.1.4
508
+ rubygems_version: 3.1.6
509
509
  signing_key:
510
510
  specification_version: 4
511
511
  summary: DANFE pdf generator for Brazilian invoices.