comparison 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
comparison
equal deleted inserted replaced
2:f17c85a9fb8b 3:51f7ba1cdf7c
1 Index: feed2imap-feed2imap_1.2.2/lib/feed2imap/feed2imap.rb 1 Index: feed2imap/lib/feed2imap/feed2imap.rb
2 =================================================================== 2 ===================================================================
3 --- feed2imap-feed2imap_1.2.2.orig/lib/feed2imap/feed2imap.rb 3 --- feed2imap.orig/lib/feed2imap/feed2imap.rb
4 +++ feed2imap-feed2imap_1.2.2/lib/feed2imap/feed2imap.rb 4 +++ feed2imap/lib/feed2imap/feed2imap.rb
5 @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 5 @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite
6 F2I_VERSION = '1.2.1' 6 F2I_VERSION = '1.0'
7 F2I_WARNFETCHTIME = 10 7 F2I_WARNFETCHTIME = 10
8 8
9 +require 'rubygems' 9 +require 'rubygems'
10 require 'feed2imap/config' 10 require 'feed2imap/config'
11 require 'feed2imap/cache' 11 require 'feed2imap/cache'
12 require 'feed2imap/httpfetcher' 12 require 'feed2imap/httpfetcher'
13 Index: feed2imap-feed2imap_1.2.2/lib/feed2imap/itemtomail.rb 13 Index: feed2imap/lib/feed2imap/itemtomail.rb
14 =================================================================== 14 ===================================================================
15 --- feed2imap-feed2imap_1.2.2.orig/lib/feed2imap/itemtomail.rb 15 --- feed2imap.orig/lib/feed2imap/itemtomail.rb
16 +++ feed2imap-feed2imap_1.2.2/lib/feed2imap/itemtomail.rb 16 +++ feed2imap/lib/feed2imap/itemtomail.rb
17 @@ -19,6 +19,7 @@ along with this program; if not, write t 17 @@ -19,6 +19,7 @@ along with this program; if not, write t
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 =end 19 =end
20 20
21 +require 'rubygems' 21 +require 'rubygems'
22 require 'rexml/document' 22 require 'rexml/document'
23 require 'time' 23 require 'time'
24 require 'rmail' 24 require 'rmail'
25 Index: feed2imap-feed2imap_1.2.2/lib/feed2imap/rexml_patch.rb 25 Index: feed2imap/lib/feed2imap/rexml_patch.rb
26 =================================================================== 26 ===================================================================
27 --- feed2imap-feed2imap_1.2.2.orig/lib/feed2imap/rexml_patch.rb 27 --- feed2imap.orig/lib/feed2imap/rexml_patch.rb
28 +++ feed2imap-feed2imap_1.2.2/lib/feed2imap/rexml_patch.rb 28 +++ feed2imap/lib/feed2imap/rexml_patch.rb
29 @@ -17,6 +17,7 @@ along with this program; if not, write t 29 @@ -17,6 +17,7 @@ along with this program; if not, write t
30 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 =end 31 =end
32 32
33 +require 'rubygems' 33 +require 'rubygems'