documents_with_footer_to_pdf 0.1.3 → 0.1.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3625ac53cef4191f50e5a19a75da3b79722f34e5ecd44474911325410006c8dd
|
4
|
+
data.tar.gz: bd804ae5e00fa68a08aab08a3ec464aad608daeb98e22bff78b22a40e848134e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acea1cc4ee3a870874da2dd5bb362257e710c6f2bee9a98caa2312bdabb50eaaf5a8235eed609b1d912efc40ab699ae8a9a9d96c55dba6f4e9c96c977a75b876
|
7
|
+
data.tar.gz: 28c2b184cca78250a1279dec15497a5b45a790ad5c927c56e3d12ede4b4086e6c5de9b709fbfdd069c8041d0b5522b4ab03b5d42e2b837794928708e601d9b32
|
@@ -32,7 +32,7 @@ module DocumentsWithFooterToPdf
|
|
32
32
|
name: '0-result-{{SALT}}',
|
33
33
|
files: {
|
34
34
|
result: {
|
35
|
-
name: '
|
35
|
+
name: 'result.pdf'
|
36
36
|
}
|
37
37
|
}
|
38
38
|
}
|
@@ -149,8 +149,9 @@ module DocumentsWithFooterToPdf
|
|
149
149
|
hash[:path][:root] = folder
|
150
150
|
hash[:params][:console][:silent] = silent == :silent ? true : false
|
151
151
|
hash[:params][:console][:mode] = !hash[:params][:console][:silent] ? silent : ''
|
152
|
+
|
153
|
+
hash = self.options_update( options, hash, 'set_options' )
|
152
154
|
hash[:path] = LocalPathBuilder.generate( hash[:path], :silent, Time.now.to_i.to_s )
|
153
|
-
hash = self.options_update( options, hash, 'set_options' )
|
154
155
|
|
155
156
|
self.footer_image( hash )
|
156
157
|
prepares = self.footer_prepare( hash )
|
@@ -270,7 +271,7 @@ module DocumentsWithFooterToPdf
|
|
270
271
|
if File.directory?( folder )
|
271
272
|
|
272
273
|
else
|
273
|
-
messages[:folder].push(
|
274
|
+
messages[:folder].push( "\"#{folder}\" is not a valid path or not exist.")
|
274
275
|
end
|
275
276
|
else
|
276
277
|
messages[:folder].push( 'Is not Type "String"')
|