br_danfe 0.4.3 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -17,61 +17,61 @@ endobj
17
17
  >>
18
18
  endobj
19
19
  4 0 obj
20
- << /Length 772
20
+ << /Length 679
21
21
  >>
22
22
  stream
23
23
  q
24
24
  0.3 w
25
- 21.260 343.276 68.598 24.094 re
25
+ 21.2598 343.2756 68.5984 24.0945 re
26
26
  S
27
27
 
28
28
  BT
29
- 23.25984251968504 361.2720787401575 Td
29
+ 23.2598 361.2721 Td
30
30
  /F1.0 6 Tf
31
31
  [<51> 10 <55> 40 <414e544944> 40 <414445>] TJ
32
32
  ET
33
33
 
34
- 89.858 343.276 86.457 24.094 re
34
+ 89.8583 343.2756 86.4567 24.0945 re
35
35
  S
36
36
 
37
37
  BT
38
- 91.85826771653544 361.2720787401575 Td
38
+ 91.8583 361.2721 Td
39
39
  /F1.0 6 Tf
40
40
  [<455350c9434945>] TJ
41
41
  ET
42
42
 
43
- 176.315 343.276 86.457 24.094 re
43
+ 176.315 343.2756 86.4567 24.0945 re
44
44
  S
45
45
 
46
46
  BT
47
- 178.31496062992127 361.2720787401575 Td
47
+ 178.315 361.2721 Td
48
48
  /F1.0 6 Tf
49
49
  [<4d41524341>] TJ
50
50
  ET
51
51
 
52
- 262.772 343.276 136.913 24.094 re
52
+ 262.7717 343.2756 136.9134 24.0945 re
53
53
  S
54
54
 
55
55
  BT
56
- 264.7716535433071 361.2720787401575 Td
56
+ 264.7717 361.2721 Td
57
57
  /F1.0 6 Tf
58
58
  [<4e554d455241> 40 <c7c3> 55 <4f>] TJ
59
59
  ET
60
60
 
61
- 399.685 343.276 97.228 24.094 re
61
+ 399.685 343.2756 97.2283 24.0945 re
62
62
  S
63
63
 
64
64
  BT
65
- 401.68503937007875 361.2720787401575 Td
65
+ 401.685 361.2721 Td
66
66
  /F1.0 6 Tf
67
67
  [<5045534f204252> 40 <5554> 18 <4f>] TJ
68
68
  ET
69
69
 
70
- 496.913 343.276 79.370 24.094 re
70
+ 496.9134 343.2756 79.3701 24.0945 re
71
71
  S
72
72
 
73
73
  BT
74
- 498.91338582677173 361.2720787401575 Td
74
+ 498.9134 361.2721 Td
75
75
  /F1.0 6 Tf
76
76
  [<5045534f204ccd51> 10 <5549444f>] TJ
77
77
  ET
@@ -105,13 +105,13 @@ xref
105
105
  0000000109 00000 n
106
106
  0000000158 00000 n
107
107
  0000000215 00000 n
108
- 0000001038 00000 n
109
- 0000001218 00000 n
108
+ 0000000945 00000 n
109
+ 0000001125 00000 n
110
110
  trailer
111
111
  << /Size 7
112
112
  /Root 2 0 R
113
113
  /Info 1 0 R
114
114
  >>
115
115
  startxref
116
- 1317
116
+ 1224
117
117
  %%EOF
@@ -17,96 +17,96 @@ endobj
17
17
  >>
18
18
  endobj
19
19
  4 0 obj
20
- << /Length 1190
20
+ << /Length 1003
21
21
  >>
22
22
  stream
23
23
  q
24
24
  0.3 w
25
- 21.260 343.276 68.598 24.094 re
25
+ 21.2598 343.2756 68.5984 24.0945 re
26
26
  S
27
27
 
28
28
  BT
29
- 23.25984251968504 361.2720787401575 Td
29
+ 23.2598 361.2721 Td
30
30
  /F1.0 6 Tf
31
31
  [<51> 10 <55> 40 <414e544944> 40 <414445>] TJ
