hamidashi 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5964cda6406fc9e8b3abe4d2a15759160b238d7
4
- data.tar.gz: 031e1e7eebca473685d5157e2eaf645070554291
3
+ metadata.gz: 32c708bb23a9090277add5311adc7979d715d65b
4
+ data.tar.gz: 0f029059449c5d1dcf1fe98d48ee9e361e0bf903
5
5
  SHA512:
6
- metadata.gz: 4ab484a6d6f5c38d03625724f6e9fc22b1e9e7de401c6eef42afa829fe5a2205d154ac2836e6b0c758a6e1bb420806d5fd2e76b5c63daf3d2be6d8fbbb177953
7
- data.tar.gz: 6bf34812341e8488b994324780e48dc387204e938afbd969641fd001c1daf9853e74d22b95ba026ef5aed6b13229f0d944267f904975c9d4913e3b3dae96df57
6
+ metadata.gz: bc4e66ee2e305a6a3c82b1212b78b1c4fed4f4f30efc2a989a0f7f0e65c74003360ec0b2c59fba6663dfcc28b5a50f5f4c00e01bb51f30a8d2d30a07c6702bf7
7
+ data.tar.gz: c98d83ae98bb74905c3d17b645109c14f967582d8fa9188c54476e7f103fd17d9cc031a6e1d47ef6c4f266e82a967b0ab869607716ab3a05e966ced4f2a2c4f2
@@ -16,7 +16,7 @@ class Hamidashi
16
16
  end
17
17
 
18
18
  def save_preview_page(pdf_path, page, path)
19
- `convert -density 92 -geometry #{width} -fill "rgba(255, 0, 0, 50%)" -strokewidth 0 -draw "rectangle #{width - crop_width},#{height},#{width},0" "#{pdf_path.shellescape}[#{page.shellescape}]" #{path.shellescape}`
19
+ `convert -density 92 -geometry #{width} -fill "rgba(0, 255, 0, 50%)" -strokewidth 0 -draw "rectangle #{width - crop_width},#{height},#{width},0" "#{pdf_path.shellescape}[#{page.shellescape}]" #{path.shellescape}`
20
20
  end
21
21
 
22
22
  private
@@ -1,3 +1,3 @@
1
1
  class Hamidashi
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamidashi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi