rails_responsive_images 0.1.5 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 339179683409eb5f1e1708e3adc8f748be66a168
|
4
|
+
data.tar.gz: 05d6cb85a113603c0aa1eea10a72087983824be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29b68da48b2067bf295c2e2585dd3f98e3ffc90a029fc222ad6ccd8fedf7117f28ac06515482f99da8057e9f2cadaed42289d915b7e4b59442e880d015984533
|
7
|
+
data.tar.gz: 800fa0f4c2053c743701340167650f76078c07ef0d60c8d2a582d09841acad4b829deda0906f2c46cfc208601859ba00be448127d5b9fc4a793d5e497f5ecf9b
|
@@ -13,8 +13,9 @@ module RailsResponsiveImages
|
|
13
13
|
|
14
14
|
def generate_responsive_image!(original_image, size, output_path)
|
15
15
|
img = ::Magick::Image.read(original_image).first
|
16
|
-
img = img.resize_to_fit(size
|
16
|
+
img = img.resize_to_fit(size)
|
17
17
|
img.write(output_path)
|
18
|
+
img.destroy!
|
18
19
|
end
|
19
20
|
end
|
20
21
|
end
|