summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-26 18:24:40 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-10-31 13:00:11 +0100
commite848d70e6c115886ee4103285dbf3ab19d2d0d92 (patch)
treea7fb781e84f5d79f0b30097f7b5910b534c3e316 /dev-ruby/simple-rss
parentdev-ruby/right_http_connection: remove unused patch. (diff)
downloadgentoo-e848d70e6c115886ee4103285dbf3ab19d2d0d92.tar.gz
gentoo-e848d70e6c115886ee4103285dbf3ab19d2d0d92.tar.bz2
gentoo-e848d70e6c115886ee4103285dbf3ab19d2d0d92.zip
dev-ruby/simple-rss: remove unused patch.
Closes: https://github.com/gentoo/gentoo/pull/2417 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-ruby/simple-rss')
-rw-r--r--dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch b/dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch
deleted file mode 100644
index 9b06898d0209..000000000000
--- a/dev-ruby/simple-rss/files/simple-rss-1.2.3-no-media-rss.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Remove tests depending on media_rss.xml, because it is not shipped in
-the gem and the upstream VCS is not available.
-
-http://rubyforge.org/tracker/index.php?func=detail&aid=28359&group_id=893&atid=3517
-
---- test/base/base_test.rb.orig 2010-07-08 21:16:48.625863508 +0200
-+++ test/base/base_test.rb 2010-07-08 21:17:06.038612667 +0200
-@@ -3,7 +3,6 @@
- def setup
- @rss09 = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/rss09.rdf')
- @rss20 = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/rss20.xml')
-- @media_rss = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/media_rss.xml')
- @atom = SimpleRSS.parse open(File.dirname(__FILE__) + '/../data/atom.xml')
- end
-
-@@ -29,26 +28,6 @@
- assert_equal Time.parse("Fri Sep 09 02:52:31 PDT 2005"), @rss09.channel.dc_date
- end
-
-- def test_media_rss
-- assert_equal 20, @media_rss.items.size
-- assert_equal "Uploads from herval", @media_rss.title
-- assert_equal "http://www.flickr.com/photos/herval/", @media_rss.channel.link
-- assert_equal "http://www.flickr.com/photos/herval/4671960608/", @media_rss.items.first.link
-- assert_equal "http://www.flickr.com/photos/herval/4671960608/", @media_rss.items.first[:link]
-- assert_equal "http://farm5.static.flickr.com/4040/4671960608_10cb945d5c_o.jpg", @media_rss.items.first.media_content_url
-- assert_equal "image/jpeg", @media_rss.items.first.media_content_type
-- assert_equal "3168", @media_rss.items.first.media_content_height
-- assert_equal "4752", @media_rss.items.first.media_content_width
-- assert_equal "Woof?", @media_rss.items.first.media_title
-- assert_equal "http://farm5.static.flickr.com/4040/4671960608_954d2297bc_s.jpg", @media_rss.items.first.media_thumbnail_url
-- assert_equal "75", @media_rss.items.first.media_thumbnail_height
-- assert_equal "75", @media_rss.items.first.media_thumbnail_width
-- assert_equal "herval", @media_rss.items.first.media_credit
-- assert_equal "photographer", @media_rss.items.first.media_credit_role
-- assert_equal "pets frodo", @media_rss.items.first.media_category
-- assert_equal "urn:flickr:tags", @media_rss.items.first.media_category_scheme
-- end
--
- def test_rss20
- assert_equal 10, @rss20.items.size
- assert_equal "Technoblog", @rss20.title
-@@ -69,4 +48,4 @@
- def test_bad_feed
- assert_raise(SimpleRSSError) { SimpleRSS.parse(open(File.dirname(__FILE__) + '/../data/not-rss.xml')) }
- end
--end
-\ No newline at end of file
-+end