poppler 3.2.4-x64-mingw32 → 3.2.5-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/poppler/document.rb +7 -4
  3. data/vendor/local/bin/cjpeg.exe +0 -0
  4. data/vendor/local/bin/djpeg.exe +0 -0
  5. data/vendor/local/bin/jpegtran.exe +0 -0
  6. data/vendor/local/bin/libjpeg-9.dll +0 -0
  7. data/vendor/local/bin/libopenjp2.dll +0 -0
  8. data/vendor/local/bin/libpoppler-59.dll +0 -0
  9. data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
  10. data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
  11. data/vendor/local/bin/libsqlite3-0.dll +0 -0
  12. data/vendor/local/bin/opj_compress.exe +0 -0
  13. data/vendor/local/bin/opj_decompress.exe +0 -0
  14. data/vendor/local/bin/opj_dump.exe +0 -0
  15. data/vendor/local/bin/pdfdetach.exe +0 -0
  16. data/vendor/local/bin/pdffonts.exe +0 -0
  17. data/vendor/local/bin/pdfimages.exe +0 -0
  18. data/vendor/local/bin/pdfinfo.exe +0 -0
  19. data/vendor/local/bin/pdfseparate.exe +0 -0
  20. data/vendor/local/bin/pdftocairo.exe +0 -0
  21. data/vendor/local/bin/pdftohtml.exe +0 -0
  22. data/vendor/local/bin/pdftoppm.exe +0 -0
  23. data/vendor/local/bin/pdftops.exe +0 -0
  24. data/vendor/local/bin/pdftotext.exe +0 -0
  25. data/vendor/local/bin/pdfunite.exe +0 -0
  26. data/vendor/local/bin/rdjpgcom.exe +0 -0
  27. data/vendor/local/bin/sqlite3.exe +0 -0
  28. data/vendor/local/bin/wrjpgcom.exe +0 -0
  29. data/vendor/local/lib/libjpeg.dll.a +0 -0
  30. data/vendor/local/lib/libopenjp2.dll.a +0 -0
  31. data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
  32. data/vendor/local/lib/libpoppler-glib.a +0 -0
  33. data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
  34. data/vendor/local/lib/libpoppler.dll.a +0 -0
  35. data/vendor/local/lib/libsqlite3.dll.a +0 -0
  36. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a64c51dfa2c2980e1b1b2a8739e93897c90d7a381388f571b6d139c9647c7f4
4
- data.tar.gz: 0b77f337cd9ac1781c544d04b587e5f36353572fef12d0973c647e5739445f47
3
+ metadata.gz: 04fd9e4254a45800d3fefde1143c6fe08c22a0f36c97745910ecd9891850f23e
4
+ data.tar.gz: fbbea89c331ed202bfc2aeab7d51d71a54a7e9243f9e594c0852de9aa7b4be08
5
5
  SHA512:
6
- metadata.gz: 65df68964efc9ee5fe88f096540e2e8ec9d1df790a3de969e9ef971517a70792b9b942887eed6d2effbe78bce8e6afc9c8c4b9b405261a2c1d16165bdd03d9a0
7
- data.tar.gz: ce0ba8cf608c32c704297a648d22d448c24580f2c51b64e2257def76bdc0509e2091bf1e96969fcccfac98e8733a1e2083d1731132d20ba3a28d9c406813fcaa
6
+ metadata.gz: 9fe8007d414c75593e3521d8acd821a7f20c78625fa3d675c13ff89b0c5d5c48c99ad0a0f2ec9274422316c757c33cd71b8c814b147c5739bad5010a22c769f1
7
+ data.tar.gz: 91cef4e4aa95de5c337e77924d9eb4e1ea1327a56bae22657e774747ec2ac9097223cc22fd64b3a43c206d02f06e922ba2292d14e4cfe420274195351434c893
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2017-2018 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -14,6 +14,8 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
+ require "tempfile"
18
+
17
19
  module Poppler
18
20
  class Document
19
21
  include Enumerable
@@ -53,9 +55,10 @@ module Poppler
53
55
  # TODO: Enable the following:
54
56
  # initialize_new_from_data(data, password)
55
57
 
56
- @bytes = GLib::Bytes.new(data)
57
- @stream = Gio::MemoryInputStream.new(@bytes)
58
- initialize_new_from_stream(@stream, data.bytesize, password)
58
+ @file = Tempfile.new(["poppler", ".pdf"])
59
+ @file.write(data)
60
+ @file.close
61
+ initialize_new_from_file(ensure_uri(@file.path), password)
59
62
  elsif uri
60
63
  initialize_new_from_file(uri, password)
61
64
  elsif path
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poppler
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 3.2.5
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-09 00:00:00.000000000 Z
11
+ date: 2018-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo-gobject
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.4
19
+ version: 3.2.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.4
26
+ version: 3.2.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gio2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.4
33
+ version: 3.2.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.2.4
40
+ version: 3.2.5
41
41
  description: Ruby/Poppler is a Ruby binding of poppler-glib.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []