sghtmltopdf 0.1.0-aarch64-linux → 0.2.0-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76c5e09cd07d909ef74f7b5c2c56ea163f16dd407e2d309238ac0932309e9528
4
- data.tar.gz: 56498f8925b1e32b11d919b77620886cf7c39287d55d3fdeb6547e84e9bf35a6
3
+ metadata.gz: 2709ddb606efa4da118002a647308e32c510417b6a68af8740f011dcb54e3ff4
4
+ data.tar.gz: 70f8dae1b15d5debbf608b97be1cace1cc41deb9d851f52015117966fdb32bc6
5
5
  SHA512:
6
- metadata.gz: cc27feea209ad21fc3af19e4d3e0aac98039bf004ef6a21f42f18b8888af56a9390a491ebfc1a8e45482b545a9f3e7c258b5216ee162c9f7df4248276c6fd6d3
7
- data.tar.gz: cc1033fec212e7a14c8a6f66da6f0d6cb2d257a1fd27d13d60b1bb6f59039ba73e211ce2db6b913a633dc9472f1f58e2a9c624785aacd5e5178323ee1a771154
6
+ metadata.gz: b0d45fc633ff8a8304d6319d7304fd9a3d58f250bc50b606b1f0ccf71a422f7815ec09c736647ad8c94364bed0ea144c2bf962eea28770dec3b461f654465dbd
7
+ data.tar.gz: 272604a6a2bdec2d2555f33f182e95778490fab3bafb0dacc6df6a023216fcc01b680bd7ef2306a8f3b72918846bdbce86ecfd03e68570dfd1693439c9ca3da7
Binary file
Binary file
Binary file
Binary file
@@ -63,10 +63,10 @@ module Sghtmltopdf
63
63
  # 配列は同じオプションの繰り返し。要素ごとに同じ規則を適用する。
64
64
  when Array then value.flat_map { |element| pairs_for(key, element) }
65
65
  when Hash
66
- # wicked_pdfの`margin: {top: 10}`のような入れ子は受けない。数値の
67
- # 単位の解釈が違う(wicked_pdfはmm・こちらはpx)ため、機械的に
68
- # 平坦化すると黙って別の余白になる。移行時は
69
- # 移行ガイドの対応表を見て書き換えてもらう。
66
+ # wicked_pdfの`margin: {top: 10}`のような入れ子は受けない。対応する
67
+ # CLIフラグが無く、機械的に平坦化すると綴り違いのキーまで黙って
68
+ # 通ってしまう。移行時は移行ガイドの対応表を見て書き換えてもらう。
69
+ # なお単位を省いた数値の解釈はwicked_pdfと同じくmm(`cli/units.rs`)。
70
70
  example = value.keys.first
71
71
  raise ArgumentError,
72
72
  "#{key}にHashは渡せません(pathとindexを取るのは:fontだけです)。" \
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sghtmltopdf
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,19 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sghtmltopdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - yo_waka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-08 00:00:00.000000000 Z
11
+ date: 2026-08-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
- wkhtmltopdfの後継として、Chromium/WebKit/Geckoに依存しないRust製の
15
- HTML→PDFレンダリングエンジンをRubyから使うためのバインディング。
16
- Railsからはwicked_pdf互換のレンダラ(`render pdf: "invoice"`)で使える。
14
+ Ruby binding for sghtmltopdf, a successor to wkhtmltopdf: an HTML-to-PDF
15
+ rendering engine written in Rust that needs no browser process. The engine
16
+ runs in-process through a native extension and releases the GVL while
17
+ rendering. On Rails it registers a wicked_pdf compatible renderer, so
18
+ `render pdf: "invoice"` works with the keys you already use.
17
19
  email:
18
20
  - y.wakahara@gmail.com
19
21
  executables: []
@@ -23,8 +25,6 @@ files:
23
25
  - LICENSE
24
26
  - README.md
25
27
  - lib/sghtmltopdf.rb
26
- - lib/sghtmltopdf/3.0/sghtmltopdf.so
27
- - lib/sghtmltopdf/3.1/sghtmltopdf.so
28
28
  - lib/sghtmltopdf/3.2/sghtmltopdf.so
29
29
  - lib/sghtmltopdf/3.3/sghtmltopdf.so
30
30
  - lib/sghtmltopdf/3.4/sghtmltopdf.so
@@ -52,7 +52,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '3.0'
55
+ version: '3.2'
56
56
  - - "<"
57
57
  - !ruby/object:Gem::Version
58
58
  version: 4.1.dev
@@ -65,5 +65,5 @@ requirements: []
65
65
  rubygems_version: 3.5.23
66
66
  signing_key:
67
67
  specification_version: 4
68
- summary: Chromium/WebKit/Geckoに依存しないHTML→PDFレンダラー
68
+ summary: HTML to PDF renderer that does not depend on Chromium, WebKit, or Gecko
69
69
  test_files: []
Binary file
Binary file