pludoni_pdfutils 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/pludoni/pdfutils/compressor.rb +1 -1
- data/pludoni_pdfutils.gemspec +1 -1
- metadata +3 -4
- data/Gemfile.lock +0 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b857a9cb25a06c3d24293167dfeb438b611b59e6ff338a3e9698b7562be27dd
|
4
|
+
data.tar.gz: a110445e799dd1a5ddd84bd396acf2a9a9b204122b4b6fde7d7ed632fb31768a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08a001be4cad274d66c813481787935a849de9c7230ad48f8fd1bb74eab78912001af132091afedc62038857d5dc472e41507e22e793d92ef8940c48b1a6cc3d'
|
7
|
+
data.tar.gz: b404ce469d07da35007b8a05713c0c37ba7561b74265246f54077ab24506d1287cc5c8f60d34b4c94852b4a993edcfa9d8638fb3442bba8c6310b183b1521159
|
data/.gitignore
CHANGED
@@ -11,7 +11,7 @@ module Pludoni::Pdfutils
|
|
11
11
|
tf = Tempfile.new([fname, '.pdf'])
|
12
12
|
tf.binmode
|
13
13
|
input = @blob.to_tf
|
14
|
-
cli = "gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/
|
14
|
+
cli = "gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -r150 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=#{Shellwords.escape tf.path} #{Shellwords.escape input.path}"
|
15
15
|
|
16
16
|
stdout, stderr, status = Open3.capture3(cli)
|
17
17
|
unless status.success?
|
data/pludoni_pdfutils.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pludoni_pdfutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Wienert
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage
|
@@ -89,7 +89,6 @@ extra_rdoc_files: []
|
|
89
89
|
files:
|
90
90
|
- ".gitignore"
|
91
91
|
- Gemfile
|
92
|
-
- Gemfile.lock
|
93
92
|
- LICENSE.txt
|
94
93
|
- README.md
|
95
94
|
- Rakefile
|
@@ -125,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
124
|
- !ruby/object:Gem::Version
|
126
125
|
version: '0'
|
127
126
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
127
|
+
rubygems_version: 3.5.3
|
129
128
|
signing_key:
|
130
129
|
specification_version: 4
|
131
130
|
summary: Convert to pdf, compress pdf, join pdf using Ghostscript
|
data/Gemfile.lock
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
pludoni_pdfutils (0.4.0)
|
5
|
-
activestorage (>= 5.2.0)
|
6
|
-
marcel
|
7
|
-
zeitwerk
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
actionpack (7.0.7.2)
|
13
|
-
actionview (= 7.0.7.2)
|
14
|
-
activesupport (= 7.0.7.2)
|
15
|
-
rack (~> 2.0, >= 2.2.4)
|
16
|
-
rack-test (>= 0.6.3)
|
17
|
-
rails-dom-testing (~> 2.0)
|
18
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
-
actionview (7.0.7.2)
|
20
|
-
activesupport (= 7.0.7.2)
|
21
|
-
builder (~> 3.1)
|
22
|
-
erubi (~> 1.4)
|
23
|
-
rails-dom-testing (~> 2.0)
|
24
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
-
activejob (7.0.7.2)
|
26
|
-
activesupport (= 7.0.7.2)
|
27
|
-
globalid (>= 0.3.6)
|
28
|
-
activemodel (7.0.7.2)
|
29
|
-
activesupport (= 7.0.7.2)
|
30
|
-
activerecord (7.0.7.2)
|
31
|
-
activemodel (= 7.0.7.2)
|
32
|
-
activesupport (= 7.0.7.2)
|
33
|
-
activestorage (7.0.7.2)
|
34
|
-
actionpack (= 7.0.7.2)
|
35
|
-
activejob (= 7.0.7.2)
|
36
|
-
activerecord (= 7.0.7.2)
|
37
|
-
activesupport (= 7.0.7.2)
|
38
|
-
marcel (~> 1.0)
|
39
|
-
mini_mime (>= 1.1.0)
|
40
|
-
activesupport (7.0.7.2)
|
41
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
42
|
-
i18n (>= 1.6, < 2)
|
43
|
-
minitest (>= 5.1)
|
44
|
-
tzinfo (~> 2.0)
|
45
|
-
builder (3.2.4)
|
46
|
-
concurrent-ruby (1.2.2)
|
47
|
-
crass (1.0.6)
|
48
|
-
erubi (1.12.0)
|
49
|
-
globalid (1.1.0)
|
50
|
-
activesupport (>= 5.0)
|
51
|
-
i18n (1.14.1)
|
52
|
-
concurrent-ruby (~> 1.0)
|
53
|
-
loofah (2.21.3)
|
54
|
-
crass (~> 1.0.2)
|
55
|
-
nokogiri (>= 1.12.0)
|
56
|
-
marcel (1.0.2)
|
57
|
-
mini_mime (1.1.5)
|
58
|
-
minitest (5.19.0)
|
59
|
-
nokogiri (1.15.4-x86_64-linux)
|
60
|
-
racc (~> 1.4)
|
61
|
-
racc (1.7.1)
|
62
|
-
rack (2.2.8)
|
63
|
-
rack-test (2.1.0)
|
64
|
-
rack (>= 1.3)
|
65
|
-
rails-dom-testing (2.2.0)
|
66
|
-
activesupport (>= 5.0.0)
|
67
|
-
minitest
|
68
|
-
nokogiri (>= 1.6)
|
69
|
-
rails-html-sanitizer (1.6.0)
|
70
|
-
loofah (~> 2.21)
|
71
|
-
nokogiri (~> 1.14)
|
72
|
-
rake (13.0.6)
|
73
|
-
tzinfo (2.0.6)
|
74
|
-
concurrent-ruby (~> 1.0)
|
75
|
-
zeitwerk (2.6.11)
|
76
|
-
|
77
|
-
PLATFORMS
|
78
|
-
x86_64-linux
|
79
|
-
|
80
|
-
DEPENDENCIES
|
81
|
-
bundler
|
82
|
-
pludoni_pdfutils!
|
83
|
-
rake
|
84
|
-
|
85
|
-
BUNDLED WITH
|
86
|
-
2.4.2
|