fulgur 0.22.0 → 0.24.0

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: 72c690da195486bebc8b35ad657f2702605fb6d32e10dc0b2c1eece72f66057b
4
- data.tar.gz: 9dd24316f97e3979b0bdd5dfdaea0e81d5bfbbad20174e3fed9dc7766fa58b10
3
+ metadata.gz: 545b71da5bd328bb5ab62589cf5bb6b4a7af35f9fff8932a341516cf40a7ba25
4
+ data.tar.gz: 0506ea4ac444092f8664eebdfad078b675438b40dc84949b4152b772a7ae5f46
5
5
  SHA512:
6
- metadata.gz: 07d6c585f50e51d26523edfb10567de3a953182f129cb69a5c9db2585b45d40e7ed7d6703139d80b9f83cbb12fa366bf183bd5bf7536a095022310155f4ce6c8
7
- data.tar.gz: a2246ac1f69bfac27e21f789d79f9e4287854903896883fb82bc6e6ff2bfa4eed9287025e01a1500471180ef1b45e851c7aa834039ecd41caf3414b62d44d184
6
+ metadata.gz: 73880e608ad81d4ff6e9dcdc60cdd230f2150273666a528cad470e0d1e88bb15586b11fa720f33594ac869f1684f20c30a37917c597a7eaf02b7962def50809d
7
+ data.tar.gz: 0262cb4504a578e2c04eae5cf9a579857875486841964e2a5f4d5bf38290ff0b80b5b45284a29cf81cdf451cfa92f923cca60d00311c37bbbce1c96b05ec3731
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "fulgur-ruby"
3
- version = "0.22.0"
3
+ version = "0.24.0"
4
4
  # rb_sys cross-gem-action は `directory: crates/fulgur-ruby` のみをコンテナに
5
5
  # マウントするため、この Cargo.toml は workspace root 不在でも cargo metadata
6
6
  # を解決できる必要がある。したがって workspace 継承 (`.workspace = true`) は
@@ -2,7 +2,7 @@
2
2
 
3
3
  [package]
4
4
  name = "fulgur"
5
- version = "0.22.0"
5
+ version = "0.24.0"
6
6
  # crates/fulgur-ruby/Cargo.toml と同じ src を共有 (path = "../../src/lib.rs")。
7
7
  # workspace と同じ edition 2024 に揃える。
8
8
  edition = "2024"
@@ -22,7 +22,7 @@ ruby-api = ["dep:magnus", "dep:rb-sys"]
22
22
  # を参照する (release 時は release.yml → release: published → release-ruby.yml の順で
23
23
  # 発火するため、この時点で fulgur のバージョンは crates.io に存在する)。
24
24
  # release-prepare.yml が sed でこの行のバージョンを同期する。
25
- fulgur = "0.22.0"
25
+ fulgur = "0.24.0"
26
26
  base64 = "0.22"
27
27
  magnus = { version = "0.7", optional = true }
28
28
  rb-sys = { version = "0.9", optional = true }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fulgur
4
- VERSION = "0.22.0"
4
+ VERSION = "0.24.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fulgur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitsuru Hayasaka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-03 00:00:00.000000000 Z
11
+ date: 2026-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -32,7 +32,6 @@ extensions:
32
32
  - ext/fulgur/extconf.rb
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - CHANGELOG.md
36
35
  - Cargo.toml
37
36
  - LICENSE-MIT
38
37
  - README.md
