dragonfly_pdf 0.1.2 → 0.1.3
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc1dfc0957a54f9a471a6f47705706ec438af938
|
|
4
|
+
data.tar.gz: 2c83a13ad1d7f2cf1b5f4263d01c04fbad9ce770
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28ca7db1d884b7ac8e79ce28ae7e18aecb5e1c08d4080ba4c8f03e09055aec5fa13ccfb6b7cd49a7f50d14dbfb585e7eb7134621607a90b3a4891057edee6b68
|
|
7
|
+
data.tar.gz: f8108c9aedbac45adea7d5a74ac96e924f0ddafa72db667b90acffafd577379823bd1c4a2dd175edb39b29de42da09eda17c246772718ecd6f528d50bd506e88
|
|
@@ -9,7 +9,7 @@ module DragonflyPdf
|
|
|
9
9
|
@format = opts['format'] || :png
|
|
10
10
|
@density = opts['density'] || 150
|
|
11
11
|
|
|
12
|
-
fail DragonflyPdf::PageNotFound unless pdf_properties[:page_numbers].include?(@page_number)
|
|
12
|
+
# fail DragonflyPdf::PageNotFound unless pdf_properties[:page_numbers].include?(@page_number)
|
|
13
13
|
|
|
14
14
|
content.shell_update(ext: @format) do |old_path, new_path|
|
|
15
15
|
"#{convert_command} #{old_path}[#{pdf_page_number}] #{new_path}"
|
|
@@ -15,6 +15,7 @@ module DragonflyPdf
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
it 'raises PageNotFound error' do
|
|
18
|
+
skip 'calling the page properties slows evrything down'
|
|
18
19
|
proc { processor.call(sample_pages, 0) }.must_raise DragonflyPdf::PageNotFound
|
|
19
20
|
proc { processor.call(sample_pages, 11) }.must_raise DragonflyPdf::PageNotFound
|
|
20
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dragonfly_pdf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomas Celizna
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dragonfly
|