evil_pdf 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/evil_pdf.rb +1 -1
  2. metadata +6 -6
@@ -55,7 +55,7 @@ class EvilPdf
55
55
  def combine
56
56
  gs_opts = "-q -dNOPAUSE -sDEVICE=pdfwrite"
57
57
  gs_cmd = "gs #{gs_opts} -sOutputFile=#{file_path} -dBATCH #{@tmp_files.join(' ')}"
58
- Rails.logger.debug "Combining PDFs: #{gs_cmd}"
58
+ Rails.logger.debug "Combining PDFs: #{gs_cmd}" if defined? Rails
59
59
  system gs_cmd
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evil_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-11-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pdfkit
16
- requirement: &70354072908840 !ruby/object:Gem::Requirement
16
+ requirement: &70324260021180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70354072908840
24
+ version_requirements: *70324260021180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: pdfkit-heroku
27
- requirement: &70354072908360 !ruby/object:Gem::Requirement
27
+ requirement: &70324260020720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70354072908360
35
+ version_requirements: *70324260020720
36
36
  description: Generate a PDF from an array of URLs
37
37
  email: diego@pixelheadstudio.com
38
38
  executables: []
@@ -51,7 +51,7 @@ require_paths:
51
51
  required_ruby_version: !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
- - - ! '>='
54
+ - - ~>
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.9.2
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement