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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c41cdda0a69ee5b16151416030262480d05d1ff048831ffe2d719272f0276ef3
4
- data.tar.gz: 132c82ddf85d0787d34cdea55bf3f6934987693e6f23a52f48298ae6b4afbf69
3
+ metadata.gz: b1aebe9fe7a3063f7d35e29a32bb86b7576504fa5747107b1287a094107f8e7f
4
+ data.tar.gz: 5c0ac4c24612da13e73254b4bf92c106f982e494ca44e69527f293df2aa018a3
5
5
  SHA512:
6
- metadata.gz: cad0d93667e53aba5f93cb2426fdee0afccd2299b00c950d0f4e53fb7b1005dc2576564b8dc28b9f26f47b94903272b26a7b9a6fb4bd1862c905b25b1bc66ca9
7
- data.tar.gz: 49528c9d199b14e375be3c386b7e2bbc1d66f8dbf83e0ab752e355cd9d474671d11da6a084669d1de137670f8e0ed41f975c4c7d3902472465d79dcc86ec3956
6
+ metadata.gz: 0a24411dddd1f2d1aeb8891cd23c6cff5d8ec3c83cc6b267f79a182eb57539a2111c2142dd04f6137b7224be2642ef35aaf0f4073ba8335224cb5b0a0199b0ab
7
+ data.tar.gz: 0ba4f40b1c8a38eac14c1bd99df0c72f93aed13b0410135912665f9e4de53fb56df3287b0a3a06c3523354e895841fdc566b6d7c82333c4ec0d087f513beddfb
@@ -1,3 +1,3 @@
1
1
  module PdfGem
2
- VERSION = '1.0.11'
2
+ VERSION = '1.0.12'
3
3
  end
@@ -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.11
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-01-30 00:00:00.000000000 Z
11
+ date: 2020-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails