dynamic_image 2.0.7 → 2.0.8
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 -7
- data/lib/dynamic_image/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd3271903a1c846da8d401fe1e178e706d9c1fcf
|
4
|
+
data.tar.gz: e7cbe25a7f9e6ff72a2478a02182079d1c2348b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64eac1a3262d70805f0d14fd19073a6aa920aff18d300e271c48c7dbbd8efff977289b03e704857455cf32ea1bf4b13401302f5e5a074e0168e3a254e5ffbc2
|
7
|
+
data.tar.gz: a1984564705dce8084d054752456a22ac026c713b04813d79a311b8d4104eabf0c51a353b149d6e9990c60307ca3072bbbcdde943af96790f165ac91101cf2b4
|
@@ -37,13 +37,7 @@ module DynamicImage
|
|
37
37
|
|
38
38
|
def jpeg_magic_bytes
|
39
39
|
[
|
40
|
-
"\xff\xd8
|
41
|
-
"\xff\xd8\xff\xe2".force_encoding("binary"),
|
42
|
-
Regexp.new("\xff\xd8\xff\xe0(.*){2}JFIF".force_encoding("binary"),
|
43
|
-
Regexp::MULTILINE),
|
44
|
-
Regexp.new("\xff\xd8\xff\xe1(.*){2}Exif".force_encoding("binary"),
|
45
|
-
Regexp::MULTILINE),
|
46
|
-
"\xff\xd8\xff\xee\x00\x0e".force_encoding("binary") # Adobe JPEG
|
40
|
+
"\xff\xd8".force_encoding("binary")
|
47
41
|
]
|
48
42
|
end
|
49
43
|
|
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.8
|
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: 2017-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 4.
|
59
|
+
version: 4.6.0
|
60
60
|
type: :runtime
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 4.
|
66
|
+
version: 4.6.0
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: dis
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.5.1
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Rails plugin that simplifies image uploading and processing
|