dynamic_image 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynamic_image/image_reader.rb +1 -0
- data/lib/dynamic_image/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ac9beef7f90d3ae7a1b271b93cbac96f25fd0d4
|
4
|
+
data.tar.gz: ca18d863880f4207173203a791b35559d39fac6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9343f4e7e6bc237cc756cc4e94991a56fe2574d4dc5945f06f1538e53874ae8fd28180e711b280e4e505c8db4e7b5a1c71608ea950db5cb93d9a9dfdf02f98
|
7
|
+
data.tar.gz: 4519320eb5dbf7d2979780cc1e566891bc4c8d52551879d0ce03d782b496b031eeb37999edbdfd82eb0a798e989f70ffad31c0c0add062b3e59a3f0d835fb7c7
|
@@ -38,6 +38,7 @@ module DynamicImage
|
|
38
38
|
def jpeg_magic_bytes
|
39
39
|
[
|
40
40
|
"\xff\xd8\xff\xdb".force_encoding("binary"),
|
41
|
+
"\xff\xd8\xff\xe2".force_encoding("binary"),
|
41
42
|
Regexp.new("\xff\xd8\xff\xe0(.*){2}JFIF".force_encoding("binary"),
|
42
43
|
Regexp::MULTILINE),
|
43
44
|
Regexp.new("\xff\xd8\xff\xe1(.*){2}Exif".force_encoding("binary"),
|
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: 2.0.
|
4
|
+
version: 2.0.7
|
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:
|
11
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|