data/CHANGELOG.md DELETED
@@ -1,179 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to the `fulgur` gem will be documented here.
4
-
5
- ## [Unreleased]
6
-
7
- ## [0.22.0](https://github.com/fulgur-rs/fulgur/compare/fulgur-ruby-v0.21.0...fulgur-ruby-v0.22.0) - 2026-07-02
8
-
9
- ### Added
10
-
11
- - *(fulgur-ruby)* add render_html_to_file + integration specs
12
- - *(fulgur-ruby)* release GVL during render_html
13
- - *(fulgur-ruby)* add Pdf#write_to_path + #write_to_io (64KB chunked, binmode)
14
- - *(fulgur-ruby)* add Pdf result object (to_s/bytesize/to_base64/to_data_uri) + render_html
15
- - *(fulgur-ruby)* add Engine + EngineBuilder (kwargs + chain)
16
- - *(fulgur-ruby)* add AssetBundle wrapper + long/short aliases
17
- - *(fulgur-ruby)* add Margin wrapper (positional + kwargs + factory)
18
- - *(fulgur-ruby)* add PageSize wrapper (A4/LETTER/A3 + custom + landscape)
19
- - *(fulgur-ruby)* add error mapping (Fulgur::{Error,RenderError,AssetError} + Errno::ENOENT)
20
- - *(fulgur-ruby)* scaffold gem + crate skeleton
21
-
22
- ### Fixed
23
-
24
- - *(fulgur-ruby)* align Gemfile.lock fulgur path-gem to 0.10.0
25
- - *(bindings)* handle fulgur::Error::Other in pyfulgur and fulgur-ruby
26
- - *(fulgur-ruby)* strip rb_sys dep from native gem spec
27
- - address CodeRabbit/Devin review feedback on PR #103
28
- - *(fulgur-ruby)* use fulgur::asset::AssetBundle full path
29
- - *(fulgur-ruby)* single-platform cross_platform + gemspec injection
30
- - *(fulgur-ruby)* make cross-compile work in cross-gem-action mount
31
- - *(fulgur-ruby)* use RbSys::ExtensionTask for cross-compile
32
- - *(fulgur-ruby)* address CodeRabbit re-review
33
- - *(fulgur-ruby)* address AI review feedback (coderabbit + devin + gemini)
34
- - *(fulgur-ruby)* address Task 1 review feedback
35
- - address AI review feedback on placeholder packages
36
-
37
- ### Other
38
-
39
- - sync auxiliary version files to 0.21.0
40
- - release v0.21.0
41
- - v0.20.0
42
- - resolve conflict with main; update multicol_column_rule_renders to render()
43
- - update all call sites to new render API names
44
- - v0.18.0
45
- - v0.17.0
46
- - v0.16.0
47
- - *(deps)* bump rb_sys
48
- - v0.15.0
49
- - v0.14.0
50
- - v0.13.0
51
- - v0.12.0
52
- - v0.11.0
53
- - v0.10.0
54
- - v0.9.0
55
- - Merge pull request #231 from fulgur-rs/ci/bindings-check
56
- - migrate remaining magnus deprecations in error.rs and lib.rs
57
- - migrate to magnus 0.8 Ruby:: handle pattern
58
- - v0.8.0
59
- - v0.7.0
60
- - v0.6.0
61
- - v0.5.14
62
- - v0.5.13
63
- - *(deps)* bump magnus from 0.7.1 to 0.8.2
64
- - v0.5.12
65
- - v0.5.11
66
- - v0.5.10
67
- - v0.5.9
68
- - v0.5.8
69
- - v0.5.7
70
- - v0.5.6
71
- - v0.5.5
72
- - v0.5.4
73
- - v0.5.3
74
- - Merge pull request #109 from fulgur-rs/docs/add-cla
75
- - v0.5.2
76
- - v0.5.1
77
- - v0.5.0
78
- - *(fulgur-ruby)* loosen required_ruby_version to 3.1.0
79
- - *(fulgur-ruby)* clarify write_to_path description (no binmode concept)
80
- - *(fulgur-ruby)* add README + CHANGELOG
81
- - add not-available note above planned API examples
82
- - add placeholder packages for PyPI (pyfulgur) and RubyGems (fulgur)
83
-
84
- ## [0.21.0](https://github.com/fulgur-rs/fulgur/compare/fulgur-ruby-v0.20.0...fulgur-ruby-v0.21.0) - 2026-07-02
85
-
86
- ### Added
87
-
88
- - *(fulgur-ruby)* add render_html_to_file + integration specs
89
- - *(fulgur-ruby)* release GVL during render_html
90
- - *(fulgur-ruby)* add Pdf#write_to_path + #write_to_io (64KB chunked, binmode)
91
- - *(fulgur-ruby)* add Pdf result object (to_s/bytesize/to_base64/to_data_uri) + render_html
92
- - *(fulgur-ruby)* add Engine + EngineBuilder (kwargs + chain)
93
- - *(fulgur-ruby)* add AssetBundle wrapper + long/short aliases
94
- - *(fulgur-ruby)* add Margin wrapper (positional + kwargs + factory)
95
- - *(fulgur-ruby)* add PageSize wrapper (A4/LETTER/A3 + custom + landscape)
96
- - *(fulgur-ruby)* add error mapping (Fulgur::{Error,RenderError,AssetError} + Errno::ENOENT)
97
- - *(fulgur-ruby)* scaffold gem + crate skeleton
98
-
99
- ### Fixed
100
-
101
- - *(fulgur-ruby)* align Gemfile.lock fulgur path-gem to 0.10.0
102
- - *(bindings)* handle fulgur::Error::Other in pyfulgur and fulgur-ruby
103
- - *(fulgur-ruby)* strip rb_sys dep from native gem spec
104
- - address CodeRabbit/Devin review feedback on PR #103
105
- - *(fulgur-ruby)* use fulgur::asset::AssetBundle full path
106
- - *(fulgur-ruby)* single-platform cross_platform + gemspec injection
107
- - *(fulgur-ruby)* make cross-compile work in cross-gem-action mount
108
- - *(fulgur-ruby)* use RbSys::ExtensionTask for cross-compile
109
- - *(fulgur-ruby)* address CodeRabbit re-review
110
- - *(fulgur-ruby)* address AI review feedback (coderabbit + devin + gemini)
111
- - *(fulgur-ruby)* address Task 1 review feedback
112
- - address AI review feedback on placeholder packages
113
-
114
- ### Other
115
-
116
- - v0.20.0
117
- - resolve conflict with main; update multicol_column_rule_renders to render()
118
- - update all call sites to new render API names
119
- - v0.18.0
120
- - v0.17.0
121
- - v0.16.0
122
- - *(deps)* bump rb_sys
123
- - v0.15.0
124
- - v0.14.0
125
- - v0.13.0
126
- - v0.12.0
127
- - v0.11.0
128
- - v0.10.0
129
- - v0.9.0
130
- - Merge pull request #231 from fulgur-rs/ci/bindings-check
131
- - migrate remaining magnus deprecations in error.rs and lib.rs
132
- - migrate to magnus 0.8 Ruby:: handle pattern
133
- - v0.8.0
134
- - v0.7.0
135
- - v0.6.0
136
- - v0.5.14
137
- - v0.5.13
138
- - *(deps)* bump magnus from 0.7.1 to 0.8.2
139
- - v0.5.12
140
- - v0.5.11
141
- - v0.5.10
142
- - v0.5.9
143
- - v0.5.8
144
- - v0.5.7
145
- - v0.5.6
146
- - v0.5.5
147
- - v0.5.4
148
- - v0.5.3
149
- - Merge pull request #109 from fulgur-rs/docs/add-cla
150
- - v0.5.2
151
- - v0.5.1
152
- - v0.5.0
153
- - *(fulgur-ruby)* loosen required_ruby_version to 3.1.0
154
- - *(fulgur-ruby)* clarify write_to_path description (no binmode concept)
155
- - *(fulgur-ruby)* add README + CHANGELOG
156
- - add not-available note above planned API examples
157
- - add placeholder packages for PyPI (pyfulgur) and RubyGems (fulgur)
158
-
159
- ## [0.0.1] - 2026-04-17
160
-
161
- Initial Ruby binding for fulgur.
162
-
163
- ### Added
164
-
165
- - `Fulgur::Engine` (kwargs constructor + builder chain)
166
- - `Fulgur::EngineBuilder` for reusable engine construction
167
- - `Fulgur::AssetBundle` with long (`add_*`) and short (`css`, `font_file`, etc.) aliases
168
- - `Fulgur::PageSize` with `A4` / `LETTER` / `A3` constants and `.custom(w_mm, h_mm)`; accepts `Symbol`, `String`, or class constants as input
169
- - `Fulgur::Margin` with CSS-style positional args, keyword args, and `.uniform` / `.symmetric` factories
170
- - `Fulgur::Pdf` result object: `#to_s` (ASCII-8BIT), `#to_base64`, `#to_data_uri`, `#write_to_path`, `#write_to_io` (64 KiB chunked, binmode-guaranteed), `#bytesize`
171
- - `Engine#render_html` and `Engine#render_html_to_file` release the GVL during the Rust render call
172
- - Error hierarchy: `Fulgur::Error` / `Fulgur::RenderError` / `Fulgur::AssetError`, plus standard `ArgumentError` / `Errno::ENOENT`
173
- - Ruby 3.3+ support
174
-
175
- ### Known Limitations
176
-
177
- - Precompiled gems / RubyGems publish automation are tracked separately (fulgur-qyf) and not yet in place; gems must be built from source for now
178
- - Streaming renderer: Krilla emits bytes at the end of rendering, so `#write_to_io` chunks a completed buffer rather than streaming during layout
179
- - No Ractor safety analysis yet