From 6acc50198e3303e7793aa95d3ec14e93b1579902 Mon Sep 17 00:00:00 2001 From: Lucas Nussbaum Date: Fri, 15 May 2009 18:01:57 +0200 Subject: prep release, config parsing fix - prepared the release (still need to update the date) - allowed to re-use substrings in the yaml config file (+ doc) thanks to Bernhard Stoeckner for the tip. --- lib/feed2imap/config.rb | 2 +- lib/feed2imap/feed2imap.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb index c0bf4ac..d8f3548 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -42,7 +42,7 @@ class F2IConfig @imap_accounts = ImapAccounts::new @conf['feeds'].each do |f| if f['disable'].nil? - uri = URI::parse(f['target']) + uri = URI::parse(f['target'].to_s) path = URI::unescape(uri.path) path = path[1..-1] if path[0,1] == '/' @feeds.push(ConfigFeed::new(f, @imap_accounts.add_account(uri), path, self)) diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb index fb8fb12..d892eda 100644 --- a/lib/feed2imap/feed2imap.rb +++ b/lib/feed2imap/feed2imap.rb @@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA =end # Feed2Imap version -F2I_VERSION = '0.9.3' +F2I_VERSION = '0.9.4' F2I_WARNFETCHTIME = 10 require 'feed2imap/config' -- cgit v1.2.3-54-g00ecf