mini_magick 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2a979a253bd3d26fe275850919ab3569c69ae6b2817fadf6660bbeaa9ec3e07
4
- data.tar.gz: a1c7c90b81883cdf2c1734906ff07a72bc50c427cf35835f67818d5245e78936
3
+ metadata.gz: b2745570a5fe6e4da7ac8ab1cac8ad6799d6790893d1a1b626835f2e64f81f89
4
+ data.tar.gz: 4a3d182ac394001a77df8f137f48b8f46fd2e85d4bd60d08d5ef04c44949675d
5
5
  SHA512:
6
- metadata.gz: 6cd0afcaab4af7f1f069938fef824290cdf03b5b17920594acc81c2dbb7b1c6828cb88af157e784fd27ba387cd27d2acf0fa8a5e1c3b9a02924ec11d7a4630eb
7
- data.tar.gz: b99d1936faea4689b647d39832de3424dc1bdde6d748c0c9b0d8432dd24b6e89661690f141089d5a0a88315fcd2658a4da8c3ba2736929aeafbb4113cdc43541
6
+ metadata.gz: aaa65a8d47dd6c558d4207d0412f25bcf1ffcc79bcab07be9f6ca973bb175de9d57288a3348aa16bc85606647e499390e291878b12cdfda36ce14609ac5fb75b
7
+ data.tar.gz: '0584062e993c3330236f84a0e91ef88ca36441c92bd81a6f3de35b89feefdc53a04d93613e0e684c847c65875367321f5f8565758b6ade5d5ca6737f45922149'
data/README.md CHANGED
@@ -48,7 +48,7 @@ $ bundle add mini_magick
48
48
 
49
49
  ## Information
50
50
 
51
- * [API documentation](http://rubydoc.info/github/minimagick/minimagick)
51
+ * [API documentation](https://rubydoc.info/gems/mini_magick)
52
52
 
53
53
  ## Usage
54
54
 
@@ -244,7 +244,7 @@ end
244
244
  ```
245
245
 
246
246
  For a more information, see
247
- [Configuration](http://rubydoc.info/github/minimagick/minimagick/MiniMagick/Configuration) API documentation.
247
+ [Configuration](https://rubydoc.info/gems/mini_magick/MiniMagick/Configuration) API documentation.
248
248
 
249
249
  ### Composite
250
250
 
@@ -465,6 +465,13 @@ module MiniMagick
465
465
  end
466
466
  end
467
467
 
468
+ ##
469
+ # Prevents ruby from calling `#to_ary` on the image when checking if it's a
470
+ # splattable data structure in certain cases.
471
+ def respond_to_missing?(name, include_all)
472
+ false
473
+ end
474
+
468
475
  ##
469
476
  # Writes the temporary file out to either a file location (by passing in a
470
477
  # String) or by passing in a Stream that you can #write(chunk) to
@@ -487,8 +494,6 @@ module MiniMagick
487
494
  else
488
495
  IO.copy_stream File.open(path, "rb"), output_to
489
496
  end
490
- ensure
491
- destroy! if tempfile
492
497
  end
493
498
 
494
499
  ##
@@ -21,7 +21,7 @@ module MiniMagick
21
21
  end
22
22
  end
23
23
 
24
- $stderr.print(stderr) if warnings && stderr.strip != %(WARNING: The convert command is deprecated in IMv7, use "magick")
24
+ $stderr.print(stderr) if warnings
25
25
 
26
26
  [stdout, stderr, status]
27
27
  end
@@ -9,7 +9,7 @@ module MiniMagick
9
9
  module VERSION
10
10
  MAJOR = 5
11
11
  MINOR = 0
12
- TINY = 0
12
+ TINY = 1
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
data/lib/mini_magick.rb CHANGED
@@ -22,8 +22,8 @@ module MiniMagick
22
22
  end
23
23
 
24
24
  %w[animate compare composite conjure convert display identify import mogrify montage stream].each do |tool|
25
- name = imagemagick7? && tool == "convert" ? "magick" : tool
26
25
  define_singleton_method(tool) do |**options, &block|
26
+ name = imagemagick7? && tool == "convert" ? "magick" : tool
27
27
  MiniMagick::Tool.new(name, **options, &block)
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_magick
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Johnson
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2024-07-08 00:00:00.000000000 Z
16
+ date: 2024-07-24 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: 3.5.0
38
+ version: '3.5'
39
39
  type: :development
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: 3.5.0
45
+ version: '3.5'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: webmock
48
48
  requirement: !ruby/object:Gem::Requirement