Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/mini_magick/files: mini_magick-3.6.0+ruby18.patch
Date: Thu, 30 May 2013 17:42:42
Message-Id: 20130530174234.E92C32171E@flycatcher.gentoo.org
1 flameeyes 13/05/30 17:42:34
2
3 Added: mini_magick-3.6.0+ruby18.patch
4 Log:
5 Version bump, drop ree18.
6
7 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
8
9 Revision Changes Path
10 1.1 dev-ruby/mini_magick/files/mini_magick-3.6.0+ruby18.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mini_magick/files/mini_magick-3.6.0+ruby18.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mini_magick/files/mini_magick-3.6.0+ruby18.patch?rev=1.1&content-type=text/plain
14
15 Index: mini_magick-3.6.0+ruby18.patch
16 ===================================================================
17 From 1cb23fc096e16514acac8ff6befe12beaffb188b Mon Sep 17 00:00:00 2001
18 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@×××××××××.eu>
19 Date: Thu, 30 May 2013 10:27:36 -0700
20 Subject: [PATCH] Don't use assert_true so that tests work on Ruby 1.8 as well.
21 MIME-Version: 1.0
22 Content-Type: text/plain; charset=UTF-8
23 Content-Transfer-Encoding: 8bit
24
25
26 Signed-off-by: Diego Elio Pettenò <flameeyes@×××××××××.eu>
27 ---
28 test/image_test.rb | 4 ++--
29 1 file changed, 2 insertions(+), 2 deletions(-)
30
31 diff --git a/test/image_test.rb b/test/image_test.rb
32 index e6fd1b7..0a62d87 100644
33 --- a/test/image_test.rb
34 +++ b/test/image_test.rb
35 @@ -125,7 +125,7 @@ class ImageTest < Test::Unit::TestCase
36 assert_equal 150, image[:width]
37 assert_equal 55, image[:height]
38 assert_equal [150, 55], image[:dimensions]
39 - assert_true String == image[:colorspace].class
40 + assert String == image[:colorspace].class
41 assert_match(/^gif$/i, image[:format])
42 image.destroy!
43 end
44 @@ -281,7 +281,7 @@ class ImageTest < Test::Unit::TestCase
45 result = image.composite(Image.open(TIFF_IMAGE_PATH)) do |c|
46 c.gravity "center"
47 end
48 - assert_true File.exists?(result.path)
49 + assert File.exists?(result.path)
50 else
51 puts "Need at least version #{MiniMagick.minimum_image_magick_version} of ImageMagick"
52 end
53 --
54 1.8.2.1