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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2408ba406bee12b50306a3237e4ddd7e4bae09e170ea6e767aa870f2ce19ecd6
4
- data.tar.gz: f2aeb2722ae4c14c07aff053a073658d968231e09500c884ab792afde5801042
3
+ metadata.gz: 30c508c631e9a0ee57fe98ff7926d327002417c5afb5b679ea5e9c1179e0ef6c
4
+ data.tar.gz: f1d8da2d0f72c9fa2762432f4215da5d5a2baf0f2ffea842404fcaa97799673c
5
5
  SHA512:
6
- metadata.gz: 63780af867f2b8087bb1faf8c5818fe1b4fa3b3d4d9b527f4709de568e85ddd4ab7fa84d8b9080445c48c8ea3b049296a9ff420763d33a82b3143e4008e64d5f
7
- data.tar.gz: d53bed7411b6b5157e2bcc78b9488d74c6ceead1fef88b0be836c8802a77714f4a0f0d72f355e49a6fa68b089e41a561da44c423807fdbcc5b43cae397f7f757
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.0...HEAD
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/docs/usage/ruby](https://html2img.com/docs/usage/ruby).
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 worked guides and official packages for
457
- [Python](https://github.com/html2img/html2img-python),
458
- [Django](https://github.com/html2img/html2img-django),
459
- [PHP](https://html2img.com/docs/usage/php),
460
- [Laravel](https://html2img.com/docs/usage/laravel),
461
- [Ruby on Rails](https://html2img.com/docs/usage/rails),
462
- [JavaScript and Node.js](https://html2img.com/docs/usage/javascript),
463
- [React](https://html2img.com/docs/usage/react),
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/docs/usage/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)
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
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Configuration for the html2img HTML to Image API.
4
4
  #
5
- # Docs: https://html2img.com/docs/usage/ruby
5
+ # Docs: https://html2img.com/integrations/ruby/
6
6
  # Keys: https://app.html2img.com/register
7
7
 
8
8
  Html2img.configure do |config|
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Html2img
4
4
  # Single source of truth for the gem version.
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.2"
6
6
  end
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.0
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/docs/usage/ruby
46
+ documentation_uri: https://html2img.com/integrations/ruby/
47
47
  rubygems_mfa_required: 'true'
48
48
  rdoc_options: []
49
49
  require_paths: