kp_anydoc 0.2.3 → 0.2.4
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 +4 -4
- data/CHANGELOG.md +2 -10
- data/Cargo.lock +3 -3
- data/README.md +1 -1
- data/THIRD-PARTY-LICENSES.txt +1 -1
- data/ext/anydoc/Cargo.toml +1 -1
- data/lib/anydoc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc65d3eaabcfa2bfedac7e0e4e907acbff224831b0f4666e75700559cc58fe08
|
|
4
|
+
data.tar.gz: bf51d86f15f16fb64ffd33bde3e50853b300232084435bc22b8c302995de8344
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f8424d8264a5cf74e9619c3011d0372bbd8877997bdbff6bd65bbfd882e96455d6146cea6e8011454ff83ee3eae50da96fdd68e6aa156f635ded08a23c6fc75
|
|
7
|
+
data.tar.gz: 6e217d55c972399ad0b99eab7ad1f1c981def7dda09226d097b2da561fbfa97c07c94f9323894c8462303f8dca85f0b592b05d0e94992ce66219536904d8a042
|
data/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
Versions track the [`anydoc`](https://crates.io/crates/anydoc) Rust crate this gem wraps: `kp_anydoc` 0.2.
|
|
3
|
+
Versions track the [`anydoc`](https://crates.io/crates/anydoc) Rust crate this gem wraps: `kp_anydoc` 0.2.4 wraps `anydoc` 0.2.4.
|
|
4
4
|
|
|
5
|
-
## [0.2.
|
|
6
|
-
|
|
7
|
-
Wraps `anydoc` 0.2.3 instead of 0.2.4, giving up the scanned-page reporting that 0.2.4 introduced.
|
|
8
|
-
|
|
9
|
-
- `anydoc` 0.2.4 refuses a whole PDF when any page is scanned or image-only ([firecrawl/anydoc#140](https://github.com/firecrawl/anydoc/pull/140)). Measured against a representative KirkpatrickPrice audit program, that failed 47 of 117 PDFs, including a 22-page training deck where 4 pages need OCR and the other 18 extract cleanly. On 0.2.3 those documents convert.
|
|
10
|
-
- The cost is that 0.2.3 leaves the unreadable pages out of the Markdown without saying so, which is the behaviour upstream changed 0.2.4 to stop. Treat this as a stopgap: [firecrawl/anydoc#166](https://github.com/firecrawl/anydoc/pull/166) proposes keeping the extracted text for text-based PDFs, and landing it would let the gem track a current crate again.
|
|
11
|
-
- Nothing else is given up. The other feature in 0.2.4, hosted OCR through Firecrawl Parse, is exposed only in the Node and Python bindings, not in the Rust API these bindings wrap.
|
|
12
|
-
|
|
13
|
-
## [0.2.4] - 2026-09-01
|
|
5
|
+
## [0.2.4] - Unreleased
|
|
14
6
|
|
|
15
7
|
- Initial release of `kp_anydoc`, wrapping the `anydoc` Rust crate 0.2.4.
|
|
16
8
|
- `Anydoc.to_markdown(bytes, filename:)` converts document bytes to Markdown.
|
data/Cargo.lock
CHANGED
|
@@ -91,16 +91,16 @@ dependencies = [
|
|
|
91
91
|
name = "anydoc"
|
|
92
92
|
version = "0.1.0"
|
|
93
93
|
dependencies = [
|
|
94
|
-
"anydoc 0.2.
|
|
94
|
+
"anydoc 0.2.4",
|
|
95
95
|
"magnus",
|
|
96
96
|
"rb-sys",
|
|
97
97
|
]
|
|
98
98
|
|
|
99
99
|
[[package]]
|
|
100
100
|
name = "anydoc"
|
|
101
|
-
version = "0.2.
|
|
101
|
+
version = "0.2.4"
|
|
102
102
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
103
|
-
checksum = "
|
|
103
|
+
checksum = "cf0d78e4cfe3654eb3ea04422ec5a94352000ee56e97902125e68e51f7527062"
|
|
104
104
|
dependencies = [
|
|
105
105
|
"cfb",
|
|
106
106
|
"csv",
|
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@ The gem is published on RubyGems as **`kp_anydoc`** but is required as **`anydoc
|
|
|
10
10
|
gem "kp_anydoc"
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Requires **Ruby 3.4 or newer**. The gem version tracks the [`anydoc`](https://crates.io/crates/anydoc) Rust crate it wraps — `kp_anydoc` 0.2.
|
|
13
|
+
Requires **Ruby 3.4 or newer**. The gem version tracks the [`anydoc`](https://crates.io/crates/anydoc) Rust crate it wraps — `kp_anydoc` 0.2.4 wraps `anydoc` 0.2.4. Precompiled native gems are published for the platforms below, each carrying a Ruby 3.4 and 4.0 extension, so installs need no Rust toolchain:
|
|
14
14
|
|
|
15
15
|
- `x86_64-linux`
|
|
16
16
|
- `aarch64-linux`
|
data/THIRD-PARTY-LICENSES.txt
CHANGED
data/ext/anydoc/Cargo.toml
CHANGED
data/lib/anydoc/version.rb
CHANGED