g1nn13-image_science 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +5 -0
- data/lib/image_science.rb +2 -3
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/image_science.rb
CHANGED
@@ -13,7 +13,7 @@ require 'inline'
|
|
13
13
|
# Based on ImageScience 1.2.1
|
14
14
|
|
15
15
|
class ImageScience
|
16
|
-
VERSION = '1.2.
|
16
|
+
VERSION = '1.2.9'
|
17
17
|
|
18
18
|
##
|
19
19
|
# The top-level image loader opens +path+ and then yields the image.
|
@@ -178,9 +178,8 @@ class ImageScience
|
|
178
178
|
result = img1.with_crop(left, top, right, bottom) do |img2|
|
179
179
|
if block_given?
|
180
180
|
yield img2
|
181
|
-
else
|
182
|
-
return img2
|
183
181
|
end
|
182
|
+
img2
|
184
183
|
end
|
185
184
|
|
186
185
|
if result.nil?
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 1.2.
|
8
|
+
- 9
|
9
|
+
version: 1.2.9
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- jim nist
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
UHHftgnvI+YPGw==
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2010-
|
38
|
+
date: 2010-06-02 00:00:00 -04:00
|
39
39
|
default_executable:
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
Binary file
|