From dffc1010c30eec242e169382a7b70f19f47833a9 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Wed, 20 Aug 2025 14:24:05 +0200 Subject: [PATCH] Update outdated links --- CHANGELOG.md | 4 ++-- README.md | 4 ++-- lib/vips.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7fe0ce..2579a8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,8 +22,8 @@ ## Version 2.2.1 (2024-02-21) -* add `Vips.block_untrusted` method to block all untrusted operations. Only for libvips >= 8.13. [Docs](https://www.libvips.org/API/current/libvips-vips.html#vips-block-untrusted-set). [#382](https://github.com/libvips/ruby-vips/pull/382) [aglushkov](https://github.com/aglushkov) -* add `Vips.block` method to block specific operation. Only for libvips >= 8.13. [Docs](https://www.libvips.org/API/current/VipsOperation.html#vips-operation-block-set). [#382](https://github.com/libvips/ruby-vips/pull/382) [aglushkov](https://github.com/aglushkov) +* add `Vips.block_untrusted` method to block all untrusted operations. Only for libvips >= 8.13. [Docs](https://www.libvips.org/API/current/func.block_untrusted_set.html). [#382](https://github.com/libvips/ruby-vips/pull/382) [aglushkov](https://github.com/aglushkov) +* add `Vips.block` method to block specific operation. Only for libvips >= 8.13. [Docs](https://www.libvips.org/API/current/type_func.Operation.block_set.html). [#382](https://github.com/libvips/ruby-vips/pull/382) [aglushkov](https://github.com/aglushkov) * `new_from_source` keeps a ref to the source object [taylorthurlow] * some fixes to object references system diff --git a/README.md b/README.md index 068a953..1e9f4c2 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ im = Vips::Image.new_from_file filename # put im at position (100, 100) in a 3000 x 3000 pixel image, # make the other pixels in the image by mirroring im up / down / # left / right, see -# https://libvips.github.io/libvips/API/current/libvips-conversion.html#vips-embed +# https://www.libvips.org/API/current/method.Image.embed.html im = im.embed 100, 100, 3000, 3000, extend: :mirror # multiply the green (middle) band by 2, leave the other two alone @@ -80,7 +80,7 @@ should always work. See the `Vips` section in the docs for a [tutorial introduction with examples](https://www.rubydoc.info/gems/ruby-vips/Vips). -The [libvips reference manual](https://libvips.github.io/libvips/API/current/) +The [libvips reference manual](https://www.libvips.org/API/current/) has a complete explanation of every method. The [`example/`](https://github.com/libvips/ruby-vips/tree/master/example) diff --git a/lib/vips.rb b/lib/vips.rb index 06447ac..441e280 100644 --- a/lib/vips.rb +++ b/lib/vips.rb @@ -443,7 +443,7 @@ module GObject # It examines libvips and writes a summary of each operation and the arguments # and options that that operation expects. # -# Use the [C API # docs](https://libvips.github.io/libvips/API/current) +# Use the [C API docs](https://www.libvips.org/API/current/) # for more detail. # # # Enums