pdfkit-middleware-to-file 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pdfkit/middleware.rb +4 -4
- data/pdfkit.gemspec +1 -1
- metadata +1 -1
data/lib/pdfkit/middleware.rb
CHANGED
@@ -9,10 +9,10 @@ class PDFKit
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def upload(file)
|
12
|
-
host = PDFKit.
|
13
|
-
user = PDFKit.
|
14
|
-
folder = PDFKit.
|
15
|
-
password = PDFKit.
|
12
|
+
host = PDFKit.configuration.upload_options[:host]
|
13
|
+
user = PDFKit.configuration.upload_options[:user]
|
14
|
+
folder = PDFKit.configuration.upload_options[:folder]
|
15
|
+
password = PDFKit.configuration.upload_options[:password]
|
16
16
|
|
17
17
|
file_name = File.basename( file )
|
18
18
|
full_path = File.absolute_path( file )
|
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.6" # 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"]
|