summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLucas Nussbaum <lucas@lucas-nussbaum.net>2009-05-15 18:01:57 +0200
committerLucas Nussbaum <lucas@lucas-nussbaum.net>2009-05-15 18:01:57 +0200
commit6acc50198e3303e7793aa95d3ec14e93b1579902 (patch)
treed0dd1cfcdd5d97c43a7fc4d139d6f1e7dba089e9 /lib
parent78d88f7f90e2737f722052a910233b16e4deafd1 (diff)
downloadfeed2imap-6acc50198e3303e7793aa95d3ec14e93b1579902.tar.gz
feed2imap-6acc50198e3303e7793aa95d3ec14e93b1579902.tar.bz2
feed2imap-6acc50198e3303e7793aa95d3ec14e93b1579902.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/feed2imap/config.rb2
-rw-r--r--lib/feed2imap/feed2imap.rb2
2 files changed, 2 insertions, 2 deletions
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'