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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2408ba406bee12b50306a3237e4ddd7e4bae09e170ea6e767aa870f2ce19ecd6
4
- data.tar.gz: f2aeb2722ae4c14c07aff053a073658d968231e09500c884ab792afde5801042
3
+ metadata.gz: ed2d883315742595595236208062902e3e9a7a184c9e544826a76cda817c369b
4
+ data.tar.gz: 953f2eceeebd093ae4864edd4cdd32022af4ba6f07d04951bca41d5e15b99e59
5
5
  SHA512:
6
- metadata.gz: 63780af867f2b8087bb1faf8c5818fe1b4fa3b3d4d9b527f4709de568e85ddd4ab7fa84d8b9080445c48c8ea3b049296a9ff420763d33a82b3143e4008e64d5f
7
- data.tar.gz: d53bed7411b6b5157e2bcc78b9488d74c6ceead1fef88b0be836c8802a77714f4a0f0d72f355e49a6fa68b089e41a561da44c423807fdbcc5b43cae397f7f757
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.0...HEAD
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/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
 
@@ -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/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).
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/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)
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
 
@@ -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.1"
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.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/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: