pd4ml 1.1.1 → 1.1.2

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: eada212500d1ee924117e4c9b8f0ad4f8d29f7b69fb4ff6b0b1775caf3c23bfe
4
- data.tar.gz: c3f70c2b02f24e52517d95b4bb10ee2c81116230b9b8d356ccae0f7619b4bf74
3
+ metadata.gz: 5f3f328b0ad4e184f8d1b35bdf80f51c1e2708798e4e782a765e3c71d5d98ebc
4
+ data.tar.gz: 133a2003170431c83600e3d2eb7bdae3f12cb4af14c9edf365e38e95b9a9b25b
5
5
  SHA512:
6
- metadata.gz: f6f7e9b5e9ff21c9db8a8cbae74770c766444afd2c9ce6123a08817691c9dfac6c941104a12cf56f2614d4274e858df788baaeb986a8ecd88d5c246128f0a8c1
7
- data.tar.gz: ad146b82b276a72480749a4f2f25e3254b982e8d1a3dfd4d065e202e06b61496c6b4e250abddf5aac44a5f29150259cdb0f57853ea132b3be0d75dc5740bafc9
6
+ metadata.gz: fdd66e32394009f7a81e1a6cc5e51798bd0d798bde2463c0c5a2a81bf30b5c945afd1723a5a7fa2909e842a801606fdcfa7e5bdbedd9f43c46388d694525e6ff
7
+ data.tar.gz: f95260d4d7e77b25563a7f23f3ad00d58c6ed0a7e9f77b11d13f9a36e128e6878f951811b67e35d69bea5c4d2ee9f38a5772bab0e4d685540a7886e3535ad9db
data/README.md CHANGED
@@ -57,7 +57,8 @@ The gem adds Ruby I/O on top: paths, URLs, binary Strings and IO objects in and
57
57
  for progress listeners. Several processes can share one bridge server: run `pd4ml serve` and set
58
58
  `PD4ML_BRIDGE=tcp://127.0.0.1:8723`.
59
59
 
60
- With PD4ML 4.2, the gem also reads e-mail messages and saved web pages (`read_eml`, `read_mht`),
60
+ With PD4ML 4.2, the gem also reads e-mail messages and saved web pages (`read_eml`, `read_mht`; DMS
61
+ and UA editions),
61
62
  and gives access to the parsed document before it is written (`get_document`, `layout`: the DOM
62
63
  API of the DMS and UA editions, whose lists come back as Ruby Arrays). See the
63
64
  [guide](docs/guide.md#516-e-mail-messages-and-saved-web-pages).
data/docs/guide.md CHANGED
@@ -652,6 +652,10 @@ and is reachable through `Pd4ml::Java.type(...)`.
652
652
 
653
653
  ### 5.16 E-mail messages and saved web pages
654
654
 
655
+ > **Editions.** E-mail and saved web page input — `read_eml`/`read_mht`, and `read_html` for input it
656
+ > recognizes as one of them — is part of the PD4ML **DMS and UA editions**. With an STD or PRO license it
657
+ > works, but the output carries the "PD4ML EVALUATION MODE" banners.
658
+
655
659
  PD4ML 4.2 reads e-mail messages (`.eml`) and web pages saved as a single file (`.mht`, `.mhtml`)
656
660
  and writes them to any output format:
657
661
 
@@ -908,7 +912,7 @@ Without a license, PD4ML is fully functional but marks its output. See
908
912
  |---|---|
909
913
  | `read_html(source, base_url = nil, encoding = nil)` | `source`: a path or URL (String, Pathname, URI), a binary String or IO, or a Java `URL`/`InputStream` |
910
914
  | `read_html_string(html, base_url = nil)` | the document as a String |
911
- | `read_eml(source)`, `read_mht(source)` | an e-mail message, a saved web page ([5.16](#516-e-mail-messages-and-saved-web-pages)); `source` as for `read_html` |
915
+ | `read_eml(source)`, `read_mht(source)` | an e-mail message, a saved web page ([5.16](#516-e-mail-messages-and-saved-web-pages)), DMS and UA editions; `source` as for `read_html` |
912
916
  | `write_pdf(target = nil, spec: nil)` | `target`: a path or IO; none: returns a binary String. `spec`: a `PdfSpec`, a keyword (`'pdf/a-2b'`) or `'PDF'`/`'PDFA'`/`'PDFUA'` |
913
917
  | `write_docx(target = nil)`, `write_rtf(target = nil, rtf_wmf: false)` | as `write_pdf` |
914
918
  | `render_as_images(format)`, `render_png` | pages as encoded images (binary Strings); `render_as_images(dir, name, format)` writes files |
Binary file
data/lib/pd4ml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pd4ml
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pd4ml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PD4ML