diff feed2imap-rubygem-compatibility.patch @ 3:51f7ba1cdf7c default tip

Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Wed, 30 Apr 2014 10:37:12 +0200
parents f17c85a9fb8b
children
line wrap: on
line diff
--- a/feed2imap-rubygem-compatibility.patch	Mon Apr 28 17:34:11 2014 +0200
+++ b/feed2imap-rubygem-compatibility.patch	Wed Apr 30 10:37:12 2014 +0200
@@ -1,19 +1,19 @@
-Index: feed2imap-feed2imap_1.2.2/lib/feed2imap/feed2imap.rb
+Index: feed2imap/lib/feed2imap/feed2imap.rb
 ===================================================================
---- feed2imap-feed2imap_1.2.2.orig/lib/feed2imap/feed2imap.rb
-+++ feed2imap-feed2imap_1.2.2/lib/feed2imap/feed2imap.rb
+--- feed2imap.orig/lib/feed2imap/feed2imap.rb
++++ feed2imap/lib/feed2imap/feed2imap.rb
 @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite
- F2I_VERSION = '1.2.1'
+ F2I_VERSION = '1.0'
  F2I_WARNFETCHTIME = 10
  
 +require 'rubygems'
  require 'feed2imap/config'
  require 'feed2imap/cache'
  require 'feed2imap/httpfetcher'
-Index: feed2imap-feed2imap_1.2.2/lib/feed2imap/itemtomail.rb
+Index: feed2imap/lib/feed2imap/itemtomail.rb
 ===================================================================
---- feed2imap-feed2imap_1.2.2.orig/lib/feed2imap/itemtomail.rb
-+++ feed2imap-feed2imap_1.2.2/lib/feed2imap/itemtomail.rb
+--- feed2imap.orig/lib/feed2imap/itemtomail.rb
++++ feed2imap/lib/feed2imap/itemtomail.rb
 @@ -19,6 +19,7 @@ along with this program; if not, write t
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  =end
@@ -22,10 +22,10 @@
  require 'rexml/document'
  require 'time'
  require 'rmail'
-Index: feed2imap-feed2imap_1.2.2/lib/feed2imap/rexml_patch.rb
+Index: feed2imap/lib/feed2imap/rexml_patch.rb
 ===================================================================
---- feed2imap-feed2imap_1.2.2.orig/lib/feed2imap/rexml_patch.rb
-+++ feed2imap-feed2imap_1.2.2/lib/feed2imap/rexml_patch.rb
+--- feed2imap.orig/lib/feed2imap/rexml_patch.rb
++++ feed2imap/lib/feed2imap/rexml_patch.rb
 @@ -17,6 +17,7 @@ along with this program; if not, write t
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  =end