ruby-vips 2.2.2 → 2.2.4
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/.github/workflows/test.yml +5 -20
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/vips/image.rb +5 -5
- data/lib/vips/methods.rb +209 -114
- data/lib/vips/operation.rb +1 -1
- data/lib/vips/version.rb +1 -1
- data/lib/vips.rb +6 -6
- metadata +3 -6
data/lib/vips/operation.rb
CHANGED
data/lib/vips/version.rb
CHANGED
data/lib/vips.rb
CHANGED
@@ -810,13 +810,13 @@ module Vips
|
|
810
810
|
end
|
811
811
|
|
812
812
|
if at_least_libvips?(8, 13)
|
813
|
-
attach_function :vips_block_untrusted_set, [:
|
814
|
-
attach_function :vips_operation_block_set,
|
813
|
+
attach_function :vips_block_untrusted_set, [:int], :void
|
814
|
+
attach_function :vips_operation_block_set, [:string, :int], :void
|
815
815
|
|
816
816
|
# Block/unblock all untrusted operations from running.
|
817
817
|
# Use `vips -l` at the command-line to see the class hierarchy and which operations are marked as untrusted.
|
818
|
-
def self.block_untrusted(
|
819
|
-
vips_block_untrusted_set(
|
818
|
+
def self.block_untrusted(state)
|
819
|
+
vips_block_untrusted_set(state ? 1 : 0)
|
820
820
|
end
|
821
821
|
|
822
822
|
# Block/unblock all operations in the libvips class hierarchy at specified *operation_name* and below.
|
@@ -829,8 +829,8 @@ module Vips
|
|
829
829
|
# Use `vips -l` at the command-line to see the class hierarchy.
|
830
830
|
# This call does nothing if the named operation is not found.
|
831
831
|
#
|
832
|
-
def self.block(operation_name,
|
833
|
-
vips_operation_block_set(operation_name,
|
832
|
+
def self.block(operation_name, state)
|
833
|
+
vips_operation_block_set(operation_name, state ? 1 : 0)
|
834
834
|
end
|
835
835
|
end
|
836
836
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-vips
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Cupitt
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-06-05 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: ffi
|
@@ -205,7 +204,6 @@ metadata:
|
|
205
204
|
homepage_uri: http://github.com/libvips/ruby-vips
|
206
205
|
source_code_uri: https://github.com/libvips/ruby-vips
|
207
206
|
msys2_mingw_dependencies: libvips
|
208
|
-
post_install_message:
|
209
207
|
rdoc_options: []
|
210
208
|
require_paths:
|
211
209
|
- lib
|
@@ -220,8 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
218
|
- !ruby/object:Gem::Version
|
221
219
|
version: '0'
|
222
220
|
requirements: []
|
223
|
-
rubygems_version: 3.
|
224
|
-
signing_key:
|
221
|
+
rubygems_version: 3.6.3
|
225
222
|
specification_version: 4
|
226
223
|
summary: A fast image processing library with low memory needs
|
227
224
|
test_files: []
|