chromium-pdf 1.0.7 → 1.0.8

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: 6b6ef0e8e9339c34e6ed12ba1906a135652e9aa43d47f2dcd2c69b9f53505889
4
- data.tar.gz: 1724a28acdd34db362d94913ae9eec6222c2a9ed36cc6a5c9d9a6213520be86b
3
+ metadata.gz: c01cc0233fa991138f39a92f690ea6bc7646a6e990686086a13a0671c60406ab
4
+ data.tar.gz: 14b011800ec9d4169e840af22fe99135f0aadfa7bde980547c8fca377c4aaaf5
5
5
  SHA512:
6
- metadata.gz: e394f6ba07e3e82f45db989efb760ea9e7d8f85493307032a5ec6fb002915380dc9a419d39160032086b81f70cb3e25a2f705893af54704c2fc04194e6329a40
7
- data.tar.gz: 63920957cacdc8c2f0d0b8f080c840ba5fa7c3a428afd64bc8e2747d3e6f1cd6cd22e7d1dd0c29d7b1e334c201a02dd4ce68d45509482884ef429d0d7534a359
6
+ metadata.gz: 35e878f92c333ee7c206d88f44a4816320fd54f59f3d9d5131ca899902e6a3a969a6697ae2576dbd6de240b580bb79254672d84514db7a2a3b22932e964846b5
7
+ data.tar.gz: 915b2b96cbf3be0af5138bae391567ab7466eacfac50fdb39692b53e81dab51556572b877a439485485902277c96abd41a61f3e1e1666aabd261dc89b94ef5df
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Chromium
4
4
  module Pdf
5
- VERSION = '1.0.7'
5
+ VERSION = '1.0.8'
6
6
  end
7
7
  end
data/lib/chromium/pdf.rb CHANGED
@@ -15,7 +15,8 @@ module Chromium
15
15
  '--run-all-compositor-stages-before-draw',
16
16
  '--no-sandbox',
17
17
  '--disable-dev-shm-usage',
18
- '--disable-background-networking'
18
+ '--disable-background-networking',
19
+ '--virtual-time-budget=10000'
19
20
  ].freeze
20
21
 
21
22
  ##
@@ -50,9 +51,5 @@ module Chromium
50
51
  exception: true
51
52
  )
52
53
  end
53
-
54
- def file_created?(filepath)
55
- File.exist?(filepath) && File.size(filepath).positive?
56
- end
57
54
  end
58
55
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chromium-pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - RoleModel Software
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-02-10 00:00:00.000000000 Z
11
12
  dependencies: []
12
13
  description: Add support for generating PDFs with chrome to a rails app
13
14
  email:
@@ -37,6 +38,7 @@ metadata:
37
38
  source_code_uri: https://github.com/RoleModel/chromium-pdf
38
39
  changelog_uri: https://github.com/RoleModel/chromium-pdf/blob/main/CHANGELOG.md
39
40
  rubygems_mfa_required: 'true'
41
+ post_install_message:
40
42
  rdoc_options: []
41
43
  require_paths:
42
44
  - lib
@@ -51,7 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
53
  - !ruby/object:Gem::Version
52
54
  version: '0'
53
55
  requirements: []
54
- rubygems_version: 4.0.2
56
+ rubygems_version: 3.5.11
57
+ signing_key:
55
58
  specification_version: 4
56
59
  summary: A wrapper around headless Chrome's print-to-pdf functionality.
57
60
  test_files: []