g1nn13-image_science 1.2.8 → 1.2.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.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,8 @@
1
+ === 1.2.9 / 2010-06-02
2
+
3
+ * fixed a problem in resize_with_crop that sporadically raised an exception
4
+ when no exception had occurred.
5
+
1
6
  === 1.2.8 / 2010-05-27
2
7
 
3
8
  * re-added C code for buffer method. This was lost in the 1.2.6 merge.
@@ -13,7 +13,7 @@ require 'inline'
13
13
  # Based on ImageScience 1.2.1
14
14
 
15
15
  class ImageScience
16
- VERSION = '1.2.8'
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
- - 8
9
- version: 1.2.8
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-05-27 00:00:00 -04:00
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