zenml-slide 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/source/zenml/slide.rb +1 -1
- data/source/zenml/slide/converter.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbd249bf130c4a84e1a05261112feb40a12a92c2f1a319a0c5129a82fafc9323
|
4
|
+
data.tar.gz: 5c66c7a588bddd07243d68f7b68d44d7686dc03db0395b70809113fc67d448fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0d4d10cccd3f6bb34842a0d23719de911083dc4e2af7a7e956abd31137b2ab3298c824f11575cd4134f35f5ef630e2686b23da2a5eef0442f34553325f7ff9e
|
7
|
+
data.tar.gz: 1473998ce07ced0ad0fbeb8f4122bfff04a9d04a981b86018f9368d71cb40dd27ac7a27ffd7760da7a26b52ba3e345fcc941b2c30cb0d1afd6fbf9acde323362
|
data/source/zenml/slide.rb
CHANGED
@@ -82,7 +82,7 @@ class Zenithal::Slide::WholeSlideConverter
|
|
82
82
|
output_dir = File.dirname(output_path)
|
83
83
|
count = File.read(count_path).to_i
|
84
84
|
FileUtils.mkdir_p(output_dir)
|
85
|
-
@driver.navigate.to("file:///#{page_path}")
|
85
|
+
@driver.navigate.to("file:///#{File.join(Dir.pwd, page_path)}")
|
86
86
|
@driver.manage.window.resize_to(*@image_size)
|
87
87
|
@driver.execute_script("document.body.classList.add('simple');")
|
88
88
|
count.times do |index|
|