prawn-dev 0.5.0 → 0.6.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -1
- data/lib/prawn/dev/tasks.rb +4 -6
- data/lib/prawn/dev/version.rb +1 -1
- data/rubocop.yml +146 -93
- data.tar.gz.sig +0 -0
- metadata +21 -23
- metadata.gz.sig +0 -0
- data/lib/rubocop/cop/prawn/style/trailing_comma_fix.rb +0 -19
- data/lib/rubocop/cop/prawn_cops.rb +0 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfb626d8c8bda32dbcecbb18af1bf82a178ae325e709710383c37652f5df49b0
|
|
4
|
+
data.tar.gz: 8fbe3b0d9b2825f6501587b43bdb991d070d0016d312e4d9397c96b4e88ecbf7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8ef3604aa950867450d0e12e4163cb41046fea844519e83c91849cbc762a7e88a91d416da33738f5df9812f1e1c86e90973a64c4ca9925603754c824e57000b
|
|
7
|
+
data.tar.gz: 1695c250fce6f16a158c22799943cb68cc508f1e0b8a9de266794da162add9bb4d78da527fa747597c024617f33fba18b5c7eaea1d199b04247776b0af8071b1
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
�B�&�J���q]�+)Q�������z.�Ӭ�1�����{���.T�3/����_W���8\�vSQf�iq��q
|
data/lib/prawn/dev/tasks.rb
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require 'fileutils'
|
|
4
|
-
require 'rubygems/package_task'
|
|
5
4
|
|
|
6
5
|
unless Kernel.const_defined?(:GEMSPEC)
|
|
7
6
|
raise StandardError, 'GEMSPEC is not defined'
|
|
8
7
|
end
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
package_task.define
|
|
9
|
+
gemspec = Gem::Specification.load(GEMSPEC)
|
|
12
10
|
|
|
13
|
-
built_gem_path = "pkg/#{
|
|
11
|
+
built_gem_path = "pkg/#{gemspec.full_name}.gem"
|
|
14
12
|
checksum_path = "checksums/#{File.basename(built_gem_path)}.sha512"
|
|
15
13
|
|
|
16
|
-
file built_gem_path do
|
|
17
|
-
|
|
14
|
+
file built_gem_path do |t|
|
|
15
|
+
%x(gem build "#{GEMSPEC}" --output "#{t.name}")
|
|
18
16
|
end
|
|
19
17
|
|
|
20
18
|
file checksum_path => built_gem_path do
|
data/lib/prawn/dev/version.rb
CHANGED
data/rubocop.yml
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
plugins:
|
|
2
2
|
- rubocop-performance
|
|
3
3
|
- rubocop-rspec
|
|
4
|
-
- rubocop/cop/prawn_cops
|
|
5
4
|
|
|
6
5
|
AllCops:
|
|
7
6
|
TargetRubyVersion: 2.7
|
|
@@ -9,6 +8,12 @@ AllCops:
|
|
|
9
8
|
- pkg/**/*
|
|
10
9
|
- "*.rb"
|
|
11
10
|
|
|
11
|
+
Gemspec/AddRuntimeDependency:
|
|
12
|
+
Enabled: true
|
|
13
|
+
|
|
14
|
+
Gemspec/AttributeAssignment:
|
|
15
|
+
Enabled: true
|
|
16
|
+
|
|
12
17
|
Gemspec/DependencyVersion:
|
|
13
18
|
Enabled: true
|
|
14
19
|
|
|
@@ -25,6 +30,9 @@ Gemspec/RequireMFA:
|
|
|
25
30
|
Layout/ArgumentAlignment:
|
|
26
31
|
EnforcedStyle: with_fixed_indentation
|
|
27
32
|
|
|
33
|
+
Layout/EmptyLinesAfterModuleInclusion:
|
|
34
|
+
Enabled: true
|
|
35
|
+
|
|
28
36
|
Layout/ExtraSpacing:
|
|
29
37
|
AllowForAlignment: false
|
|
30
38
|
|
|
@@ -105,9 +113,18 @@ Lint/AmbiguousOperatorPrecedence:
|
|
|
105
113
|
Lint/AmbiguousRange:
|
|
106
114
|
Enabled: true
|
|
107
115
|
|
|
116
|
+
Lint/ArrayLiteralInRegexp:
|
|
117
|
+
Enabled: true
|
|
118
|
+
|
|
108
119
|
Lint/ConstantOverwrittenInRescue:
|
|
109
120
|
Enabled: true
|
|
110
121
|
|
|
122
|
+
Lint/ConstantReassignment:
|
|
123
|
+
Enabled: true
|
|
124
|
+
|
|
125
|
+
Lint/CopDirectiveSyntax:
|
|
126
|
+
Enabled: true
|
|
127
|
+
|
|
111
128
|
Lint/DeprecatedConstants:
|
|
112
129
|
Enabled: true
|
|
113
130
|
|
|
@@ -123,6 +140,9 @@ Lint/DuplicateMatchPattern:
|
|
|
123
140
|
Lint/DuplicateRegexpCharacterClassElement:
|
|
124
141
|
Enabled: true
|
|
125
142
|
|
|
143
|
+
Lint/DuplicateSetElement:
|
|
144
|
+
Enabled: true
|
|
145
|
+
|
|
126
146
|
Lint/EmptyBlock:
|
|
127
147
|
Enabled: true
|
|
128
148
|
|
|
@@ -132,6 +152,9 @@ Lint/EmptyClass:
|
|
|
132
152
|
Lint/EmptyInPattern:
|
|
133
153
|
Enabled: true
|
|
134
154
|
|
|
155
|
+
Lint/HashNewWithKeywordArgumentsAsDefault:
|
|
156
|
+
Enabled: true
|
|
157
|
+
|
|
135
158
|
Lint/HeredocMethodCallPosition:
|
|
136
159
|
Enabled: true
|
|
137
160
|
|
|
@@ -162,6 +185,9 @@ Lint/NumberConversion:
|
|
|
162
185
|
Lint/NumberedParameterAssignment:
|
|
163
186
|
Enabled: true
|
|
164
187
|
|
|
188
|
+
Lint/NumericOperationWithConstantResult:
|
|
189
|
+
Enabled: true
|
|
190
|
+
|
|
165
191
|
Lint/OrAssignmentToConstant:
|
|
166
192
|
Enabled: true
|
|
167
193
|
|
|
@@ -171,6 +197,9 @@ Lint/RedundantDirGlobSort:
|
|
|
171
197
|
Lint/RedundantRegexpQuantifiers:
|
|
172
198
|
Enabled: true
|
|
173
199
|
|
|
200
|
+
Lint/RedundantTypeConversion:
|
|
201
|
+
Enabled: true
|
|
202
|
+
|
|
174
203
|
Lint/RefinementImportMethods:
|
|
175
204
|
Enabled: true
|
|
176
205
|
|
|
@@ -183,6 +212,12 @@ Lint/RequireRelativeSelfPath:
|
|
|
183
212
|
Lint/SafeNavigationChain:
|
|
184
213
|
Enabled: true
|
|
185
214
|
|
|
215
|
+
Lint/SharedMutableDefault:
|
|
216
|
+
Enabled: true
|
|
217
|
+
|
|
218
|
+
Lint/SuppressedExceptionInNumberConversion:
|
|
219
|
+
Enabled: true
|
|
220
|
+
|
|
186
221
|
Lint/SymbolConversion:
|
|
187
222
|
Enabled: true
|
|
188
223
|
|
|
@@ -192,12 +227,30 @@ Lint/ToEnumArguments:
|
|
|
192
227
|
Lint/TripleQuotes:
|
|
193
228
|
Enabled: true
|
|
194
229
|
|
|
230
|
+
Lint/UnescapedBracketInRegexp:
|
|
231
|
+
Enabled: true
|
|
232
|
+
|
|
195
233
|
Lint/UnexpectedBlockArity:
|
|
196
234
|
Enabled: true
|
|
197
235
|
|
|
198
236
|
Lint/UnmodifiedReduceAccumulator:
|
|
199
237
|
Enabled: true
|
|
200
238
|
|
|
239
|
+
Lint/UselessConstantScoping:
|
|
240
|
+
Enabled: true
|
|
241
|
+
|
|
242
|
+
Lint/UselessDefaultValueArgument:
|
|
243
|
+
Enabled: true
|
|
244
|
+
|
|
245
|
+
Lint/UselessDefined:
|
|
246
|
+
Enabled: true
|
|
247
|
+
|
|
248
|
+
Lint/UselessNumericOperation:
|
|
249
|
+
Enabled: true
|
|
250
|
+
|
|
251
|
+
Lint/UselessOr:
|
|
252
|
+
Enabled: true
|
|
253
|
+
|
|
201
254
|
Lint/UselessRescue:
|
|
202
255
|
Enabled: true
|
|
203
256
|
|
|
@@ -254,6 +307,9 @@ Naming/MethodParameterName:
|
|
|
254
307
|
|
|
255
308
|
ForbiddenNames: []
|
|
256
309
|
|
|
310
|
+
Naming/PredicateMethod:
|
|
311
|
+
Enabled: true
|
|
312
|
+
|
|
257
313
|
Security/CompoundHash:
|
|
258
314
|
Enabled: true
|
|
259
315
|
|
|
@@ -263,12 +319,18 @@ Security/IoMethods:
|
|
|
263
319
|
Style/AccessorGrouping:
|
|
264
320
|
EnforcedStyle: separated
|
|
265
321
|
|
|
322
|
+
Style/AmbiguousEndlessMethodDefinition:
|
|
323
|
+
Enabled: true
|
|
324
|
+
|
|
266
325
|
Style/ArgumentsForwarding:
|
|
267
326
|
Enabled: true
|
|
268
327
|
|
|
269
328
|
Style/ArrayIntersect:
|
|
270
329
|
Enabled: true
|
|
271
330
|
|
|
331
|
+
Style/ArrayIntersectWithSingleElement:
|
|
332
|
+
Enabled: true
|
|
333
|
+
|
|
272
334
|
# We need to reference non-ascii characters when testing and explaining
|
|
273
335
|
# behavior related to win-1252, UTF-8 and UTF-16 encodings for example.
|
|
274
336
|
Style/AsciiComments:
|
|
@@ -277,6 +339,9 @@ Style/AsciiComments:
|
|
|
277
339
|
Style/AutoResourceCleanup:
|
|
278
340
|
Enabled: true
|
|
279
341
|
|
|
342
|
+
Style/BitwisePredicate:
|
|
343
|
+
Enabled: true
|
|
344
|
+
|
|
280
345
|
Style/BlockDelimiters:
|
|
281
346
|
EnforcedStyle: semantic
|
|
282
347
|
AllowBracesOnProceduralOneLiners: true
|
|
@@ -287,6 +352,15 @@ Style/CollectionCompact:
|
|
|
287
352
|
Style/CollectionMethods:
|
|
288
353
|
Enabled: true
|
|
289
354
|
|
|
355
|
+
Style/CollectionQuerying:
|
|
356
|
+
Enabled: true
|
|
357
|
+
|
|
358
|
+
Style/CombinableDefined:
|
|
359
|
+
Enabled: true
|
|
360
|
+
|
|
361
|
+
Style/ComparableBetween:
|
|
362
|
+
Enabled: true
|
|
363
|
+
|
|
290
364
|
Style/ComparableClamp:
|
|
291
365
|
Enabled: true
|
|
292
366
|
|
|
@@ -296,6 +370,9 @@ Style/ConcatArrayLiterals:
|
|
|
296
370
|
Style/DataInheritance:
|
|
297
371
|
Enabled: true
|
|
298
372
|
|
|
373
|
+
Style/DigChain:
|
|
374
|
+
Enabled: true
|
|
375
|
+
|
|
299
376
|
Style/DirEmpty:
|
|
300
377
|
Enabled: true
|
|
301
378
|
|
|
@@ -316,9 +393,15 @@ Style/DocumentationMethod:
|
|
|
316
393
|
- manual/**/*.rb
|
|
317
394
|
- spec/**/*_spec.rb
|
|
318
395
|
|
|
396
|
+
Style/EmptyClassDefinition:
|
|
397
|
+
Enabled: true
|
|
398
|
+
|
|
319
399
|
Style/EmptyHeredoc:
|
|
320
400
|
Enabled: true
|
|
321
401
|
|
|
402
|
+
Style/EmptyStringInsideInterpolation:
|
|
403
|
+
Enabled: true
|
|
404
|
+
|
|
322
405
|
Style/EndlessMethod:
|
|
323
406
|
Enabled: true
|
|
324
407
|
|
|
@@ -334,9 +417,15 @@ Style/FetchEnvVar:
|
|
|
334
417
|
Style/FileEmpty:
|
|
335
418
|
Enabled: true
|
|
336
419
|
|
|
420
|
+
Style/FileNull:
|
|
421
|
+
Enabled: true
|
|
422
|
+
|
|
337
423
|
Style/FileRead:
|
|
338
424
|
Enabled: true
|
|
339
425
|
|
|
426
|
+
Style/FileTouch:
|
|
427
|
+
Enabled: true
|
|
428
|
+
|
|
340
429
|
Style/FileWrite:
|
|
341
430
|
Enabled: true
|
|
342
431
|
|
|
@@ -349,6 +438,12 @@ Style/HashConversion:
|
|
|
349
438
|
Style/HashExcept:
|
|
350
439
|
Enabled: true
|
|
351
440
|
|
|
441
|
+
Style/HashFetchChain:
|
|
442
|
+
Enabled: true
|
|
443
|
+
|
|
444
|
+
Style/HashSlice:
|
|
445
|
+
Enabled: true
|
|
446
|
+
|
|
352
447
|
# We don't always prefer modifier statements even if they do fit on a line.
|
|
353
448
|
Style/IfUnlessModifier:
|
|
354
449
|
Enabled: false
|
|
@@ -367,12 +462,24 @@ Style/InPatternThen:
|
|
|
367
462
|
Style/InvertibleUnlessCondition:
|
|
368
463
|
Enabled: true
|
|
369
464
|
|
|
465
|
+
Style/ItAssignment:
|
|
466
|
+
Enabled: true
|
|
467
|
+
|
|
468
|
+
Style/ItBlockParameter:
|
|
469
|
+
Enabled: true
|
|
470
|
+
|
|
471
|
+
Style/KeywordArgumentsMerging:
|
|
472
|
+
Enabled: true
|
|
473
|
+
|
|
370
474
|
Style/MagicCommentFormat:
|
|
371
475
|
Enabled: true
|
|
372
476
|
|
|
373
477
|
Style/MapCompactWithConditionalBlock:
|
|
374
478
|
Enabled: true
|
|
375
479
|
|
|
480
|
+
Style/MapIntoArray:
|
|
481
|
+
Enabled: true
|
|
482
|
+
|
|
376
483
|
Style/MapToHash:
|
|
377
484
|
Enabled: true
|
|
378
485
|
|
|
@@ -393,12 +500,18 @@ Style/MethodCallWithArgsParentheses:
|
|
|
393
500
|
Style/MinMaxComparison:
|
|
394
501
|
Enabled: true
|
|
395
502
|
|
|
503
|
+
Style/ModuleMemberExistenceCheck:
|
|
504
|
+
Enabled: true
|
|
505
|
+
|
|
396
506
|
Style/MultilineInPatternThen:
|
|
397
507
|
Enabled: true
|
|
398
508
|
|
|
399
509
|
Style/NegatedIfElseCondition:
|
|
400
510
|
Enabled: true
|
|
401
511
|
|
|
512
|
+
Style/NegativeArrayIndex:
|
|
513
|
+
Enabled: true
|
|
514
|
+
|
|
402
515
|
Style/NestedFileDirname:
|
|
403
516
|
Enabled: true
|
|
404
517
|
|
|
@@ -446,6 +559,9 @@ Style/RedundantArgument:
|
|
|
446
559
|
Style/RedundantArrayConstructor:
|
|
447
560
|
Enabled: true
|
|
448
561
|
|
|
562
|
+
Style/RedundantArrayFlatten:
|
|
563
|
+
Enabled: true
|
|
564
|
+
|
|
449
565
|
Style/RedundantConstantBase:
|
|
450
566
|
Enabled: false
|
|
451
567
|
|
|
@@ -461,12 +577,18 @@ Style/RedundantEach:
|
|
|
461
577
|
Style/RedundantFilterChain:
|
|
462
578
|
Enabled: true
|
|
463
579
|
|
|
580
|
+
Style/RedundantFormat:
|
|
581
|
+
Enabled: true
|
|
582
|
+
|
|
464
583
|
Style/RedundantHeredocDelimiterQuotes:
|
|
465
584
|
Enabled: true
|
|
466
585
|
|
|
467
586
|
Style/RedundantInitialize:
|
|
468
587
|
Enabled: true
|
|
469
588
|
|
|
589
|
+
Style/RedundantInterpolationUnfreeze:
|
|
590
|
+
Enabled: true
|
|
591
|
+
|
|
470
592
|
Style/RedundantLineContinuation:
|
|
471
593
|
Enabled: true
|
|
472
594
|
|
|
@@ -488,12 +610,21 @@ Style/ReturnNil:
|
|
|
488
610
|
Style/ReturnNilInPredicateMethodDefinition:
|
|
489
611
|
Enabled: true
|
|
490
612
|
|
|
613
|
+
Style/ReverseFind:
|
|
614
|
+
Enabled: true
|
|
615
|
+
|
|
616
|
+
Style/SafeNavigationChainLength:
|
|
617
|
+
Enabled: true
|
|
618
|
+
|
|
491
619
|
Style/SelectByRegexp:
|
|
492
620
|
Enabled: true
|
|
493
621
|
|
|
494
622
|
Style/Send:
|
|
495
623
|
Enabled: true
|
|
496
624
|
|
|
625
|
+
Style/SendWithLiteralMethodName:
|
|
626
|
+
Enabled: true
|
|
627
|
+
|
|
497
628
|
Style/SingleLineDoEndBlock:
|
|
498
629
|
Enabled: true
|
|
499
630
|
|
|
@@ -503,6 +634,9 @@ Style/StringChars:
|
|
|
503
634
|
Style/StringMethods:
|
|
504
635
|
Enabled: true
|
|
505
636
|
|
|
637
|
+
Style/SuperArguments:
|
|
638
|
+
Enabled: true
|
|
639
|
+
|
|
506
640
|
Style/SuperWithArgsParentheses:
|
|
507
641
|
Enabled: true
|
|
508
642
|
|
|
@@ -510,13 +644,13 @@ Style/SwapValues:
|
|
|
510
644
|
Enabled: true
|
|
511
645
|
|
|
512
646
|
Style/TrailingCommaInArguments:
|
|
513
|
-
EnforcedStyleForMultiline:
|
|
647
|
+
EnforcedStyleForMultiline: diff_comma
|
|
514
648
|
|
|
515
649
|
Style/TrailingCommaInArrayLiteral:
|
|
516
|
-
EnforcedStyleForMultiline:
|
|
650
|
+
EnforcedStyleForMultiline: diff_comma
|
|
517
651
|
|
|
518
652
|
Style/TrailingCommaInHashLiteral:
|
|
519
|
-
EnforcedStyleForMultiline:
|
|
653
|
+
EnforcedStyleForMultiline: diff_comma
|
|
520
654
|
|
|
521
655
|
Style/YAMLFileRead:
|
|
522
656
|
Enabled: true
|
|
@@ -575,6 +709,9 @@ Performance/SortReverse:
|
|
|
575
709
|
Performance/Squeeze:
|
|
576
710
|
Enabled: true
|
|
577
711
|
|
|
712
|
+
Performance/StringBytesize:
|
|
713
|
+
Enabled: true
|
|
714
|
+
|
|
578
715
|
Performance/StringIdentifierArgument:
|
|
579
716
|
Enabled: true
|
|
580
717
|
|
|
@@ -584,67 +721,16 @@ Performance/StringInclude:
|
|
|
584
721
|
Performance/Sum:
|
|
585
722
|
Enabled: true
|
|
586
723
|
|
|
587
|
-
|
|
588
|
-
Enabled: false
|
|
589
|
-
|
|
590
|
-
Capybara:
|
|
591
|
-
Enabled: false
|
|
592
|
-
|
|
593
|
-
FactoryBot:
|
|
594
|
-
Enabled: false
|
|
595
|
-
|
|
596
|
-
RSpec/Rails:
|
|
597
|
-
Enabled: false
|
|
598
|
-
|
|
599
|
-
RSpec/BeEmpty:
|
|
600
|
-
Enabled: true
|
|
601
|
-
|
|
602
|
-
RSpec/BeEq:
|
|
603
|
-
Enabled: true
|
|
604
|
-
|
|
605
|
-
RSpec/BeNil:
|
|
606
|
-
Enabled: true
|
|
607
|
-
|
|
608
|
-
RSpec/ChangeByZero:
|
|
609
|
-
Enabled: true
|
|
610
|
-
|
|
611
|
-
RSpec/ClassCheck:
|
|
612
|
-
Enabled: true
|
|
613
|
-
|
|
614
|
-
RSpec/ContainExactly:
|
|
615
|
-
Enabled: true
|
|
616
|
-
|
|
617
|
-
RSpec/DescribedClassModuleWrapping:
|
|
618
|
-
Enabled: true
|
|
619
|
-
|
|
620
|
-
RSpec/DuplicatedMetadata:
|
|
621
|
-
Enabled: true
|
|
622
|
-
|
|
623
|
-
RSpec/EmptyMetadata:
|
|
624
|
-
Enabled: true
|
|
625
|
-
|
|
626
|
-
RSpec/Eq:
|
|
724
|
+
Performance/ZipWithoutBlock:
|
|
627
725
|
Enabled: true
|
|
628
726
|
|
|
629
727
|
RSpec/ExampleLength:
|
|
630
728
|
Enabled: false
|
|
631
729
|
|
|
632
|
-
RSpec/
|
|
730
|
+
RSpec/IncludeExamples:
|
|
633
731
|
Enabled: true
|
|
634
732
|
|
|
635
|
-
RSpec/
|
|
636
|
-
Enabled: true
|
|
637
|
-
|
|
638
|
-
RSpec/IndexedLet:
|
|
639
|
-
Enabled: true
|
|
640
|
-
|
|
641
|
-
RSpec/MatchArray:
|
|
642
|
-
Enabled: true
|
|
643
|
-
|
|
644
|
-
RSpec/MessageExpectation:
|
|
645
|
-
Enabled: true
|
|
646
|
-
|
|
647
|
-
RSpec/MetadataStyle:
|
|
733
|
+
RSpec/LeakyLocalVariable:
|
|
648
734
|
Enabled: true
|
|
649
735
|
|
|
650
736
|
RSpec/MultipleExpectations:
|
|
@@ -653,41 +739,8 @@ RSpec/MultipleExpectations:
|
|
|
653
739
|
RSpec/NestedGroups:
|
|
654
740
|
Max: 5
|
|
655
741
|
|
|
656
|
-
RSpec/NoExpectationExample:
|
|
657
|
-
Enabled: true
|
|
658
|
-
|
|
659
742
|
RSpec/NotToNot:
|
|
660
743
|
EnforcedStyle: to_not
|
|
661
744
|
|
|
662
|
-
RSpec/
|
|
663
|
-
Enabled: true
|
|
664
|
-
|
|
665
|
-
RSpec/ReceiveMessages:
|
|
666
|
-
Enabled: true
|
|
667
|
-
|
|
668
|
-
RSpec/RedundantAround:
|
|
669
|
-
Enabled: true
|
|
670
|
-
|
|
671
|
-
RSpec/RedundantPredicateMatcher:
|
|
672
|
-
Enabled: true
|
|
673
|
-
|
|
674
|
-
RSpec/RemoveConst:
|
|
675
|
-
Enabled: true
|
|
676
|
-
|
|
677
|
-
RSpec/SkipBlockInsideExample:
|
|
678
|
-
Enabled: true
|
|
679
|
-
|
|
680
|
-
RSpec/SortMetadata:
|
|
681
|
-
Enabled: true
|
|
682
|
-
|
|
683
|
-
RSpec/SpecFilePathFormat:
|
|
684
|
-
Enabled: true
|
|
685
|
-
|
|
686
|
-
RSpec/SpecFilePathSuffix:
|
|
687
|
-
Enabled: true
|
|
688
|
-
|
|
689
|
-
RSpec/SubjectDeclaration:
|
|
690
|
-
Enabled: true
|
|
691
|
-
|
|
692
|
-
RSpec/VerifiedDoubleReference:
|
|
745
|
+
RSpec/Output:
|
|
693
746
|
Enabled: true
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prawn-dev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Mankuta
|
|
@@ -10,8 +10,8 @@ cert_chain:
|
|
|
10
10
|
- |
|
|
11
11
|
-----BEGIN CERTIFICATE-----
|
|
12
12
|
MIIC+jCCAeKgAwIBAgIBBDANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhhbGV4
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
L0RDPXBvaW50bGVzcy9EQz1vbmUwHhcNMjYwMTI4MTYxMjQyWhcNMjcwMTI4MTYx
|
|
14
|
+
MjQyWjAjMSEwHwYDVQQDDBhhbGV4L0RDPXBvaW50bGVzcy9EQz1vbmUwggEiMA0G
|
|
15
15
|
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPOVLPGEK+eaP6zJfifrpWvPTg4qo3
|
|
16
16
|
XNJJPom80SwqX2hVCVsRDK4RYgKUQqKRQzHhlx14wZHwWLETBVbNDGX3uqyCnTWU
|
|
17
17
|
JUKh3ydiZShXpNHoV/NW7hhEYvNsDcBAjYTmbvXOhuYCo0Tz/0N2Oiun/0wIICtP
|
|
@@ -19,14 +19,14 @@ cert_chain:
|
|
|
19
19
|
CughoB2xSwKX8gwbQ8fsnaZRmdyDGYNpz6sGF0zycfiLkTttbLA2nYATCALy98CH
|
|
20
20
|
nsyZNsTjb4WINCuY2yEDjwesw9f/ROkNC68EgQ5M+aMjp+D0WcYGfzojAgMBAAGj
|
|
21
21
|
OTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRPgIwSVbeonua/
|
|
22
|
-
Ny/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
Ny/8576oxdUbrjANBgkqhkiG9w0BAQsFAAOCAQEAJfmbANkMIQ/iPo+KShqeGQMy
|
|
23
|
+
LK8Xjs4GayLhBfg86b8ABSKy3ceXdq1rrflUeuMLJccUjLcb/uwDsI8QyDGZr98Z
|
|
24
|
+
y9M6UM06208DxLeTkVleil9dVc4NIppwrcUGbmDnj9pnXqJHi2dVwdolG7AcnNba
|
|
25
|
+
OvFWWQPEj5rKC5rOT23Sp2KBBpsW+LtyQ7lRk7ZD2+6m1JO/C5FhGa6K3vIobSdV
|
|
26
|
+
eaOD8BgDyA+inpftiavocKyheVKcguP+rO3ppATGrDHaoQTQzzDyMtKOqxI+pcP5
|
|
27
|
+
Ghw/wL48byl8XQlZD/XVLHXmT2t2ZKwSRaFE+srZbzdWCpxlmv5tdiPLe3DiFw==
|
|
28
28
|
-----END CERTIFICATE-----
|
|
29
|
-
date:
|
|
29
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
30
30
|
dependencies:
|
|
31
31
|
- !ruby/object:Gem::Dependency
|
|
32
32
|
name: kramdown
|
|
@@ -34,14 +34,14 @@ dependencies:
|
|
|
34
34
|
requirements:
|
|
35
35
|
- - "~>"
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: 2.4
|
|
37
|
+
version: '2.4'
|
|
38
38
|
type: :runtime
|
|
39
39
|
prerelease: false
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
41
|
requirements:
|
|
42
42
|
- - "~>"
|
|
43
43
|
- !ruby/object:Gem::Version
|
|
44
|
-
version: 2.4
|
|
44
|
+
version: '2.4'
|
|
45
45
|
- !ruby/object:Gem::Dependency
|
|
46
46
|
name: kramdown-parser-gfm
|
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -104,42 +104,42 @@ dependencies:
|
|
|
104
104
|
requirements:
|
|
105
105
|
- - "~>"
|
|
106
106
|
- !ruby/object:Gem::Version
|
|
107
|
-
version: 1.
|
|
107
|
+
version: 1.84.0
|
|
108
108
|
type: :runtime
|
|
109
109
|
prerelease: false
|
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
|
111
111
|
requirements:
|
|
112
112
|
- - "~>"
|
|
113
113
|
- !ruby/object:Gem::Version
|
|
114
|
-
version: 1.
|
|
114
|
+
version: 1.84.0
|
|
115
115
|
- !ruby/object:Gem::Dependency
|
|
116
116
|
name: rubocop-performance
|
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
|
119
119
|
- - "~>"
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
|
-
version: 1.
|
|
121
|
+
version: 1.26.1
|
|
122
122
|
type: :runtime
|
|
123
123
|
prerelease: false
|
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
|
125
125
|
requirements:
|
|
126
126
|
- - "~>"
|
|
127
127
|
- !ruby/object:Gem::Version
|
|
128
|
-
version: 1.
|
|
128
|
+
version: 1.26.1
|
|
129
129
|
- !ruby/object:Gem::Dependency
|
|
130
130
|
name: rubocop-rspec
|
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
|
133
133
|
- - "~>"
|
|
134
134
|
- !ruby/object:Gem::Version
|
|
135
|
-
version:
|
|
135
|
+
version: 3.9.0
|
|
136
136
|
type: :runtime
|
|
137
137
|
prerelease: false
|
|
138
138
|
version_requirements: !ruby/object:Gem::Requirement
|
|
139
139
|
requirements:
|
|
140
140
|
- - "~>"
|
|
141
141
|
- !ruby/object:Gem::Version
|
|
142
|
-
version:
|
|
142
|
+
version: 3.9.0
|
|
143
143
|
- !ruby/object:Gem::Dependency
|
|
144
144
|
name: simplecov
|
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -174,14 +174,14 @@ dependencies:
|
|
|
174
174
|
requirements:
|
|
175
175
|
- - "~>"
|
|
176
176
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: 0.9.
|
|
177
|
+
version: 0.9.38
|
|
178
178
|
type: :runtime
|
|
179
179
|
prerelease: false
|
|
180
180
|
version_requirements: !ruby/object:Gem::Requirement
|
|
181
181
|
requirements:
|
|
182
182
|
- - "~>"
|
|
183
183
|
- !ruby/object:Gem::Version
|
|
184
|
-
version: 0.9.
|
|
184
|
+
version: 0.9.38
|
|
185
185
|
email:
|
|
186
186
|
- alex@pointless.one
|
|
187
187
|
executables: []
|
|
@@ -195,8 +195,6 @@ files:
|
|
|
195
195
|
- lib/prawn/dev/yard_markup.rb
|
|
196
196
|
- lib/prawn/dev/yard_markup/code_highlight.rb
|
|
197
197
|
- lib/prawn/dev/yard_markup/document.rb
|
|
198
|
-
- lib/rubocop/cop/prawn/style/trailing_comma_fix.rb
|
|
199
|
-
- lib/rubocop/cop/prawn_cops.rb
|
|
200
198
|
- rubocop.yml
|
|
201
199
|
- templates/default/fulldoc/html/css/style.css
|
|
202
200
|
- templates/default/fulldoc/html/js/app.js
|
|
@@ -230,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
230
228
|
- !ruby/object:Gem::Version
|
|
231
229
|
version: '2.0'
|
|
232
230
|
requirements: []
|
|
233
|
-
rubygems_version:
|
|
231
|
+
rubygems_version: 4.0.3
|
|
234
232
|
specification_version: 4
|
|
235
233
|
summary: Shared tools for Prawn projects development
|
|
236
234
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module RuboCop
|
|
4
|
-
module Cop
|
|
5
|
-
module Prawn
|
|
6
|
-
module Style
|
|
7
|
-
module TrailingCommaFix
|
|
8
|
-
def should_have_comma?(style, node)
|
|
9
|
-
if style == :prawn_comma
|
|
10
|
-
node.loc.begin.line != node.loc.end.line # parens are on different lines
|
|
11
|
-
else
|
|
12
|
-
super
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require 'rubocop'
|
|
4
|
-
require_relative 'prawn/style/trailing_comma_fix'
|
|
5
|
-
|
|
6
|
-
RuboCop::Cop::Style::TrailingCommaInArguments.prepend(RuboCop::Cop::Prawn::Style::TrailingCommaFix)
|
|
7
|
-
RuboCop::Cop::Style::TrailingCommaInArrayLiteral.prepend(RuboCop::Cop::Prawn::Style::TrailingCommaFix)
|
|
8
|
-
RuboCop::Cop::Style::TrailingCommaInBlockArgs.prepend(RuboCop::Cop::Prawn::Style::TrailingCommaFix)
|
|
9
|
-
RuboCop::Cop::Style::TrailingCommaInHashLiteral.prepend(RuboCop::Cop::Prawn::Style::TrailingCommaFix)
|
|
10
|
-
|
|
11
|
-
%w[
|
|
12
|
-
Style/TrailingCommaInArguments
|
|
13
|
-
Style/TrailingCommaInArrayLiteral
|
|
14
|
-
Style/TrailingCommaInBlockArgs
|
|
15
|
-
Style/TrailingCommaInHashLiteral
|
|
16
|
-
].each do |cop_name|
|
|
17
|
-
RuboCop::ConfigLoader.default_configuration[cop_name]['SupportedStylesForMultiline']&.append('prawn_comma')
|
|
18
|
-
end
|