vips-thumbnail 1.4.0 → 1.4.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: 519e0b660a6a4eaf5302b228fcf965f1aa92dafe5eef90027545fd4ac81ca946
4
- data.tar.gz: 302b6e7a0f9386322e36476cf9676054b6f121dee424912bb8da17da81f33566
3
+ metadata.gz: 5fcda2da8b14ba9d7765753fcf32a3f8d8f501d0ce1cbee6f6f4dd9b63a598d7
4
+ data.tar.gz: 179cba358e859732159f46b6166c533fddd1c4e0a99843fe88c41b6dc6809c61
5
5
  SHA512:
6
- metadata.gz: d6267ec8a930bfb094b7df70766a2fdad70ac87ba321d48474e1be5c02abcc9f84231b7ddb0473303aad3da1785d5b1a9017565c19af5241ba165740c0e4c3d1
7
- data.tar.gz: a035d50020cd8c837e89f1a326e7062687ed8b1b93f203bfceda6a664ee65c3f43a0bac64517032cd016a0ca277eb797b285b589252878c2a44aeb01b7ede72f
6
+ metadata.gz: af6b20b12bf0de53fe28dd275831f073a897681a56e136def93882c777afe99f18186e8e32957f96db16a89fecbc595102d714c2740ad611ead3cdb8f1a3e651
7
+ data.tar.gz: '085d914937548d72b795939e75d06aa7297321535f9df56596b79297c218907613811ccec625b37720e7352df6e32e20e7f155131e79e8e08f07e4c76c561af4'
@@ -27,7 +27,9 @@ module Vips
27
27
  @input_path = input_path
28
28
 
29
29
  @block = block || lambda do
30
- Vips::Image.new_from_file(@input_path, autorotate: true, **options)
30
+ Vips::Image.new_from_file(@input_path, **options).tap do |image|
31
+ image.autorot if image.respond_to?(:autorot)
32
+ end
31
33
  end
32
34
 
33
35
  @input_image = nil
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Vips
22
22
  module Thumbnail
23
- VERSION = "1.4.0"
23
+ VERSION = "1.4.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vips-thumbnail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-16 00:00:00.000000000 Z
11
+ date: 2018-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vips