pdf_gem 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98f332cd6e3854f2d3d5c4df1947f4aa6c0195e39439d22f9d9766f461e16951
4
- data.tar.gz: ea268c17bc32203477eb74502c404d6563fa83fe5967184a59a0c0f53418d889
3
+ metadata.gz: c41cdda0a69ee5b16151416030262480d05d1ff048831ffe2d719272f0276ef3
4
+ data.tar.gz: 132c82ddf85d0787d34cdea55bf3f6934987693e6f23a52f48298ae6b4afbf69
5
5
  SHA512:
6
- metadata.gz: 90043a43775a11bdac9d658c1fa3f57b2528839ee517adc30ac7a79ce152caf02875a284b571656aca0d6e637bcaad8c2948750afeefb0f84186bae83cca8af8
7
- data.tar.gz: 552baaa16c13c45ffc648b2291cc9f6f3cb275b5b7bd37b782c6834d67bd5fefec219a19ec80391172aa3a800701f53a3879dddbd64e060820dd5ea246bb8da1
6
+ metadata.gz: cad0d93667e53aba5f93cb2426fdee0afccd2299b00c950d0f4e53fb7b1005dc2576564b8dc28b9f26f47b94903272b26a7b9a6fb4bd1862c905b25b1bc66ca9
7
+ data.tar.gz: 49528c9d199b14e375be3c386b7e2bbc1d66f8dbf83e0ab752e355cd9d474671d11da6a084669d1de137670f8e0ed41f975c4c7d3902472465d79dcc86ec3956
@@ -26,7 +26,7 @@ module PdfGem
26
26
  File.open(html_file, "w+") do |f|
27
27
  f.write(params[:html])
28
28
  end
29
- params[:url] = "file:#{html_file}"
29
+ params[:url] = "file://#{html_file}"
30
30
  result = self.pdf_from_url(params)
31
31
  File.delete(html_file) if File.exist?(html_file)
32
32
  return result
@@ -1,3 +1,3 @@
1
1
  module PdfGem
2
- VERSION = '1.0.10'
2
+ VERSION = '1.0.11'
3
3
  end
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+
3
+ <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
+ <title>Test HTML File</title>
5
+
6
+ </head>
7
+ <body>
8
+
9
+ <p>This is a simple HTML file.</p>
10
+
11
+
12
+
13
+ </body></html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Blasina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-29 00:00:00.000000000 Z
11
+ date: 2020-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -53,6 +53,9 @@ files:
53
53
  - lib/pdf_gem/version.rb
54
54
  - lib/pdf_generator.js
55
55
  - lib/renderer.rb
56
+ - lib/tmp/7d5de811543153dac4c2146cdd00647d71bced27665b7463437d2dc30ad6efb08bf5c4625768b483.pdf
57
+ - lib/tmp/b3f46a28a790a1b1baa1a8e3ba73e23203f03207d612f861060604b7a6fa4bcb33d1f42058264233.pdf
58
+ - lib/tmp/yt2g01tvjh8p6qu2dpk950s443kckym9ke2s6opv.html
56
59
  homepage: https://github.com/blasko03/pdf_gem
57
60
  licenses:
58
61
  - Apache-2.0