32
32
  ET
33
33
 
34
34
 
35
35
  BT
36
- 23.25984251968504 347.5400787401575 Td
36
+ 23.2598 347.5401 Td
37
37
  /F1.0 10 Tf
38
38
  [<31>] TJ
39
39
  ET
40
40
 
41
- 89.858 343.276 86.457 24.094 re
41
+ 89.8583 343.2756 86.4567 24.0945 re
42
42
  S
43
43
 
44
44
  BT
45
- 91.85826771653544 361.2720787401575 Td
45
+ 91.8583 361.2721 Td
46
46
  /F1.0 6 Tf
47
47
  [<455350c9434945>] TJ
48
48
  ET
49
49
 
50
50
 
51
51
  BT
52
- 91.85826771653544 347.5400787401575 Td
52
+ 91.8583 347.5401 Td
53
53
  /F1.0 10 Tf
54
54
  [<56> 40 <4f4c554d45532031>] TJ
55
55
  ET
56
56
 
57
- 176.315 343.276 86.457 24.094 re
57
+ 176.315 343.2756 86.4567 24.0945 re
58
58
  S
59
59
 
60
60
  BT
61
- 178.31496062992127 361.2720787401575 Td
61
+ 178.315 361.2721 Td
62
62
  /F1.0 6 Tf
63
63
  [<4d41524341>] TJ
64
64
  ET
65
65
 
66
66
 
67
67
  BT
68
- 178.31496062992127 347.5400787401575 Td
68
+ 178.315 347.5401 Td
69
69
  /F1.0 10 Tf
70
70
  [<4449564552534f532031>] TJ
71
71
  ET
72
72
 
73
- 262.772 343.276 136.913 24.094 re
73
+ 262.7717 343.2756 136.9134 24.0945 re
74
74
  S
75
75
 
76
76
  BT
77
- 264.7716535433071 361.2720787401575 Td
77
+ 264.7717 361.2721 Td
78
78
  /F1.0 6 Tf
79
79
  [<4e554d455241> 40 <c7c3> 55 <4f>] TJ
80
80
  ET
81
81
 
82
- 399.685 343.276 97.228 24.094 re
82
+ 399.685 343.2756 97.2283 24.0945 re
83
83
  S
84
84
 
85
85
  BT
86
- 401.68503937007875 361.2720787401575 Td
86
+ 401.685 361.2721 Td
87
87
  /F1.0 6 Tf
88
88
  [<5045534f204252> 40 <5554> 18 <4f>] TJ
89
89
  ET
90
90
 
91
91
 
92
92
  BT
93
- 454.9133858267717 347.5400787401575 Td
93
+ 454.9134 347.5401 Td
94
94
  /F1.0 10 Tf
95
95
  [<312e3130302c303030>] TJ
96
96
  ET
97
97
 
98
- 496.913 343.276 79.370 24.094 re
98
+ 496.9134 343.2756 79.3701 24.0945 re
99
99
  S
100
100
 
101
101
  BT
102
- 498.91338582677173 361.2720787401575 Td
102
+ 498.9134 361.2721 Td
103
103
  /F1.0 6 Tf
104
104
  [<5045534f204ccd51> 10 <5549444f>] TJ
105
105
  ET
106
106
 
107
107
 
108
108
  BT
109
- 534.2834645669292 347.5400787401575 Td
109
+ 534.2835 347.5401 Td
110
110
  /F1.0 10 Tf
111
111
  [<312e3030302c303030>] TJ
112
112
  ET
@@ -140,13 +140,13 @@ xref
140
140
  0000000109 00000 n
141
141
  0000000158 00000 n
142
142
  0000000215 00000 n
143
- 0000001457 00000 n
144
- 0000001637 00000 n
143
+ 0000001270 00000 n
144
+ 0000001450 00000 n
145
145
  trailer
146
146
  << /Size 7
147
147
  /Root 2 0 R
148
148
  /Info 1 0 R
149
149
  >>
150
150
  startxref
151
- 1736
151
+ 1549
152
152
  %%EOF