pdfkit-middleware-to-file 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pdfkit/middleware.rb +1 -1
- data/pdfkit.gemspec +1 -1
- metadata +1 -1
data/lib/pdfkit/middleware.rb
CHANGED
@@ -36,7 +36,7 @@ class PDFKit
|
|
36
36
|
|
37
37
|
if headers["PDF-Full-File-Path"].present?
|
38
38
|
file = pdf.to_file( headers["PDF-Full-File-Path"] )
|
39
|
-
upload(file) if PDFKit.
|
39
|
+
upload(file) if PDFKit.configuration.upload_options[:host].present?
|
40
40
|
end
|
41
41
|
|
42
42
|
body = pdf.to_pdf
|
data/pdfkit.gemspec
CHANGED
@@ -4,7 +4,7 @@ require "pdfkit/version"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "pdfkit-middleware-to-file"
|
7
|
-
s.version = "0.5.
|
7
|
+
s.version = "0.5.7" # PDFKit::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Jared Pace", "Relevance", "Ashish", "kikuchiyo"]
|
10
10
|
# s.email = ["jared@codewordstudios.com"]
|