html2pdf 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/html2pdf/cli.rb +3 -4
- data/lib/html2pdf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4890d94669f7ee299c9c75a8596d8c796b1e79db
|
4
|
+
data.tar.gz: 5b36b98c6a042f47031688c535d952d01b5092ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5bfa0b847188cd3bfe22821cb5d7e1e16fb958694961a00bc2e31c4687c44ae2c7c3706311d7dc4e02c9350aa89a5b91c231a031ba87f091ad23bb95b404f50
|
7
|
+
data.tar.gz: 58157010f9e34b141244d6b31fd4406719beefccaebab78e33a21476a4160b6c02980945407bcdbfe936b38366c574df2780d316b18b0f99d7926e2d1cf20650
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/html2pdf/cli.rb
CHANGED
@@ -31,13 +31,12 @@ module Html2Pdf
|
|
31
31
|
FileUtils.cd(base_dir)
|
32
32
|
Html2Pdf.to_pdfs(input_files)
|
33
33
|
end
|
34
|
-
|
35
34
|
generated_files = add_suffix(input_files, "pdf")
|
36
|
-
|
35
|
+
output_file = "html2pdf_#{File.basename(File.expand_path(base_dir))}.tar.gz"
|
36
|
+
AgileUtils::FileUtil.tar_gzip_files(generated_files, output_file)
|
37
37
|
AgileUtils::FileUtil.delete(generated_files)
|
38
|
-
|
39
38
|
puts "Convert files to pdfs took #{elapsed} ms"
|
40
|
-
puts "Your final output is #{File.absolute_path(
|
39
|
+
puts "Your final output is '#{File.absolute_path(output_file)}'"
|
41
40
|
end
|
42
41
|
|
43
42
|
desc "usage", "Display usage information"
|
data/lib/html2pdf/version.rb
CHANGED