html2img-client 1.1.0 → 1.1.1
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 +13 -1
- data/README.md +9 -10
- 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: ed2d883315742595595236208062902e3e9a7a184c9e544826a76cda817c369b
|
|
4
|
+
data.tar.gz: 953f2eceeebd093ae4864edd4cdd32022af4ba6f07d04951bca41d5e15b99e59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d600987f67788924bfa8f02225d469ee14e653455909c7dcc14db949586488c9063d672c29ed4e23b0ce53751b089d3d80c6a0774823a0491776cbd837cf48fc
|
|
7
|
+
data.tar.gz: b3b2bc28bf89c420dfc1e2af91160988b372005d1997e4ec440000f88c239da0a9fc38af66b16fb63c4df09825de4f8f927df0c6a58f6c303005ecd475a347f5
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@ follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and the
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.1.1] - 2026-08-17
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- `documentation_uri` now points at <https://html2img.com/integrations/ruby/>.
|
|
14
|
+
The Ruby guide moved and the old `/docs/usage/ruby` URL 404s, so the
|
|
15
|
+
documentation link on the gem page pointed nowhere. Because gemspec metadata
|
|
16
|
+
is fixed at build time, correcting it needs a release.
|
|
17
|
+
- The same move applied to the guide links in the README and in the generated
|
|
18
|
+
`config/initializers/html2img.rb`.
|
|
19
|
+
|
|
9
20
|
## [1.1.0] - 2026-08-16
|
|
10
21
|
|
|
11
22
|
### Added
|
|
@@ -43,6 +54,7 @@ Initial release of the official Ruby client for the
|
|
|
43
54
|
responding to `#call` can replace it.
|
|
44
55
|
- An `html2img` executable with `test`, `html`, `screenshot` and `template`.
|
|
45
56
|
|
|
46
|
-
[Unreleased]: https://github.com/html2img/html2img-ruby/compare/v1.1.
|
|
57
|
+
[Unreleased]: https://github.com/html2img/html2img-ruby/compare/v1.1.1...HEAD
|
|
58
|
+
[1.1.1]: https://github.com/html2img/html2img-ruby/compare/v1.1.0...v1.1.1
|
|
47
59
|
[1.1.0]: https://github.com/html2img/html2img-ruby/compare/v1.0.0...v1.1.0
|
|
48
60
|
[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
|
|
|
@@ -456,14 +456,13 @@ It prints the resulting image URL and your remaining credits, or a clear error i
|
|
|
456
456
|
The same API has worked guides and official packages for
|
|
457
457
|
[Python](https://github.com/html2img/html2img-python),
|
|
458
458
|
[Django](https://github.com/html2img/html2img-django),
|
|
459
|
-
[PHP](https://html2img.com/
|
|
460
|
-
[Laravel](https://html2img.com/
|
|
461
|
-
[
|
|
462
|
-
[
|
|
463
|
-
[
|
|
464
|
-
[
|
|
465
|
-
[
|
|
466
|
-
[Statamic](https://html2img.com/docs/usage/statamic).
|
|
459
|
+
[PHP](https://html2img.com/integrations/php/),
|
|
460
|
+
[Laravel](https://html2img.com/integrations/laravel/),
|
|
461
|
+
[JavaScript and Node.js](https://html2img.com/integrations/javascript/),
|
|
462
|
+
[React](https://html2img.com/integrations/javascript/#react-and-nextjs),
|
|
463
|
+
[Vue](https://html2img.com/integrations/javascript/#vue-and-nuxt),
|
|
464
|
+
[WordPress](https://html2img.com/integrations/wordpress/) and
|
|
465
|
+
[Statamic](https://html2img.com/integrations/statamic/).
|
|
467
466
|
|
|
468
467
|
## Development
|
|
469
468
|
|
|
@@ -479,7 +478,7 @@ Publishing to RubyGems is covered in [PUBLISHING.md](PUBLISHING.md).
|
|
|
479
478
|
|
|
480
479
|
## Links
|
|
481
480
|
|
|
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/
|
|
481
|
+
[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
482
|
|
|
484
483
|
## Licence
|
|
485
484
|
|
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.1
|
|
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:
|