[DRE-commits] [ruby-mini-magick] 04/08: Add 'remove-erroneous-image-test' patch

David Suárez deiv-guest at moszumanska.debian.org
Sun Oct 5 18:35:31 UTC 2014


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

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

commit b366455e0a5a2abbbb1a9db9d0fbcb14566a4e76
Author: David Suárez <david.sephirot at gmail.com>
Date:   Sun Oct 5 20:21:27 2014 +0200

    Add 'remove-erroneous-image-test' patch
---
 debian/patches/remove-erroneous-image-test | 33 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/remove-erroneous-image-test b/debian/patches/remove-erroneous-image-test
new file mode 100644
index 0000000..da35f49
--- /dev/null
+++ b/debian/patches/remove-erroneous-image-test
@@ -0,0 +1,33 @@
+Description: Remove erroneus image test
+ imagemagick identify command, now seems to return a fail status if the image
+ is not correct.
+ 
+Bug-Debian: https://bugs.debian.org/761532
+Author: David Suárez <david.sephirot at gmail.com>
+Last-Update: 2014-10-05
+
+--- 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
+@@ -267,14 +267,14 @@ describe MiniMagick::Image do
+       image.destroy!
+     end
+ 
+-    it 'inspects an erroneus image meta info' do
+-      image = described_class.new(ERRONEOUS_IMAGE_PATH)
+-      expect(image[:width]).to be(10)
+-      expect(image[:height]).to be(10)
+-      expect(image[:dimensions]).to match_array [10, 10]
+-      expect(image[:format]).to eq 'JPEG'
+-      image.destroy!
+-    end
++#     it 'inspects an erroneus image meta info' do
++#       image = described_class.new(ERRONEOUS_IMAGE_PATH)
++#       expect(image[:width]).to be(10)
++#       expect(image[:height]).to be(10)
++#       expect(image[:dimensions]).to match_array [10, 10]
++#       expect(image[:format]).to eq 'JPEG'
++#       image.destroy!
++#     end
+ 
+     it 'inspects meta info from tiff images' do
+       image = described_class.new(TIFF_IMAGE_PATH)
diff --git a/debian/patches/series b/debian/patches/series
index 90f8a73..4326220 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 remove-rubygems
 remove-remote-tests
 remove-unsuported-rspec-features
+remove-erroneous-image-test

-- 
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