[DRE-commits] [ruby-mini-magick] 04/10: refresh next patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Nov 29 22:19:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-mini-magick.

commit 41255307f802a14cca38ba957e8ad0f00b6482d3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Nov 30 03:24:25 2014 +0530

    refresh next patch
    
    	modified:   debian/patches/remove-remote-tests
---
 debian/patches/remove-remote-tests | 56 ++++++++++++++++----------------------
 1 file changed, 23 insertions(+), 33 deletions(-)

diff --git a/debian/patches/remove-remote-tests b/debian/patches/remove-remote-tests
index 25b1be6..abe09cd 100644
--- a/debian/patches/remove-remote-tests
+++ b/debian/patches/remove-remote-tests
@@ -5,38 +5,28 @@ Forwarded: no
 Last-Update: 2013-12-19
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- ruby-mini-magick-3.8.1.orig/spec/lib/mini_magick/image_spec.rb
-+++ ruby-mini-magick-3.8.1/spec/lib/mini_magick/image_spec.rb
-@@ -130,19 +130,19 @@ describe MiniMagick::Image do
-       }.to_not raise_error
-     end
+Index: ruby-mini-magick/spec/lib/mini_magick/image_spec.rb
+===================================================================
+--- ruby-mini-magick.orig/spec/lib/mini_magick/image_spec.rb
++++ ruby-mini-magick/spec/lib/mini_magick/image_spec.rb
+@@ -66,13 +66,13 @@ require "stringio"
+           expect(image).to be_valid
+         end
  
--    it 'loads remote image' do
--      image = described_class.open('http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png')
--      expect(image).to be_valid
--      image.destroy!
--    end
--
--    it 'loads remote image with complex url' do
--      image = described_class.open(
--        'http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar'
--      )
--      expect(image).to be_valid
--      image.destroy!
--    end
-+#     it 'loads remote image' do
-+#       image = described_class.open('http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png')
-+#       expect(image).to be_valid
-+#       image.destroy!
-+#     end
-+# 
-+#     it 'loads remote image with complex url' do
-+#       image = described_class.open(
-+#         'http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar'
-+#       )
-+#       expect(image).to be_valid
-+#       image.destroy!
-+#     end
+-        it "loads a remote image" do
+-          begin
+-            image = described_class.open(image_url)
+-            expect(image).to be_valid
+-          rescue SocketError
+-          end
+-        end
++#        it "loads a remote image" do
++#          begin
++#            image = described_class.open(image_url)
++#            expect(image).to be_valid
++#          rescue SocketError
++#          end
++#        end
  
-     it 'reformats an image with a given extension' do
-       expect {
+         it "validates the image" do
+           expect { described_class.open(image_path(:not)) }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mini-magick.git



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