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: 7492a7a0bc93db9659a5b43b6343e79626cf9491
4
- data.tar.gz: a010a0336bfb5ddd5043c7153334e77685bfaef4
3
+ metadata.gz: 339179683409eb5f1e1708e3adc8f748be66a168
4
+ data.tar.gz: 05d6cb85a113603c0aa1eea10a72087983824be6
5
5
  SHA512:
6
- metadata.gz: 78ef3e9d24348521a2a613b573d679e8b724240bf0c8d7b900fee01f6fd706c93d61920ec001a999974fea2fb8032fd9c19ab111d9148af06d75e961340ddda2
7
- data.tar.gz: 5f62985f80808f005ab874fc8879210af9932f8fc53727b46c973d3c20b4bae500d7dbfa03adab66c99c95159e7ddcaab4c85cab3baaf912f7a5d102150b252e
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, 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
@@ -1,3 +1,3 @@
1
1
  module RailsResponsiveImages
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_responsive_images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Chilian