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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4087bb7a64b0330a598191f41f7326ff139f3b89471edb090a1ad7aa98f7ddc3
4
- data.tar.gz: fdda8acf7d395f1cdc37a15dd9f07c4f9a5f1df80a0d7e3ba24f632875981ffa
3
+ metadata.gz: dc65d3eaabcfa2bfedac7e0e4e907acbff224831b0f4666e75700559cc58fe08
4
+ data.tar.gz: bf51d86f15f16fb64ffd33bde3e50853b300232084435bc22b8c302995de8344
5
5
  SHA512:
6
- metadata.gz: 4225c941be4069bdacc6ba734a7981d5e9d19e9e4b0cba36523dab5c06eb020d37a9b9b414b4d88436248fb49f4665ff79d84b3a5d5632aa7f785f8dbc775490
7
- data.tar.gz: 1023962b16c7ad838e467a7db57dbc097ab37b118eb3168f84caf28fc3006adec6f20d00925976cab42e02c14520cd99242650aa3011d235d01f5e79a03c8bd0
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 wraps `anydoc` 0.2.3.
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.3] - 2026-09-09
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.3",
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.3"
101
+ version = "0.2.4"
102
102
  source = "registry+https://github.com/rust-lang/crates.io-index"
103
- checksum = "cba429594e94170aa99d2e4e0f596719ecc5c5df00269c671bc60c9e08172678"
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.3 wraps `anydoc` 0.2.3. 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:
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`
@@ -2214,7 +2214,7 @@ SOFTWARE.
2214
2214
  MIT License (MIT)
2215
2215
 
2216
2216
  Applies to:
2217
- - anydoc 0.2.3
2217
+ - anydoc 0.2.4
2218
2218
  --------------------------------------------------------------------------------
2219
2219
  MIT License
2220
2220
 
@@ -12,4 +12,4 @@ crate-type = ["cdylib"]
12
12
  [dependencies]
13
13
  magnus = "0.8"
14
14
  rb-sys = "0.9"
15
- anydoc_core = { package = "anydoc", version = "0.2.3" }
15
+ anydoc_core = { package = "anydoc", version = "0.2.4" }
@@ -1,5 +1,5 @@
1
1
  module Anydoc
2
2
  # Tracks the anydoc Rust crate this gem wraps: the version here is always the
3
3
  # version of `anydoc_core` in ext/anydoc/Cargo.toml.
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kp_anydoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - KirkpatrickPrice