[DRE-commits] [SCM] ruby-mini-magick.git branch, master, updated. debian/3.5.0-1-3-g8d8c17a

markus tornow tornow at riseup.net
Thu May 9 18:08:40 UTC 2013


The following commit has been merged in the master branch:
commit 80a9916fe0e4b34a708c25ff106aedf09129f369
Author: markus tornow <tornow at riseup.net>
Date:   Thu May 9 17:49:39 2013 +0200

    implementing patch supplied by bug  #706517, Felix Geyer

diff --git a/debian/patches/remove-remote-tests b/debian/patches/remove-remote-tests
new file mode 100644
index 0000000..01c49e6
--- /dev/null
+++ b/debian/patches/remove-remote-tests
@@ -0,0 +1,24 @@
+Description: Remove tests that require internet connectivity.
+Author: Felix Geyer <fgeyer at debian.org>
+
+--- ruby-mini-magick-3.5.0.orig/test/image_test.rb
++++ ruby-mini-magick-3.5.0/test/image_test.rb
+@@ -55,18 +55,6 @@ class ImageTest < Test::Unit::TestCase
+     image.destroy!
+   end
+ 
+-  def test_remote_image
+-    image = Image.open("http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png")
+-    assert image.valid?
+-    image.destroy!
+-  end
+-
+-  def test_remote_image_with_complex_url
+-    image = Image.open("http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar")
+-    assert image.valid?
+-    image.destroy!
+-  end
+-
+   def test_reformat_with_capitalized_extension
+     image = Image.open(CAP_EXT_PATH)
+     image.format "jpg"
diff --git a/debian/patches/series b/debian/patches/series
index 37f5970..3b01512 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+remove-remote-tests
 remove-function-valid_version_installed
 remove-require-rubygems-from-test_helper

-- 
ruby-mini-magick.git



More information about the Pkg-ruby-extras-commits mailing list