local-fastimage 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/fastimage.rb +2 -1
- data/lib/fastimage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2302e6975dcaf2683a11cab33506ba5ea5ba0a32c8c81c33e3c75ef99553eea4
|
4
|
+
data.tar.gz: 2000d9b19e5421d398bea8ba1006e655b3cdeb32db81d88f8253d2b865285c52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8d4fe6b720fd3338284d56c812272ae6e884d7b38c027217ff0daf98709252a1d402648d9ea4d938b452330150811bfe3ab10e5d6bc85a8cb18e280daa08c5b
|
7
|
+
data.tar.gz: a3f711fe62a0fff78b311eacebc9d66f668684b6d0c29dfb32cb91e1a4197af71275750d994da9c82f13740a8fa5ccae7f4bb188b1a032b007f5898568b8ddff
|
data/CHANGELOG.md
CHANGED
data/lib/fastimage.rb
CHANGED
@@ -372,7 +372,8 @@ class FastImage
|
|
372
372
|
io = StringIO.new(data)
|
373
373
|
if io.read(4) == "Exif"
|
374
374
|
io.read(2)
|
375
|
-
|
375
|
+
new_exif = Exif.new(IOStream.new(io)) rescue nil
|
376
|
+
exif ||= new_exif # only use the first APP1 segment
|
376
377
|
end
|
377
378
|
:started
|
378
379
|
when 0xe0..0xef
|
data/lib/fastimage/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: local-fastimage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Sykes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|