dynamic_image 2.0.5 → 2.0.6

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
  SHA1:
3
- metadata.gz: 1a2e252d378bfd92a558e429e9519f610c04305a
4
- data.tar.gz: 38099031934045185076f87e89a45cb20e427618
3
+ metadata.gz: a3a9597cb144c71c74b3fc1eaa38463693810813
4
+ data.tar.gz: e17af5e280cf6e254cb2c986666ca46601cbfd91
5
5
  SHA512:
6
- metadata.gz: db27f9df8931a5520017bc20fe7dde9a517dae34dc88796331ebbf00913bef71a239a467f17dff2a2bd97abbe9a39222f75be8e264fed894500439bd6f371f06
7
- data.tar.gz: c5a142c1573020984707c9e0b0b04b7e6246e8c5e41864b6fa3bc9bf3f50ff2108cade9cdd935ea85733edf03affa038d138b1afe308fba1dd1f67d56c7e19a8
6
+ metadata.gz: e01e570c5b0876f69e9d0741f0720ce151d26e2c3036964ab7d32234e542893093b8c9e2015ea8d00608e61b64e5fddf1d0e07f32bd045a171781464863fd18c
7
+ data.tar.gz: 39cf3af7b77ea8cb814156847c2752e449a25b8554411b60d6528eb9070c584d699db6f82e5576200796e7ff2af310f0836967471c7bd1280b7910e09e9f1656
@@ -38,8 +38,10 @@ module DynamicImage
38
38
  def jpeg_magic_bytes
39
39
  [
40
40
  "\xff\xd8\xff\xdb".force_encoding("binary"),
41
- Regexp.new("\xff\xd8\xff\xe0(.*){2}JFIF".force_encoding("binary")),
42
- Regexp.new("\xff\xd8\xff\xe1(.*){2}Exif".force_encoding("binary")),
41
+ Regexp.new("\xff\xd8\xff\xe0(.*){2}JFIF".force_encoding("binary"),
42
+ Regexp::MULTILINE),
43
+ Regexp.new("\xff\xd8\xff\xe1(.*){2}Exif".force_encoding("binary"),
44
+ Regexp::MULTILINE),
43
45
  "\xff\xd8\xff\xee\x00\x0e".force_encoding("binary") # Adobe JPEG
44
46
  ]
45
47
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module DynamicImage
4
- VERSION = "2.0.5".freeze
4
+ VERSION = "2.0.6".freeze
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: 2.0.5
4
+ version: 2.0.6
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: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2016-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails