br_danfe 0.17.6 → 0.17.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -2
- data/lib/br_danfe/danfe_lib/nfe_lib/emit_header.rb +1 -1
- data/lib/br_danfe/version.rb +1 -1
- data/spec/fixtures/nfe/lib/emit_header#render-nfe_key.pdf +4 -4
- data/spec/fixtures/nfe/lib/emit_header#render-second_page.pdf +4 -4
- data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +4 -4
- data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +33 -26
- metadata +3 -4
- data/.tool-versions +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28a55400929f3b996e9183f0417d257a6ba19ac2c7ce24f3108e564381b05518
|
4
|
+
data.tar.gz: 60385daa79508eebd810242746aa6d5d8da2161068ca96955a7d96ff8af2cd85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64392aa4b1f0e86cf0f55d1b549359bf2f766a7ba1a4590a54c3820fe36370ffc13ba50aaa666d05e8b38b375842cdd405c94e6b377d3deac74cd113d05b370f
|
7
|
+
data.tar.gz: 98c337a965617f42371063fd83321de0ce958f5bb22df1209b8987e6224cacdb2af5f3fcd4e80ca7beb80765c87733df85c280e4d2ef2ec0da3c92e7da5c5a32
|
data/README.md
CHANGED
@@ -229,9 +229,20 @@ You can generate new data using [4devs generators](http://www.4devs.com.br).
|
|
229
229
|
|
230
230
|
## Deploy to Rubygems
|
231
231
|
|
232
|
-
|
232
|
+
1. Create and send the new version to Rubygems
|
233
233
|
|
234
|
-
|
234
|
+
$ bundle exec rake release
|
235
|
+
|
236
|
+
2. Create a [new release on Github](https://github.com/asseinfo/br_danfe/releases/new)
|
237
|
+
|
238
|
+
* Choose **the new tag** (Ex.: v0.10.1)
|
239
|
+
* Fill the **Release title** (Ex.: 0.10.1)
|
240
|
+
* Click at **Generate release notes**
|
241
|
+
* Click at **Publish release**
|
242
|
+
|
243
|
+
3. Done!
|
244
|
+
|
245
|
+
You can build or install the gem using one of the above tasks
|
235
246
|
|
236
247
|
$ bundle exec rake build # Build br_danfe-X.X.X.gem into the pkg directory
|
237
248
|
$ bundle exec rake install # Build and install br_danfe-X.X.X.gem into system gems
|
@@ -32,7 +32,7 @@ module BrDanfe
|
|
32
32
|
if @logo.blank?
|
33
33
|
@pdf.ibox 3.92, 7.46, 1.25, @y_position + 1.46, '', address, align: :left, border: 0
|
34
34
|
else
|
35
|
-
@pdf.ibox 3.92, 7
|
35
|
+
@pdf.ibox 3.92, 4.7, 3.65, @y_position + 1.46, '', address, size: 8, align: :left, border: 0
|
36
36
|
logo
|
37
37
|
end
|
38
38
|
end
|
data/lib/br_danfe/version.rb
CHANGED
@@ -33,28 +33,28 @@ ET
|
|
33
33
|
|
34
34
|
|
35
35
|
BT
|
36
|
-
|
36
|
+
105.46457 774.51899 Td
|
37
37
|
/F1.0 8 Tf
|
38
38
|
<52756120646f2052656d6574656e74652c20436173612c20313233> Tj
|
39
39
|
ET
|
40
40
|
|
41
41
|
|
42
42
|
BT
|
43
|
-
|
43
|
+
105.46457 766.06299 Td
|
44
44
|
/F1.0 8 Tf
|
45
45
|
<42616972726f20646f2052656d6574656e7465202d2031322e3334352d363738> Tj
|
46
46
|
ET
|
47
47
|
|
48
48
|
|
49
49
|
BT
|
50
|
-
|
50
|
+
105.46457 757.60699 Td
|
51
51
|
/F1.0 8 Tf
|
52
52
|
<53414f205041554c4f2f5350> Tj
|
53
53
|
ET
|
54
54
|
|
55
55
|
|
56
56
|
BT
|
57
|
-
|
57
|
+
105.46457 749.15099 Td
|
58
58
|
/F1.0 8 Tf
|
59
59
|
<2831312920313233342d3536373820666f6f406261722e636f6d> Tj
|
60
60
|
ET
|
@@ -33,28 +33,28 @@ ET
|
|
33
33
|
|
34
34
|
|
35
35
|
BT
|
36
|
-
|
36
|
+
105.46457 774.51899 Td
|
37
37
|
/F1.0 8 Tf
|
38
38
|
<52756120646f2052656d6574656e74652c20436173612c20313233> Tj
|
39
39
|
ET
|
40
40
|
|
41
41
|
|
42
42
|
BT
|
43
|
-
|
43
|
+
105.46457 766.06299 Td
|
44
44
|
/F1.0 8 Tf
|
45
45
|
<42616972726f20646f2052656d6574656e7465202d2031322e3334352d363738> Tj
|
46
46
|
ET
|
47
47
|
|
48
48
|
|
49
49
|
BT
|
50
|
-
|
50
|
+
105.46457 757.60699 Td
|
51
51
|
/F1.0 8 Tf
|
52
52
|
<53414f205041554c4f2f5350> Tj
|
53
53
|
ET
|
54
54
|
|
55
55
|
|
56
56
|
BT
|
57
|
-
|
57
|
+
105.46457 749.15099 Td
|
58
58
|
/F1.0 8 Tf
|
59
59
|
<2831312920313233342d3536373820666f6f406261722e636f6d> Tj
|
60
60
|
ET
|
@@ -33,28 +33,28 @@ ET
|
|
33
33
|
|
34
34
|
|
35
35
|
BT
|
36
|
-
|
36
|
+
105.46457 714.70797 Td
|
37
37
|
/F1.0 8 Tf
|
38
38
|
<52756120646f2052656d6574656e74652c20436173612c20313233> Tj
|
39
39
|
ET
|
40
40
|
|
41
41
|
|
42
42
|
BT
|
43
|
-
|
43
|
+
105.46457 706.25197 Td
|
44
44
|
/F1.0 8 Tf
|
45
45
|
<42616972726f20646f2052656d6574656e7465202d2031322e3334352d363738> Tj
|
46
46
|
ET
|
47
47
|
|
48
48
|
|
49
49
|
BT
|
50
|
-
|
50
|
+
105.46457 697.79597 Td
|
51
51
|
/F1.0 8 Tf
|
52
52
|
<53414f205041554c4f2f5350> Tj
|
53
53
|
ET
|
54
54
|
|
55
55
|
|
56
56
|
BT
|
57
|
-
|
57
|
+
105.46457 689.33997 Td
|
58
58
|
/F1.0 8 Tf
|
59
59
|
<2831312920313233342d3536373820666f6f406261722e636f6d> Tj
|
60
60
|
ET
|
@@ -17,7 +17,7 @@ endobj
|
|
17
17
|
>>
|
18
18
|
endobj
|
19
19
|
4 0 obj
|
20
|
-
<< /Length
|
20
|
+
<< /Length 34210
|
21
21
|
>>
|
22
22
|
stream
|
23
23
|
q
|
@@ -2722,28 +2722,35 @@ ET
|
|
2722
2722
|
|
2723
2723
|
|
2724
2724
|
BT
|
2725
|
-
|
2725
|
+
105.46457 714.70797 Td
|
2726
2726
|
/F1.0 8 Tf
|
2727
|
-
<
|
2727
|
+
<52554120414c4558414e445245204445204755534d414f2c> Tj
|
2728
2728
|
ET
|
2729
2729
|
|
2730
2730
|
|
2731
2731
|
BT
|
2732
|
-
|
2732
|
+
105.46457 706.25197 Td
|
2733
|
+
/F1.0 8 Tf
|
2734
|
+
<323738> Tj
|
2735
|
+
ET
|
2736
|
+
|
2737
|
+
|
2738
|
+
BT
|
2739
|
+
105.46457 697.79597 Td
|
2733
2740
|
/F1.0 8 Tf
|
2734
2741
|
<534f434f52524f202d2030342e3736302d303230> Tj
|
2735
2742
|
ET
|
2736
2743
|
|
2737
2744
|
|
2738
2745
|
BT
|
2739
|
-
|
2746
|
+
105.46457 689.33997 Td
|
2740
2747
|
/F1.0 8 Tf
|
2741
2748
|
<53414f205041554c4f2f5350> Tj
|
2742
2749
|
ET
|
2743
2750
|
|
2744
2751
|
|
2745
2752
|
BT
|
2746
|
-
|
2753
|
+
105.46457 680.88397 Td
|
2747
2754
|
/F1.0 8 Tf
|
2748
2755
|
<2831312920353532352d32303030> Tj
|
2749
2756
|
ET
|
@@ -3294,30 +3301,30 @@ xref
|
|
3294
3301
|
0000000109 00000 n
|
3295
3302
|
0000000158 00000 n
|
3296
3303
|
0000000215 00000 n
|
3297
|
-
|
3298
|
-
|
3299
|
-
|
3300
|
-
|
3301
|
-
|
3302
|
-
|
3303
|
-
|
3304
|
-
|
3305
|
-
|
3306
|
-
|
3307
|
-
|
3308
|
-
|
3309
|
-
|
3310
|
-
|
3311
|
-
|
3312
|
-
|
3313
|
-
|
3314
|
-
|
3315
|
-
|
3304
|
+
0000034478 00000 n
|
3305
|
+
0000034838 00000 n
|
3306
|
+
0000035284 00000 n
|
3307
|
+
0000035452 00000 n
|
3308
|
+
0000035617 00000 n
|
3309
|
+
0000035784 00000 n
|
3310
|
+
0000038173 00000 n
|
3311
|
+
0000038548 00000 n
|
3312
|
+
0000053567 00000 n
|
3313
|
+
0000053780 00000 n
|
3314
|
+
0000055134 00000 n
|
3315
|
+
0000056048 00000 n
|
3316
|
+
0000063225 00000 n
|
3317
|
+
0000063436 00000 n
|
3318
|
+
0000064790 00000 n
|
3319
|
+
0000065704 00000 n
|
3320
|
+
0000071459 00000 n
|
3321
|
+
0000071678 00000 n
|
3322
|
+
0000073032 00000 n
|
3316
3323
|
trailer
|
3317
3324
|
<< /Size 24
|
3318
3325
|
/Root 2 0 R
|
3319
3326
|
/Info 1 0 R
|
3320
3327
|
>>
|
3321
3328
|
startxref
|
3322
|
-
|
3329
|
+
73946
|
3323
3330
|
%%EOF
|
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.17.
|
4
|
+
version: 0.17.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ASSEINFO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: barby
|
@@ -276,7 +276,6 @@ files:
|
|
276
276
|
- ".gitignore"
|
277
277
|
- ".rspec"
|
278
278
|
- ".rubocop.yml"
|
279
|
-
- ".tool-versions"
|
280
279
|
- Dockerfile
|
281
280
|
- Gemfile
|
282
281
|
- Gemfile.lock
|
@@ -576,7 +575,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
576
575
|
- !ruby/object:Gem::Version
|
577
576
|
version: '0'
|
578
577
|
requirements: []
|
579
|
-
rubygems_version: 3.2.
|
578
|
+
rubygems_version: 3.2.32
|
580
579
|
signing_key:
|
581
580
|
specification_version: 4
|
582
581
|
summary: DANFE pdf generator for Brazilian invoices.
|
data/.tool-versions
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby 3.0.4
|