html2img-client 1.1.0 → 1.1.2
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 +23 -1
- data/README.md +10 -13
- data/lib/generators/html2img/install/templates/html2img.rb +1 -1
- data/lib/html2img/version.rb +1 -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: 30c508c631e9a0ee57fe98ff7926d327002417c5afb5b679ea5e9c1179e0ef6c
|
|
4
|
+
data.tar.gz: f1d8da2d0f72c9fa2762432f4215da5d5a2baf0f2ffea842404fcaa97799673c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b72a6425e7903ea17cf44bf6b00b0a64a6f61d473ced672c0d883bf7be9312f730abb3e7be7bbe804321aceef3d5b9be05f3cb1d51990494ea213f9f9011c2a8
|
|
7
|
+
data.tar.gz: 9a237e4d099fa2c9ee10219c6439ce16092a66393b1ed35f3d34db58a6b5b85843d439a496534498e9258c08fb598a364824e7b77caf3f1f899f6326b15daecc
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,26 @@ follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and the
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.1.2] - 2026-09-23
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- README: the "Other languages and frameworks" section now lists every
|
|
14
|
+
official package (SDKs, framework integrations, CMS plugins, the GitHub
|
|
15
|
+
Action and the MCP server). Documentation only; the code is identical to
|
|
16
|
+
1.1.1.
|
|
17
|
+
|
|
18
|
+
## [1.1.1] - 2026-08-17
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- `documentation_uri` now points at <https://html2img.com/integrations/ruby/>.
|
|
23
|
+
The Ruby guide moved and the old `/docs/usage/ruby` URL 404s, so the
|
|
24
|
+
documentation link on the gem page pointed nowhere. Because gemspec metadata
|
|
25
|
+
is fixed at build time, correcting it needs a release.
|
|
26
|
+
- The same move applied to the guide links in the README and in the generated
|
|
27
|
+
`config/initializers/html2img.rb`.
|
|
28
|
+
|
|
9
29
|
## [1.1.0] - 2026-08-16
|
|
10
30
|
|
|
11
31
|
### Added
|
|
@@ -43,6 +63,8 @@ Initial release of the official Ruby client for the
|
|
|
43
63
|
responding to `#call` can replace it.
|
|
44
64
|
- An `html2img` executable with `test`, `html`, `screenshot` and `template`.
|
|
45
65
|
|
|
46
|
-
[Unreleased]: https://github.com/html2img/html2img-ruby/compare/v1.1.
|
|
66
|
+
[Unreleased]: https://github.com/html2img/html2img-ruby/compare/v1.1.2...HEAD
|
|
67
|
+
[1.1.2]: https://github.com/html2img/html2img-ruby/compare/v1.1.1...v1.1.2
|
|
68
|
+
[1.1.1]: https://github.com/html2img/html2img-ruby/compare/v1.1.0...v1.1.1
|
|
47
69
|
[1.1.0]: https://github.com/html2img/html2img-ruby/compare/v1.0.0...v1.1.0
|
|
48
70
|
[1.0.0]: https://github.com/html2img/html2img-ruby/releases/tag/v1.0.0
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
The official Ruby client for the [HTML to Image API](https://html2img.com) at html2img.com. Turn HTML and CSS into images, capture screenshots of live URLs, render named templates, and export A4 PDFs, all returning a typed response object.
|
|
11
11
|
|
|
12
|
-
Every render runs in real Chrome, so flexbox, grid, custom properties, web fonts and inline JavaScript behave exactly as they do in the browser. The gem has **zero runtime dependencies** — it is built on Net::HTTP from the standard library — and works anywhere Ruby does: Rails and Sinatra apps, Sidekiq and Active Job workers, rake tasks and one-off scripts. The full API reference lives in the [documentation](https://html2img.com/docs), with a Ruby guide at [html2img.com/
|
|
12
|
+
Every render runs in real Chrome, so flexbox, grid, custom properties, web fonts and inline JavaScript behave exactly as they do in the browser. The gem has **zero runtime dependencies** — it is built on Net::HTTP from the standard library — and works anywhere Ruby does: Rails and Sinatra apps, Sidekiq and Active Job workers, rake tasks and one-off scripts. The full API reference lives in the [documentation](https://html2img.com/docs), with a Ruby guide at [html2img.com/integrations/ruby](https://html2img.com/integrations/ruby/).
|
|
13
13
|
|
|
14
14
|
Three things this gem does, each with its own worked guide:
|
|
15
15
|
|
|
@@ -453,17 +453,14 @@ It prints the resulting image URL and your remaining credits, or a clear error i
|
|
|
453
453
|
|
|
454
454
|
## Other languages and frameworks
|
|
455
455
|
|
|
456
|
-
The same API has
|
|
457
|
-
|
|
458
|
-
[
|
|
459
|
-
[
|
|
460
|
-
[
|
|
461
|
-
[
|
|
462
|
-
|
|
463
|
-
[React](https://html2img.com/
|
|
464
|
-
[Vue](https://html2img.com/docs/usage/vue),
|
|
465
|
-
[WordPress](https://html2img.com/docs/usage/wordpress) and
|
|
466
|
-
[Statamic](https://html2img.com/docs/usage/statamic).
|
|
456
|
+
The same API has official packages for other languages and platforms, all available now:
|
|
457
|
+
|
|
458
|
+
- **SDKs:** [PHP](https://github.com/html2img/html2img-php) · [JavaScript and TypeScript](https://github.com/html2img/html2img-js) · [Python](https://github.com/html2img/html2img-python)
|
|
459
|
+
- **Frameworks:** [Laravel](https://github.com/html2img/html2img-laravel) · [Django](https://github.com/html2img/html2img-django)
|
|
460
|
+
- **CMS plugins:** [WordPress](https://wordpress.org/plugins/html2img/) · [Statamic](https://github.com/html2img/statamic-og-images) · [Craft CMS](https://plugins.craftcms.com/og-images)
|
|
461
|
+
- **Automation and AI:** [GitHub Action](https://github.com/marketplace/actions/html-to-image) · [MCP server](https://html2img.com/mcp/) (paid plans)
|
|
462
|
+
|
|
463
|
+
There are also worked guides for [React](https://html2img.com/integrations/javascript/#react-and-nextjs) and [Vue](https://html2img.com/integrations/javascript/#vue-and-nuxt), and anything that can make an HTTP request works with the API. Every integration is listed on the [integrations hub](https://html2img.com/integrations/).
|
|
467
464
|
|
|
468
465
|
## Development
|
|
469
466
|
|
|
@@ -479,7 +476,7 @@ Publishing to RubyGems is covered in [PUBLISHING.md](PUBLISHING.md).
|
|
|
479
476
|
|
|
480
477
|
## Links
|
|
481
478
|
|
|
482
|
-
[HTML to Image API](https://html2img.com) · [Screenshot API](https://html2img.com/screenshot-api/) · [HTML to PDF API](https://html2img.com/html-to-pdf/) · [Documentation](https://html2img.com/docs) · [Ruby guide](https://html2img.com/
|
|
479
|
+
[HTML to Image API](https://html2img.com) · [Screenshot API](https://html2img.com/screenshot-api/) · [HTML to PDF API](https://html2img.com/html-to-pdf/) · [Documentation](https://html2img.com/docs) · [Ruby guide](https://html2img.com/integrations/ruby/) · [Templates](https://html2img.com/templates) · [Tools](https://html2img.com/tools) · [Features](https://html2img.com/features) · [Comparisons](https://html2img.com/compare) · [Articles](https://html2img.com/articles) · [Pricing](https://html2img.com/pricing)
|
|
483
480
|
|
|
484
481
|
## Licence
|
|
485
482
|
|
data/lib/html2img/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html2img-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- html2img
|
|
@@ -43,7 +43,7 @@ metadata:
|
|
|
43
43
|
source_code_uri: https://github.com/html2img/html2img-ruby
|
|
44
44
|
changelog_uri: https://github.com/html2img/html2img-ruby/blob/main/CHANGELOG.md
|
|
45
45
|
bug_tracker_uri: https://github.com/html2img/html2img-ruby/issues
|
|
46
|
-
documentation_uri: https://html2img.com/
|
|
46
|
+
documentation_uri: https://html2img.com/integrations/ruby/
|
|
47
47
|
rubygems_mfa_required: 'true'
|
|
48
48
|
rdoc_options: []
|
|
49
49
|
require_paths:
|