webtranslateit-payday 1.6.5 → 1.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -3
- data/.github/workflows/release-drafter.yml +1 -1
- data/.rubocop_todo.yml +0 -7
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +77 -64
- data/lib/payday/invoiceable.rb +1 -1
- data/lib/payday/pdf_renderer.rb +2 -2
- data/payday.gemspec +1 -1
- data/spec/assets/svg.pdf +176 -104
- data/spec/assets/testing.pdf +214 -151
- data/spec/assets/testing_es.pdf +0 -0
- data/spec/assets/testing_predefined_amount.pdf +0 -0
- data/spec/invoice_spec.rb +3 -3
- data/spec/line_item_spec.rb +5 -5
- metadata +3 -3
data/spec/assets/svg.pdf
CHANGED
@@ -6,18 +6,18 @@
|
|
6
6
|
>>
|
7
7
|
endobj
|
8
8
|
2 0 obj
|
9
|
-
<< /
|
10
|
-
/
|
9
|
+
<< /Pages 3 0 R
|
10
|
+
/Type /Catalog
|
11
11
|
>>
|
12
12
|
endobj
|
13
13
|
3 0 obj
|
14
|
-
<< /
|
15
|
-
/Count 1
|
14
|
+
<< /Count 1
|
16
15
|
/Kids [5 0 R]
|
16
|
+
/Type /Pages
|
17
17
|
>>
|
18
18
|
endobj
|
19
19
|
4 0 obj
|
20
|
-
<< /Length
|
20
|
+
<< /Length 48533
|
21
21
|
>>
|
22
22
|
stream
|
23
23
|
q
|
@@ -53,7 +53,6 @@ q
|
|
53
53
|
Q
|
54
54
|
q
|
55
55
|
0.0 0.0 0.0 scn
|
56
|
-
2 j
|
57
56
|
108.43032 329.19664 m
|
58
57
|
36.0 402.39328 l
|
59
58
|
36.0 506.12883 l
|
@@ -2332,141 +2331,214 @@ Q
|
|
2332
2331
|
endstream
|
2333
2332
|
endobj
|
2334
2333
|
5 0 obj
|
2335
|
-
<< /
|
2336
|
-
/Parent 3 0 R
|
2337
|
-
/MediaBox [0 0 612 792]
|
2338
|
-
/CropBox [0 0 612 792]
|
2334
|
+
<< /ArtBox [0 0 612 792]
|
2339
2335
|
/BleedBox [0 0 612 792]
|
2340
|
-
/TrimBox [0 0 612 792]
|
2341
|
-
/ArtBox [0 0 612 792]
|
2342
2336
|
/Contents 4 0 R
|
2343
|
-
/
|
2344
|
-
/
|
2345
|
-
/
|
2337
|
+
/CropBox [0 0 612 792]
|
2338
|
+
/MediaBox [0 0 612 792]
|
2339
|
+
/Parent 3 0 R
|
2340
|
+
/Resources << /Font << /F1.0 7 0 R
|
2341
|
+
/F2.0 6 0 R
|
2346
2342
|
>>
|
2343
|
+
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
|
2347
2344
|
>>
|
2345
|
+
/TrimBox [0 0 612 792]
|
2346
|
+
/Type /Page
|
2348
2347
|
>>
|
2349
2348
|
endobj
|
2350
2349
|
6 0 obj
|
2351
|
-
<< /
|
2352
|
-
/BaseFont /b22dd8+NotoSans-Bold
|
2353
|
-
/Subtype /TrueType
|
2354
|
-
/FontDescriptor 9 0 R
|
2350
|
+
<< /BaseFont /b22dd8+NotoSans-Bold
|
2355
2351
|
/FirstChar 32
|
2356
|
-
/
|
2357
|
-
/
|
2352
|
+
/FontDescriptor 9 0 R
|
2353
|
+
/LastChar 121
|
2354
|
+
/Subtype /TrueType
|
2358
2355
|
/ToUnicode 10 0 R
|
2356
|
+
/Type /Font
|
2357
|
+
/Widths 11 0 R
|
2359
2358
|
>>
|
2360
2359
|
endobj
|
2361
2360
|
7 0 obj
|
2362
|
-
<< /
|
2363
|
-
/BaseFont /5a974e+NotoSans
|
2364
|
-
/Subtype /TrueType
|
2365
|
-
/FontDescriptor 13 0 R
|
2361
|
+
<< /BaseFont /5a974e+NotoSans
|
2366
2362
|
/FirstChar 32
|
2367
|
-
/
|
2368
|
-
/
|
2363
|
+
/FontDescriptor 13 0 R
|
2364
|
+
/LastChar 122
|
2365
|
+
/Subtype /TrueType
|
2369
2366
|
/ToUnicode 14 0 R
|
2367
|
+
/Type /Font
|
2368
|
+
/Widths 15 0 R
|
2370
2369
|
>>
|
2371
2370
|
endobj
|
2372
2371
|
8 0 obj
|
2373
|
-
<< /
|
2374
|
-
/
|
2375
|
-
/Filter [/FlateDecode]
|
2372
|
+
<< /Length 5564
|
2373
|
+
/Length1 5564
|
2376
2374
|
>>
|
2377
2375
|
stream
|
2378
|
-
|
2379
|
-
|
2380
|
-
|
2381
|
-
|
2382
|
-
|
2383
|
-
|
2384
|
-
|
2385
|
-
��
|
2386
|
-
|
2387
|
-
|
2388
|
-
�
|
2389
|
-
���
|
2376
|
+
�0OS/2|M��8`cmap����8gasp�glyfVb���head��Yi�6hhea9��$hmtx�����loca�!L�maxp.B name5�����post�if� \lj[\_<���4��(���h�B �����hB((A���3�3�fGOOG y����X ^� ��H?�J�y�NHu�`�w��d�B��h���^wH�h^�)��V�\\�\B�q�q���B��\����\y/B���
|
2377
|
+
�
|
2378
|
+
|
2379
|
+
p �
|
2380
|
+
|
2381
|
+
d
|
2382
|
+
�R��
|
2383
|
+
�!!7!!�I��hy����Jh�?����%#7!�4|�A$����
|
2384
|
+
�J��H�!"!2326&#"H���������5]nl`akm^�����|s�o��������
|
2385
|
+
|
2386
|
+
!!77'3N��M����N��M��wNP�!!5>54&#"'>32!P�o�d,aQU�W�l��h��tG���}�s��n;XVNH�\L)d�te����u���s74632#"&4632#"&uZVS[\RT\ZVS[]QT\�TVXRO[Y�TVXRQYX��
|
2387
|
+
����sNZTI����be�w����"!27# 4$32&&%��o�۴������7���dR������M��K�j�W�g�':�u�!!! !#3 u�e�|�b�f����`���������������H��� !!!!!!���F���������B��!!57'5!��g������R�R��R�NR�h�R��
|
2388
|
+
qlmh�������w����!# ! 3 !"緱`�s������iQQe�պ�s���������Q�wH�mm��|��������H�32654&##!! !�d����^���*�������-bihX�y����݁�9��1^���'#"'32654&&'.54$32&&#"���괔�Ufm0]���P�r�qdu�JX^&S�͘���X B6NM+C>D?t�g��61�0&RB)=9Jb�)y�!!!!!����sP�s������^�# 5!3265^�������5������N��!��������}V��;u"!'##"&5467754#"'6323265f;M������®��e������v���j�aK���� 1�Q�e���XZ�ze����2#"'##!36"32654&�����p3�1kpqhkt^ops�������Џ{��E���!������\���s !2&&#"3267f�� ZH|>��X�KJ�=-L�%����/2��/$\��q"323&5!#'#'26754&#"�����o
|
2389
|
+
2�;
|
2390
|
+
����^�^s\���s%#"&'53254&&'.54632&&#"���z�KU�Q�,lZ�y7��ʿ\T�L�W��z:L��! �(6`$-9&6\wW��X�$.I)<;5\x/��7L%27#"&5#5773!!wPpr�����X�9��I�#�3���f�����A>����^!'##"&5!3265!�)1�s��1V^�r1�NU����syy�����^!#!!3677!3667!7Vr �����0�'�P�#(�+������^�X��L�U��7�:Y�3���
|
2391
|
+
�^!!!!���Z��Z��}������;#��d��������^!367!#"'532677N�
|
2392
|
+
�G�'A�OL7AQy"^��Rpg[u����
|
2393
|
+
`� >� <<
|
2390
2394
|
endstream
|
2391
2395
|
endobj
|
2392
2396
|
9 0 obj
|
2393
|
-
<< /
|
2394
|
-
/
|
2395
|
-
/
|
2396
|
-
/FontBBox [-619 -292 1441 1068]
|
2397
|
+
<< /Ascent 1068
|
2398
|
+
/CapHeight 1462
|
2399
|
+
/Descent -292
|
2397
2400
|
/Flags 4
|
2398
|
-
/
|
2401
|
+
/FontBBox [-619 -292 1441 1068]
|
2402
|
+
/FontFile2 8 0 R
|
2403
|
+
/FontName /b22dd8+NotoSans-Bold
|
2399
2404
|
/ItalicAngle 0
|
2400
|
-
/
|
2401
|
-
/
|
2402
|
-
/CapHeight 1462
|
2405
|
+
/StemV 0
|
2406
|
+
/Type /FontDescriptor
|
2403
2407
|
/XHeight 1118
|
2404
2408
|
>>
|
2405
2409
|
endobj
|
2406
2410
|
10 0 obj
|
2407
|
-
<< /Length
|
2408
|
-
/Filter [/FlateDecode]
|
2411
|
+
<< /Length 567
|
2409
2412
|
>>
|
2410
2413
|
stream
|
2411
|
-
|
2412
|
-
|
2414
|
+
/CIDInit /ProcSet findresource begin
|
2415
|
+
12 dict begin
|
2416
|
+
begincmap
|
2417
|
+
/CIDSystemInfo 3 dict dup begin
|
2418
|
+
/Registry (Adobe) def
|
2419
|
+
/Ordering (UCS) def
|
2420
|
+
/Supplement 0 def
|
2421
|
+
end def
|
2422
|
+
/CMapName /Adobe-Identity-UCS def
|
2423
|
+
/CMapType 2 def
|
2424
|
+
1 begincodespacerange
|
2425
|
+
<00><79>
|
2426
|
+
endcodespacerange
|
2427
|
+
9 beginbfrange
|
2428
|
+
<30><32><0030>
|
2429
|
+
<41><44><0041>
|
2430
|
+
<49><4A><0049>
|
2431
|
+
<50><55><0050>
|
2432
|
+
<61><65><0061>
|
2433
|
+
<68><69><0068>
|
2434
|
+
<6C><70><006c>
|
2435
|
+
<72><75><0072>
|
2436
|
+
<77><79><0077>
|
2437
|
+
endbfrange
|
2438
|
+
5 beginbfchar
|
2439
|
+
<20><0020>
|
2440
|
+
<2C><002c>
|
2441
|
+
<3A><003a>
|
2442
|
+
<46><0046>
|
2443
|
+
<4E><004e>
|
2444
|
+
endbfchar
|
2445
|
+
endcmap
|
2446
|
+
CMapName currentdict /CMap defineresource pop
|
2447
|
+
end
|
2448
|
+
end
|
2413
2449
|
endstream
|
2414
2450
|
endobj
|
2415
2451
|
11 0 obj
|
2416
|
-
[259
|
2452
|
+
[259 0 0 0 0 0 0 0 0 0 0 0 285 0 0 0 571 571 571 0 0 0 0 0 0 0 285 0 0 0 0 0 0 689 671 637 740 0 548 0 0 389 331 0 0 0 812 0 627 795 660 550 579 755 0 0 0 0 0 0 0 0 0 0 0 604 632 514 632 590 0 0 657 305 0 0 305 981 657 619 632 0 454 497 434 657 0 855 578 568]
|
2417
2453
|
endobj
|
2418
2454
|
12 0 obj
|
2419
|
-
<< /
|
2420
|
-
/
|
2421
|
-
/Filter [/FlateDecode]
|
2455
|
+
<< /Length 5836
|
2456
|
+
/Length1 5836
|
2422
2457
|
>>
|
2423
2458
|
stream
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2427
|
-
|
2428
|
-
|
2429
|
-
�
|
2430
|
-
|
2431
|
-
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
2436
|
-
���
|
2437
|
-
|
2438
|
-
|
2439
|
-
|
2440
|
-
%~b�+)#ib��O��!���1ٶ��,+ze�T�r�L��,��x z
|
2441
|
-
���B;V��V9��F��\!������0�~�Uq�K����_��Uؓ��?D�V��,�����bv�f
|
2442
|
-
X>��U�/U�������,O� {��UX�� 6�69*������`�Yds���_�m���XgȏC�ٿ;���}��#8�Ig'����
|
2459
|
+
�0OS/2{!��8`cmap����<gasp�glyf�}h���head��Yg�6hheaEM�$hmtx�����locagP�maxp/B name�1����post�if� \Q_<���4��(���`�V ���{�`V))Ab��3�3�fGOOG@ z����X J� ��'��%T%��d���b�\���f1w}'���/�`?}��dhsq}^�q�q�q���F��{����q��N��h�!J�P
|
2460
|
+
|
2461
|
+
|
2462
|
+
j
|
2463
|
+
�~�9���
|
2464
|
+
�!!7!!�I��hy����Jh������#34632#"&Nu3��A>>AC<=B���BGI@@LJ�� &-#5&&'5&&546753&'4&'6˼�r�DK�cͪʭ���8����J�^s���Vj^b�����#�#3�A������G�=�Z6`{dHU(�� �IZ&uZT����%#67{7y�A%�����������74632#"&�A<=DD=;BoBGGBAKJd��/�#"3232#"/���������ꑞ�����������r~r��������!74"�����!#47'3װ fy^����tUcy3b)�!!5>54&#"'632!)�9�p7�xZ�e`����F���������Qt�<Oy�Ѵ`�����\���'!"&'53 !#532654&#"'6632�����t�[]�cr�g���}a�kZZ���`������"-�.2!���iv5F{GQ�����2!"'53265!"'!!63�������J�c����v�Z7���#s������O�,4��(9���Xf��)�%!"'532667##"&5432"326654&&)�`tDMg��o
|
2465
|
+
'�d��kȀE�CYn�������>/�������l���Q�����IN��ی�cOS_˲��u�,�ҭ����������X�T�d�߶�����5��
|
2466
|
+
�����i�gI��NA}w4 �,2���}��cjrV\q���^"32&#"327f����P�37�b������r#+!�4����@�;q��= "323&&53#'#'26554&#"3�����w
|
2467
|
+
��sƤ������(
|
2468
|
+
1�q����������8Z@PZ���5�s�!#34632#"&b���=-*??*-=J)<66<;88�3773##3`=F_��D����}��5NTs�+��m�m�Ӳ�b!#3b����^"!#"#4&#"#33663 36632#ߙ��mt����
|
2469
|
+
/�jN
|
2470
|
+
5�t������������J�PZ�X`���5�L^!4&#"#336632�w����
|
2471
|
+
3�o���������J�QY���5q��h^#"&53232654&# h����|���ã�������'���ҋ�+������������{^!"'##336632"32654&��w��@�n������������)N=�=6�ZP��������۸�#�������/^2&#"#3366�I8=:W�T��?�^�`�g��J�mph��y^##"'532654&'.54632&#"y��ـ���|w��~;����=��ptd���>/��E�XXJAZ:<UjL��J�FG><OF3Xn!���F%267# #5773!!#^i6����Hk=��[ �SVH�����_f3J!&'##3376733673/�2* ���Ӻhm
|
2472
|
+
�Ľ
|
2473
|
+
@����jM��b��J�k�ZW>�Zk��#OMIL�J���J336673#"'532677��K @���'E��KJ2FVx&9J���_%�=o����_c�PsJ !!5!5!!s��N�����TwG����� ^ m 8� � � D� *9 (c
|
2474
|
+
`� >� <)
|
2443
2475
|
endstream
|
2444
2476
|
endobj
|
2445
2477
|
13 0 obj
|
2446
|
-
<< /
|
2447
|
-
/
|
2448
|
-
/
|
2449
|
-
/FontBBox [-556 -272 1321 1047]
|
2478
|
+
<< /Ascent 1068
|
2479
|
+
/CapHeight 1462
|
2480
|
+
/Descent -292
|
2450
2481
|
/Flags 4
|
2451
|
-
/
|
2482
|
+
/FontBBox [-556 -272 1321 1047]
|
2483
|
+
/FontFile2 12 0 R
|
2484
|
+
/FontName /5a974e+NotoSans
|
2452
2485
|
/ItalicAngle 0
|
2453
|
-
/
|
2454
|
-
/
|
2455
|
-
/CapHeight 1462
|
2486
|
+
/StemV 0
|
2487
|
+
/Type /FontDescriptor
|
2456
2488
|
/XHeight 1098
|
2457
2489
|
>>
|
2458
2490
|
endobj
|
2459
2491
|
14 0 obj
|
2460
|
-
<< /Length
|
2461
|
-
/Filter [/FlateDecode]
|
2492
|
+
<< /Length 661
|
2462
2493
|
>>
|
2463
2494
|
stream
|
2464
|
-
|
2465
|
-
|
2495
|
+
/CIDInit /ProcSet findresource begin
|
2496
|
+
12 dict begin
|
2497
|
+
begincmap
|
2498
|
+
/CIDSystemInfo 3 dict dup begin
|
2499
|
+
/Registry (Adobe) def
|
2500
|
+
/Ordering (UCS) def
|
2501
|
+
/Supplement 0 def
|
2502
|
+
end def
|
2503
|
+
/CMapName /Adobe-Identity-UCS def
|
2504
|
+
/CMapType 2 def
|
2505
|
+
1 begincodespacerange
|
2506
|
+
<00><7A>
|
2507
|
+
endcodespacerange
|
2508
|
+
10 beginbfrange
|
2509
|
+
<20><21><0020>
|
2510
|
+
<30><33><0030>
|
2511
|
+
<40><41><0040>
|
2512
|
+
<4F><50><004f>
|
2513
|
+
<53><54><0053>
|
2514
|
+
<63><65><0063>
|
2515
|
+
<68><69><0068>
|
2516
|
+
<6B><70><006b>
|
2517
|
+
<72><74><0072>
|
2518
|
+
<79><7A><0079>
|
2519
|
+
endbfrange
|
2520
|
+
12 beginbfchar
|
2521
|
+
<24><0024>
|
2522
|
+
<2C><002c>
|
2523
|
+
<2E><002e>
|
2524
|
+
<35><0035>
|
2525
|
+
<39><0039>
|
2526
|
+
<43><0043>
|
2527
|
+
<46><0046>
|
2528
|
+
<48><0048>
|
2529
|
+
<4A><004a>
|
2530
|
+
<57><0057>
|
2531
|
+
<61><0061>
|
2532
|
+
<77><0077>
|
2533
|
+
endbfchar
|
2534
|
+
endcmap
|
2535
|
+
CMapName currentdict /CMap defineresource pop
|
2536
|
+
end
|
2537
|
+
end
|
2466
2538
|
endstream
|
2467
2539
|
endobj
|
2468
2540
|
15 0 obj
|
2469
|
-
[259 269
|
2541
|
+
[259 269 0 0 571 0 0 0 0 0 0 0 268 0 268 0 571 571 571 571 0 571 0 0 0 571 0 0 0 0 0 0 898 639 0 631 0 0 519 0 741 0 272 0 0 0 0 780 604 0 0 548 556 0 0 930 0 0 0 0 0 0 0 0 0 561 0 479 615 563 0 0 618 257 0 534 257 935 618 604 615 0 413 479 360 0 0 786 0 509 470]
|
2470
2542
|
endobj
|
2471
2543
|
xref
|
2472
2544
|
0 16
|
@@ -2475,22 +2547,22 @@ xref
|
|
2475
2547
|
0000000109 00000 n
|
2476
2548
|
0000000158 00000 n
|
2477
2549
|
0000000215 00000 n
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2550
|
+
0000048801 00000 n
|
2551
|
+
0000049079 00000 n
|
2552
|
+
0000049246 00000 n
|
2553
|
+
0000049409 00000 n
|
2554
|
+
0000055039 00000 n
|
2555
|
+
0000055253 00000 n
|
2556
|
+
0000055872 00000 n
|
2557
|
+
0000056148 00000 n
|
2558
|
+
0000062051 00000 n
|
2559
|
+
0000062262 00000 n
|
2560
|
+
0000062975 00000 n
|
2489
2561
|
trailer
|
2490
|
-
<< /
|
2562
|
+
<< /Info 1 0 R
|
2491
2563
|
/Root 2 0 R
|
2492
|
-
/
|
2564
|
+
/Size 16
|
2493
2565
|
>>
|
2494
2566
|
startxref
|
2495
|
-
|
2567
|
+
63255
|
2496
2568
|
%%EOF
|