imagesize 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/image_size.rb +2 -2
- data/lib/image_size/version.rb +1 -1
- metadata +2 -2
data/lib/image_size.rb
CHANGED
@@ -39,9 +39,9 @@ class ImageSize
|
|
39
39
|
# argument 2 is type(ImageSize::Type::GIF and so on.) or nil
|
40
40
|
def initialize(img_data, img_type = nil)
|
41
41
|
@img_data = img_data.dup
|
42
|
-
@
|
42
|
+
@img_width = nil
|
43
43
|
@img_height = nil
|
44
|
-
@img_type
|
44
|
+
@img_type = nil
|
45
45
|
|
46
46
|
if @img_data.is_a?(IO)
|
47
47
|
img_top = @img_data.read(1024)
|
data/lib/image_size/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: imagesize
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.1.1
|
7
|
+
date: 2007-05-16 00:00:00 +09:00
|
8
8
|
summary: measure image size(GIF, PNG, JPEG ,,, etc)
|
9
9
|
require_paths:
|
10
10
|
- lib
|