mini_magick 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mini_magick might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/History.txt +5 -4
  2. data/lib/mini_magick.rb +2 -7
  3. metadata +1 -1
data/History.txt CHANGED
@@ -1,5 +1,6 @@
1
- == 1.0.0 / 2007-06-01
2
-
3
- * 1 major enhancement
4
- * Birthday!
1
+ == 1.2.2 / 2007-06-01
5
2
 
3
+ # 1.) all image commands return the image object (The output of the last command is saved in @output)
4
+ # 2.) identify doesn't trip over strangley named files
5
+ # 3.) TempFile uses file extention now (Thanks http://marsorange.com/archives/of-mogrify-ruby-tempfile-dynamic-class-definitions)
6
+ # 4.) identify commands escape output path correctly
data/lib/mini_magick.rb CHANGED
@@ -1,8 +1,3 @@
1
- # Changes
2
- # 1.) all image commands return the image object (The output of the last command is saved in output)
3
- # 2.) identify doesn't trip over strangly named files
4
- # 3.) TempFile uses file extention now (Thanks http://marsorange.com/archives/of-mogrify-ruby-tempfile-dynamic-class-definitions)
5
-
6
1
  require "open-uri"
7
2
  require "stringio"
8
3
  require "fileutils"
@@ -12,7 +7,7 @@ require File.join(File.dirname(__FILE__), '/image_temp_file')
12
7
  module MiniMagick
13
8
  class MiniMagickError < RuntimeError; end
14
9
 
15
- VERSION = '1.2.1'
10
+ VERSION = '1.2.2'
16
11
 
17
12
  class Image
18
13
  attr :path
@@ -80,7 +75,7 @@ module MiniMagick
80
75
  # Writes the temporary image that we are using for processing to the output path
81
76
  def write(output_path)
82
77
  FileUtils.copy_file @path, output_path
83
- run_command "identify #{output_path}" # Verify that we have a good image
78
+ run_command "identify", output_path # Verify that we have a good image
84
79
  end
85
80
 
86
81
  # Give you raw data back
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0.1
3
3
  specification_version: 1
4
4
  name: mini_magick
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.1
6
+ version: 1.2.2
7
7
  date: 2007-06-01 00:00:00 -04:00
8
8
  summary: A simple image manipulation library based on ImageMagick.
9
9
  require_paths: