onlyoffice_pdf_parser 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onlyoffice_pdf_parser/bmp_image.rb +1 -1
- data/lib/onlyoffice_pdf_parser/version.rb +1 -1
- metadata +12 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa1e4904848f330f9e50f850cfdcab6e4b0e170e2478491a94c1e6ca5172bea2
|
4
|
+
data.tar.gz: afc8fcd96b544e8d7ec8dd5cab7db1d7225359a0d2e5423b706243fa24252654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '05112925b5f8dfb5abd423435e96410344e421e1cf1705733b2c142cf2225bee45dc1611e89915d70233ac548ae131edf6711d91500c3bf85b76a6562b3a493f'
|
7
|
+
data.tar.gz: 45e19650bd51a9bffca33598e45831389eb4caa6a732651a901cedd1fce41813c7ffe3dc2dfcbfc19f08532289da43c01a8f33e30c4fda0dcba3bb015cd6a603
|
@@ -107,7 +107,7 @@ module OnlyofficePdfParser
|
|
107
107
|
# @return [Void] Fill @pixel with data
|
108
108
|
def fetch_pixels
|
109
109
|
tmp_file = Tempfile.new('onlyoffice_pdf_parser')
|
110
|
-
File.
|
110
|
+
File.binwrite(tmp_file, data)
|
111
111
|
@pixels = ImageList.new(tmp_file.path).get_pixels(0, 0, width, height).each_slice(width).to_a
|
112
112
|
tmp_file.unlink
|
113
113
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onlyoffice_pdf_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Lobashov
|
@@ -9,22 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: image_size
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '2'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '4'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '2'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: pdf-reader
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,6 +226,7 @@ metadata:
|
|
220
226
|
documentation_uri: https://www.rubydoc.info/gems/onlyoffice_pdf_parser
|
221
227
|
homepage_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_pdf_parser
|
222
228
|
source_code_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_pdf_parser
|
229
|
+
rubygems_mfa_required: 'true'
|
223
230
|
post_install_message:
|
224
231
|
rdoc_options: []
|
225
232
|
require_paths:
|
@@ -235,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
242
|
- !ruby/object:Gem::Version
|
236
243
|
version: '0'
|
237
244
|
requirements: []
|
238
|
-
rubygems_version: 3.
|
245
|
+
rubygems_version: 3.3.4
|
239
246
|
signing_key:
|
240
247
|
specification_version: 4
|
241
248
|
summary: ONLYOFFICE PDF Parser Gem
|