dynamic_image 2.0.14 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/dynamic_image/image_reader.rb +2 -1
- data/lib/dynamic_image/model/validations.rb +1 -0
- data/lib/dynamic_image/processed_image.rb +2 -0
- data/lib/dynamic_image/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a69d22f3315edf77dae92edc7629a19f997ad75acd07f4767b99c9eea45db784
|
|
4
|
+
data.tar.gz: 16cd414f158f77e7b9f94e0c688db074c596234d68199310fca89e1bf7f90f58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c714fa7783288e08ec5cdbeac3a54df4de2042b528b5c447237d97debf454a97b1150cd74f011b603bd42006faaecbb1f582cfd83df6c7cba1d85a7f344d9a2e
|
|
7
|
+
data.tar.gz: 442337018febbed1fd53b2557a47799a218de1b826100e6eb7515c9d41bce963f18e742d01e74cdfc81f0ea84c33eed78eba55b63791dfb7d3ae953431217f33
|
data/README.md
CHANGED
|
@@ -16,7 +16,7 @@ uploaded, DynamicImage stores the original file and generates images
|
|
|
16
16
|
on demand. It handles cropping, resizing, format and colorspace
|
|
17
17
|
conversion.
|
|
18
18
|
|
|
19
|
-
Supported formats at the moment are JPEG, PNG, GIF and TIFF. The
|
|
19
|
+
Supported formats at the moment are JPEG, PNG, GIF, BMP and TIFF. The
|
|
20
20
|
latter will automatically be converted to JPG. CMYK images will be
|
|
21
21
|
converted to RGB, and RGB images will be converted to the sRGB
|
|
22
22
|
colorspace for consistent appearance in all browsers.
|
|
@@ -32,7 +32,8 @@ module DynamicImage
|
|
|
32
32
|
"\x89\x50\x4e\x47\x0d\x0a\x1a\x0a".force_encoding("binary"), # PNG
|
|
33
33
|
"\xff\xd8".force_encoding("binary"), # JPEG
|
|
34
34
|
"\x49\x49\x2a\x00".force_encoding("binary"), # TIFF
|
|
35
|
-
"\x4d\x4d\x00\x2a".force_encoding("binary")
|
|
35
|
+
"\x4d\x4d\x00\x2a".force_encoding("binary"),
|
|
36
|
+
"\x42\x4d".force_encoding("binary") # BMP
|
|
36
37
|
]
|
|
37
38
|
end
|
|
38
39
|
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.
|
|
4
|
+
version: 2.0.15
|
|
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: 2018-
|
|
11
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -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.6
|
|
158
|
+
rubygems_version: 2.7.6
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 4
|
|
161
161
|
summary: Rails plugin that simplifies image uploading and processing
|