local-fastimage 3.1.2 → 3.1.3
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 +6 -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: 305fc175fcfb3f85533e6fcbabbd5a30dcf14be3f86abeb116fef35cf9aecd5a
|
4
|
+
data.tar.gz: 905bd8afb6ef63f32e9a20e3cbae9a6d7edb60ddc2f6306a2438847728d2f0a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2d6599f0373fcb2fa2d2addb561b5a15029265915deeb930cb24636995e2736adbe13325e732518d2af5a5d6baf41dd8ff69fe6368f86fbc6bd6332064d98c3
|
7
|
+
data.tar.gz: 7a59890f23f9355972ec30ba71157139a1ff07e01694965325d8f2b5922e25dc1b40f2e273432f5569344ca50f71ebb00e059ad21e718cb840a1ddd694c2c129
|
data/CHANGELOG.md
CHANGED
data/lib/fastimage.rb
CHANGED
@@ -315,7 +315,12 @@ class FastImage
|
|
315
315
|
when 0x89.chr + "P"
|
316
316
|
:png
|
317
317
|
when "II", "MM"
|
318
|
-
|
318
|
+
case @stream.peek(11)[8..10]
|
319
|
+
when "APC", "CR\002"
|
320
|
+
nil # do not recognise CRW or CR2 as tiff
|
321
|
+
else
|
322
|
+
:tiff
|
323
|
+
end
|
319
324
|
when '8B'
|
320
325
|
:psd
|
321
326
|
when "\0\0"
|
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.3
|
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-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|