br_danfe 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -7
  3. data/br_danfe.gemspec +1 -1
  4. data/lib/br_danfe/danfe_lib/nfce.rb +2 -2
  5. data/lib/br_danfe/danfe_lib/nfce_lib/document.rb +1 -1
  6. data/lib/br_danfe/danfe_lib/nfce_lib/footer.rb +2 -2
  7. data/lib/br_danfe/danfe_lib/nfce_lib/header.rb +24 -10
  8. data/lib/br_danfe/danfe_lib/nfce_lib/key.rb +3 -3
  9. data/lib/br_danfe/danfe_lib/nfce_lib/nfce_identification.rb +3 -3
  10. data/lib/br_danfe/danfe_lib/nfce_lib/product_list.rb +44 -53
  11. data/lib/br_danfe/danfe_lib/nfce_lib/recipient.rb +1 -1
  12. data/lib/br_danfe/danfe_lib/nfce_lib/total_list.rb +16 -15
  13. data/lib/br_danfe/version.rb +1 -1
  14. data/spec/br_danfe/danfe_lib/nfce_lib/header_spec.rb +1 -1
  15. data/spec/fixtures/nfce/lib/document#render.pdf +12 -23
  16. data/spec/fixtures/nfce/lib/footer#render-with_additional_information.pdf +0 -0
  17. data/spec/fixtures/nfce/lib/footer#render.pdf +0 -0
  18. data/spec/fixtures/nfce/lib/header#render-homologation.pdf +0 -0
  19. data/spec/fixtures/nfce/lib/header#render-long_name_with_logo.pdf +0 -0
  20. data/spec/fixtures/nfce/lib/header#render-long_name_without_logo.pdf +0 -0
  21. data/spec/fixtures/nfce/lib/header#render-short_name_with_logo.pdf +0 -0
  22. data/spec/fixtures/nfce/lib/header#render-short_name_without_logo.pdf +0 -0
  23. data/spec/fixtures/nfce/lib/key#render.pdf +0 -0
  24. data/spec/fixtures/nfce/lib/nfce_identification#render.pdf +0 -0
  25. data/spec/fixtures/nfce/lib/product_list#render-with_many_products.pdf +0 -0
  26. data/spec/fixtures/nfce/lib/product_list#render-with_many_products_and_long_names.pdf +0 -0
  27. data/spec/fixtures/nfce/lib/product_list#render-with_single_product.pdf +0 -0
  28. data/spec/fixtures/nfce/lib/product_list#render-with_single_product_and_long_name.pdf +0 -0
  29. data/spec/fixtures/nfce/lib/product_list_with_many_products_and_long_names.xml +2 -2
  30. data/spec/fixtures/nfce/lib/product_list_with_single_product_and_long_name.xml +1 -1
  31. data/spec/fixtures/nfce/lib/recipient#render-company.pdf +0 -0
  32. data/spec/fixtures/nfce/lib/recipient#render-consumer_without_document.pdf +0 -0
  33. data/spec/fixtures/nfce/lib/recipient#render-foreign.pdf +0 -0
  34. data/spec/fixtures/nfce/lib/recipient#render-individual.pdf +0 -0
  35. data/spec/fixtures/nfce/lib/recipient#render-unidentified_consumer.pdf +0 -0
  36. data/spec/fixtures/nfce/lib/total_list#does_not_render-payment_methods.pdf +0 -0
  37. data/spec/fixtures/nfce/lib/total_list#render-grouped_payment_methods.pdf +0 -0
  38. data/spec/fixtures/nfce/lib/total_list#render-totals.pdf +0 -0
  39. data/spec/fixtures/nfce/lib/total_list#render-without_payment.pdf +0 -0
  40. data/spec/fixtures/nfce/lib/total_list#render.pdf +0 -0
  41. data/spec/fixtures/nfce/v4.00/multiples_xmls_on_the_same_pdf.pdf +568 -447
  42. data/spec/fixtures/nfce/v4.00/nfce-unauthorized-hom.fixture.pdf +0 -0
  43. data/spec/fixtures/nfce/v4.00/nfce-unauthorized-prod.fixture.pdf +0 -0
  44. data/spec/fixtures/nfce/v4.00/rendered_nfce.fixture.pdf +0 -0
  45. data/spec/fixtures/nfce/v4.00/saved_nfce.fixture.pdf +0 -0
  46. metadata +4 -4
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.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASSEINFO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: barby
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 13.0.1
173
+ version: 13.0.6
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 13.0.1
180
+ version: 13.0.6
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rspec
183
183
  requirement: !ruby/object:Gem::Requirement