dragonfly_pdf 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: f04eff68ff268fa1e86790e2bc5538476fe0a59e
4
- data.tar.gz: 5d497d1d4d46d38592e3ce7d9e726c156f2eab1d
3
+ metadata.gz: bc1dfc0957a54f9a471a6f47705706ec438af938
4
+ data.tar.gz: 2c83a13ad1d7f2cf1b5f4263d01c04fbad9ce770
5
5
  SHA512:
6
- metadata.gz: 712af7cb0ec0e318c47fb99f9b45d75d8cefc84e51a6c244fd6c2b15d8b4b73cfd0be0f049802449f4a8394fcb17bdef74cf6920d3c1af8056a2e6ece919cce3
7
- data.tar.gz: 930512619fed810019beb2f376e35534f3de3a0a19563627ffea9df3fef16e350ced7f09e66076f1df5521223d6c9c26562ceb28e2fadcfd9ff33f1e94fcb5f0
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}"
@@ -1,3 +1,3 @@
1
1
  module DragonflyPdf
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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.2
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: 2015-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dragonfly