dynamic_image 3.0.0 → 3.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: d9d7c5e9f872a132439d46c725089651caee0b684a52b425c2e572026e733bd0
4
- data.tar.gz: 787251fd6c8d096cb1a918bf8667b482d92a59aec19dd3b8420a2e22b3dcce69
3
+ metadata.gz: 54a38cb5cf9c2a33ac95554bfed28331edeb0a5eefdf3fcaedeca0d24f277dc3
4
+ data.tar.gz: fde8b74767223348ba07437f017cebee8f75aa1e9e4f7c1093c5aecd13c3dbe7
5
5
  SHA512:
6
- metadata.gz: 442830ff44a5ea152920a483985dd0b737599ef9c68a07da4f677eb1de366ce3cb6a55acf4a9de2a59441b14c901d45ec3d8e71b846169895ca8913fae2b04ed
7
- data.tar.gz: '079bd5660c3109a67ae5ad616fd0ddbd6c1102ecee17e9a9ca1d57a555d21cc64bc8e30228be4edd12a64e7cba69d8d0739f58e275396c53d7d6351cf8c00bb3'
6
+ metadata.gz: 1cc69dbf8518edf8a6050684a4431baddd0bc6b16248ea6bd0d88a4fa6dd5c80537364aa243162e7c82a332095ac07dba6d044546e04fbebb1a15bc83f605b0d
7
+ data.tar.gz: f68f63c569e6bc8d27b76079c05faa16805bbac75a37224eadf1f9073fc03578a01643cbc4ffa74f91a187d6fab670ea7654a6f2b3c2b87acc72b3f2d83a3512
@@ -61,9 +61,7 @@ module DynamicImage
61
61
  end
62
62
 
63
63
  def read_image
64
- image = reader.read
65
- image.autorot if image.respond_to?(:autorot)
66
- yield image
64
+ yield reader.read.autorot
67
65
  end
68
66
 
69
67
  def reader
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamicImage
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_image
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inge Jørgensen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-10 00:00:00.000000000 Z
11
+ date: 2021-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dis