inkmark 0.1.1-aarch64-linux → 0.1.2-aarch64-linux
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 +5 -0
- data/README.md +7 -0
- data/lib/inkmark/3.3/inkmark.so +0 -0
- data/lib/inkmark/3.4/inkmark.so +0 -0
- data/lib/inkmark/4.0/inkmark.so +0 -0
- data/lib/inkmark/version.rb +1 -1
- data/lib/inkmark.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe50d297f45dd3898b459233acf076ea1c0c240fabc8b2cc63e970c02a709e28
|
|
4
|
+
data.tar.gz: 47a56a003284ca32c07396b4fae8cde83d8ea016547f79a5858a8088fc592393
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1163757cbb2be437bc5e71499a54c4c46b73b5ce14f1469e36bc16154e07398f2bc62505eee8651cacc257828619f86e499eece6a66e38e16c6d3ff9e2a45623
|
|
7
|
+
data.tar.gz: cbc15320ea30d15aa63011311e7fbdedb5fca7ab3546171a5435c659df2eb8a58a32dafd5192c6313174c7199dc5ad824f034547b7ec5ce2a8178070aa7a783f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [0.1.2] - 2026-06-21
|
|
2
|
+
|
|
3
|
+
- Fix `Inkmark.truncate_markdown` raising `TypeError` when called without explicit `options:`.
|
|
4
|
+
- Update dependencies on the Rust side.
|
|
5
|
+
|
|
1
6
|
## [0.1.1] - 2026-04-22
|
|
2
7
|
|
|
3
8
|
- Strip DWARF debug info from shipped Linux and Windows binaries via `strip = "debuginfo"`.
|
data/README.md
CHANGED
|
@@ -18,6 +18,11 @@ A very fast, feature-packed, AI-first Markdown gem for Ruby.
|
|
|
18
18
|
- **Security conscious**. Raw HTML denied by default. Hostname and URL-scheme allowlists for both links and images. GFM tagfilter for dangerous tags. A Rust-backed gem.
|
|
19
19
|
- **Easy extension API**. Hook any element with a Ruby block—no subclassing, no intermediate AST, no HTML post-processing. Rewrite URLs, swap code blocks for your own renderer, drop subtrees, or just walk the document for analysis. Handlers fire inside the single-pass parser, so extension costs essentially nothing beyond the render itself—and far less than regexing over output HTML.
|
|
20
20
|
|
|
21
|
+
**See the introductory post for background and motivation**:
|
|
22
|
+
|
|
23
|
+
**[Inkmark: a very fast, feature-packed, AI-first Markdown gem for Ruby
|
|
24
|
+
](https://yaroslav.io/posts/inkmark-fast-ai-first-markdown)**
|
|
25
|
+
|
|
21
26
|
## Contents
|
|
22
27
|
|
|
23
28
|
- [Installation](#installation)
|
|
@@ -50,6 +55,8 @@ gem "inkmark"
|
|
|
50
55
|
|
|
51
56
|
Ruby 3.3+ is supported.
|
|
52
57
|
|
|
58
|
+
The gem comes precompiled, a compiler toolchain is _not_ required for installation.
|
|
59
|
+
|
|
53
60
|
## Quick start
|
|
54
61
|
|
|
55
62
|
```ruby
|
data/lib/inkmark/3.3/inkmark.so
CHANGED
|
Binary file
|
data/lib/inkmark/3.4/inkmark.so
CHANGED
|
Binary file
|
data/lib/inkmark/4.0/inkmark.so
CHANGED
|
Binary file
|
data/lib/inkmark/version.rb
CHANGED
data/lib/inkmark.rb
CHANGED
|
@@ -222,7 +222,13 @@ class Inkmark
|
|
|
222
222
|
params = normalize_truncate_params(
|
|
223
223
|
chars: chars, words: words, at: at, marker: marker
|
|
224
224
|
)
|
|
225
|
-
|
|
225
|
+
# truncate's native binding requires an options Hash; unlike the
|
|
226
|
+
# to_html/to_plain_text bindings it has no nil fast path, so fall
|
|
227
|
+
# back to the default options hash when the resolver returns nil.
|
|
228
|
+
_native_truncate_markdown(
|
|
229
|
+
source, params,
|
|
230
|
+
resolve_frozen_options(options) || default_options.to_native_hash_frozen
|
|
231
|
+
)
|
|
226
232
|
end
|
|
227
233
|
|
|
228
234
|
# Render +source+ through the filter pipeline and serialize to plain
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inkmark
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Yaroslav Markin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|