obf 0.6.19 → 0.6.20

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/obf/pdf.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2815be4140640aaa622c43cb3fbbaf40519f998
4
- data.tar.gz: 6b64fe415b61f20a67af3835bd8db7a3359ad22f
3
+ metadata.gz: 8c73acb37386325b5db5fd87c3797a56337d3e64
4
+ data.tar.gz: c633ace8ad21a52f7653c963c7867a5c0a0b2102
5
5
  SHA512:
6
- metadata.gz: 39179bf47ea2a1066365340a089c1b2c1a101a93aec599aca2a1c1df5de7b6d462a69e93ca1ebb212d47f401559a346c34ad40b905e3783cd8090a2b13d130a5
7
- data.tar.gz: 7009e29b6c7e865613ce199894010fb595407761d2283d3f1f9ec9fe8ab339ac3e9e33a3c6e4bcd3383740da22039da32a925f2b548a75ab4605620eebd5d4f4
6
+ metadata.gz: 1098bc2ffa35b73e3831cfbb89d299d16d63090830a8fc7b67487a856aa06964d7edc5c804f6c23bca60ce08ce9a878117ac2296eaf6dd7b7d59f84263a38ee6
7
+ data.tar.gz: dbd87beb4db1f3361dea2d6d3d5d3365943138e55678975478691454cf010e2e3d412f9acff3df29d4ff3ae1b655aac96426e744e7e0e6f1fee42338588f6cda
@@ -138,11 +138,11 @@ module OBF::PDF
138
138
  end
139
139
  if options['pages'] && button['load_board']
140
140
  page = options['pages'][button['load_board']['id']]
141
- pdf.fill_color "ffffff"
142
- pdf.stroke_color "eeeeee"
143
- pdf.fill_and_stroke_rounded_rectangle [button_width - 25, button_height - 5], 20, text_height, 5
144
- pdf.fill_color "000000"
145
141
  if page
142
+ pdf.fill_color "ffffff"
143
+ pdf.stroke_color "eeeeee"
144
+ pdf.fill_and_stroke_rounded_rectangle [button_width - 25, button_height - 5], 20, text_height, 5
145
+ pdf.fill_color "000000"
146
146
  pdf.formatted_text_box [{:text => page, :anchor => "page#{page}"}], :at => [button_width - 25, button_height - 5], :width => 20, :height => text_height, :align => :center, :valign => :center
147
147
  end
148
148
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.19
4
+ version: 0.6.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer