pdf_writing_tools 0.0.15 → 0.0.16

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pdf_writing_tools.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b7caaad32d50f7cfa65735368f939907750d085d412659f40a1894326370a0a
4
- data.tar.gz: 5984d8b0d3db96a0421b1abd79b754d49afbb67979d1a1ccd53d87156d232c2a
3
+ metadata.gz: f2f8a0ccb66866d41f1d2850c2cf816b9da5bd4e937d5d7d682e692070380171
4
+ data.tar.gz: '089d69ff0371f3ba3628f688bd8c5382ff4afc65ccdb55f3c27d72e722c0350b'
5
5
  SHA512:
6
- metadata.gz: 2666208041f22a0686e8b78b72e8d2d4c37801bff0d53ce783fb12a795024955f81e17991ce1cba769d00b5be925f1a53e9aec40799aabc280e0d49ec8857b09
7
- data.tar.gz: 502ee8caf62cdc962bd59e4e076881001d82edef8fa5bb6f15da0096dae1db0e5e088216549d49534a9f5c5b5d79d55b06976fd9568164622496ea48001f425b
6
+ metadata.gz: 2849de1a34ed9a956d679b681746ce5af85b1a8f5d90ec2b7eee126c88c3fcb53611f85a5f10ebc4bf219135bade4a4fb4114e2b5d2d76434d0a7db07ed9a5e6
7
+ data.tar.gz: e410a81da403b64519c356a538ae8af9c8fdb26e006c61cd8663971b1c29cc65442bfe05087edc1d29e0c0ee75b71abeab803accebba3b2e66d444cf968c10b2
@@ -242,7 +242,7 @@ module PdfWritingTools
242
242
  end
243
243
 
244
244
  # Produce la y su pdf, dove disegnare la prossima riga
245
- def self.draw_row_auto_height(pdf, draw_simulation, x, y, widths, texts, opts = {}, auto_y)
245
+ def self.draw_row_auto_height(pdf, draw_simulation, x, y, widths, texts, opts = {}, auto_y = true)
246
246
  font_sizes = opts[:font_sizes] || [10]
247
247
  styles = opts[:styles] || [:normal]
248
248
  alignments = opts[:alignments] || [:left]
@@ -340,7 +340,7 @@ module PdfWritingTools
340
340
 
341
341
  # ...disegno le celle vere e proprie ad altezza fissa, con l'altezza
342
342
  # ricavata dal passo precedente.
343
- r = draw_cell_fixed_height(pdf, x+offset, y, width, max_cell_height, texts[i], opts, auto_y)
343
+ r = draw_cell_fixed_height(pdf, x+offset, y, width, max_cell_height, texts[i], cell_opts, auto_y)
344
344
 
345
345
  # Gli eventuali "testi residui" (es. raggiunto fine pagina) li raccolgo
346
346
  # nel seguente array
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf_writing_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - JSalvo1978