thumbkit 0.0.8 → 0.0.9

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.
data/Gemfile.lock CHANGED
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- thumbkit (0.0.7)
13
+ thumbkit (0.0.8)
14
14
 
15
15
  GEM
16
16
  remote: https://rubygems.org/
@@ -40,6 +40,7 @@ class Thumbkit::Processor::Image < Thumbkit::Processor
40
40
 
41
41
  def resize_to_fit
42
42
  image = ::MiniMagick::Image.open(path)
43
+ image.format type
43
44
  image.resize "#{options[:width]}x#{options[:height]}"
44
45
  image.write(outfile)
45
46
  end
@@ -1,3 +1,3 @@
1
1
  class Thumbkit
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thumbkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-16 00:00:00.000000000 Z
12
+ date: 2012-05-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Thumbkit makes thumbnails!
15
15
  email: