test/automated in combine_pdf-0.2.36 vs test/automated in combine_pdf-0.2.37

- old
+ new

@@ -54,9 +54,23 @@ lists.each { |n| CombinePDF.load(n).save("07_#{(i += 1)}_#{n.split('/')[-1]}"); (CombinePDF.load(n) << CombinePDF.load(n)).save("07_#{i}x2_#{n.split('/')[-1]}") } pdf = CombinePDF.new lists.each { |n| pdf << CombinePDF.load(n) } pdf.save('07_named destinations.pdf') +pdf = CombinePDF.new +lists.each { |n| pdf << CombinePDF.load(n) } +pdf.number_pages(start_at: 1, + font_size: 14, + font_color: [0, 0, 0.4], + box_color: [0.8, 0.8, 0.8], + border_width: 1, + border_color: [0.3, 0.3, 0.3], + box_radius: 8, + number_location: [:top, :bottom], + opacity: 0.75) + +pdf.save('07_named destinations_numbered.pdf') + CombinePDF.load("./Ruby/test\ pdfs/Scribus-unknown_err.pdf").save '08_1-unknown-err-empty-str.pdf' CombinePDF.load("./Ruby/test\ pdfs/Scribus-unknown_err2.pdf").save '08_2-unknown-err-empty-str.pdf' CombinePDF.load("./Ruby/test\ pdfs/Scribus-unknown_err3.pdf").save '08_3-unknown-err-empty-str.pdf' CombinePDF.load("/Users/2Be/Ruby/test\ pdfs/nil_object.pdf").save('09_nil_in_parsed_array.pdf')