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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ac9beef7f90d3ae7a1b271b93cbac96f25fd0d4
4
- data.tar.gz: ca18d863880f4207173203a791b35559d39fac6d
3
+ metadata.gz: bd3271903a1c846da8d401fe1e178e706d9c1fcf
4
+ data.tar.gz: e7cbe25a7f9e6ff72a2478a02182079d1c2348b4
5
5
  SHA512:
6
- metadata.gz: ad9343f4e7e6bc237cc756cc4e94991a56fe2574d4dc5945f06f1538e53874ae8fd28180e711b280e4e505c8db4e7b5a1c71608ea950db5cb93d9a9dfdf02f98
7
- data.tar.gz: 4519320eb5dbf7d2979780cc1e566891bc4c8d52551879d0ce03d782b496b031eeb37999edbdfd82eb0a798e989f70ffad31c0c0add062b3e59a3f0d835fb7c7
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\xff\xdb".force_encoding("binary"),
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module DynamicImage
4
- VERSION = "2.0.7".freeze
4
+ VERSION = "2.0.8".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.7
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-01-03 00:00:00.000000000 Z
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.5.1
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.5.1
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.4.5
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