pdf_gem 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdf_gem/version.rb +1 -1
- data/lib/pdf_generator.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1aebe9fe7a3063f7d35e29a32bb86b7576504fa5747107b1287a094107f8e7f
|
4
|
+
data.tar.gz: 5c0ac4c24612da13e73254b4bf92c106f982e494ca44e69527f293df2aa018a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a24411dddd1f2d1aeb8891cd23c6cff5d8ec3c83cc6b267f79a182eb57539a2111c2142dd04f6137b7224be2642ef35aaf0f4073ba8335224cb5b0a0199b0ab
|
7
|
+
data.tar.gz: 0ba4f40b1c8a38eac14c1bd99df0c72f93aed13b0410135912665f9e4de53fb56df3287b0a3a06c3523354e895841fdc566b6d7c82333c4ec0d087f513beddfb
|
data/lib/pdf_gem/version.rb
CHANGED
data/lib/pdf_generator.js
CHANGED
@@ -14,7 +14,7 @@ const path = require('path');
|
|
14
14
|
}
|
15
15
|
|
16
16
|
const filename = path.join(tmp, crypto.randomBytes(40).toString('hex')+ '.pdf');
|
17
|
-
const browser = await puppeteer.launch();
|
17
|
+
const browser = await puppeteer.launch({ headless: true,args: [ '--no-sandbox']});
|
18
18
|
try{
|
19
19
|
const params = {...JSON.parse(Buffer.from(stdinBuffer.toString(), 'base64').toString('utf-8')), ...{path: filename}};
|
20
20
|
const page = await browser.newPage();
|
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.
|
4
|
+
version: 1.0.12
|
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-
|
11
|
+
date: 2020-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|