poppler 3.2.4-x86-mingw32 → 3.2.5-x86-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: 00ed65b2802e48fdfc8b0d3f5f9a3f984192456d7df95f9f5ab6c4b1af929ee9
4
- data.tar.gz: 51253dc53ab9a8e8347e3265e259005e69baa44c0375aaa26da72c94bdedf005
3
+ metadata.gz: 8bf4828cad128f1f06883b93377918ae4581156267bcfc78874422b883d6da47
4
+ data.tar.gz: 5a98f2b52b1e852353caa1acda01c9c1612b3aed2915c14dbdb34293f719ae1d
5
5
  SHA512:
6
- metadata.gz: d9122be90445bcb6daeeb83c3c6e81ad630ba87963173ed955d6ecc33a1ef595f029b32bedc557851ce47773d1d21dc9096b192d403d720b04640c950571f55d
7
- data.tar.gz: dd4d33bd3594880d1d85312ce3be993a61aac08289e486361fb3b24979cb08b927dea322b9268863fc77c364fcaa28bd3a4c285220fe7eca92804fa904028300
6
+ metadata.gz: c01b2b1d7d218de753c6ce2ad8ace392c13c97d5e026222c0c187fa2e3b3a0ad2bde4bef0dd717c090298e85fe1c9a410b045668dea8249b6b1c7a911d8afeb8
7
+ data.tar.gz: 3fc0497a0903e6c117b22f2e917f0837b7eb00f46e9fc6bc6cde205d092bf59aad109529b2075e96301acf07fb7ac73f43a5516f5d5f5308ec35f6d855e03333
@@ -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: x86-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: []