public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/simple-rss/files/
@ 2016-10-31 12:09 Patrice Clement
  0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2016-10-31 12:09 UTC (permalink / raw
  To: gentoo-commits

commit:     e848d70e6c115886ee4103285dbf3ab19d2d0d92
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 16:24:40 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 12:00:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e848d70e

dev-ruby/simple-rss: remove unused patch.

Closes: https://github.com/gentoo/gentoo/pull/2417

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../files/simple-rss-1.2.3-no-media-rss.patch      | 49 ----------------------
 1 file changed, 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 9b06898..00000000
--- 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-31 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 12:09 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/simple-rss/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox