summaryrefslogtreecommitdiff
path: root/lib/feed2imap
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2015-01-13 17:21:18 -0200
committerAntonio Terceiro <terceiro@softwarelivre.org>2015-01-13 17:21:18 -0200
commit7ce801979c3a17622dc74edf67cbb0d001d7ca02 (patch)
treed6db682fb8c0e228bb3ab3bb91fcc29fc4f838e4 /lib/feed2imap
parente8a209d79f44a6aaaa103ccf647d58881aff91a7 (diff)
downloadfeed2imap-7ce801979c3a17622dc74edf67cbb0d001d7ca02.tar.gz
feed2imap-7ce801979c3a17622dc74edf67cbb0d001d7ca02.tar.bz2
feed2imap-7ce801979c3a17622dc74edf67cbb0d001d7ca02.zip
Handle being given numbers as feed name
Force feed names to be strings because they will be handled as strings later.
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb
index 693d2d6..3b77c15 100644
--- a/lib/feed2imap/config.rb
+++ b/lib/feed2imap/config.rb
@@ -68,6 +68,7 @@ class F2IConfig
@imap_accounts = ImapAccounts::new
maildir_account = MaildirAccount::new
@conf['feeds'].each do |f|
+ f['name'] = f['name'].to_s
if f['disable'].nil?
uri = URI::parse(Array(f['target']).join(''))
path = URI::unescape(uri.path)
span>/+1 2022-01-29[release]: Fix multiple issuesRené 'Necoro' Neumann1-10/+8 2022-01-29Start with a basic GUIRené 'Necoro' Neumann4-2/+73 2022-01-29[release]: Fix github variable syntaxRené 'Necoro' Neumann1-2/+2 2022-01-29Build on windows and linuxRené 'Necoro' Neumann1-6/+9 2022-01-29Build on windows and linuxRené 'Necoro' Neumann1-45/+58 2022-01-25const blockRené 'Necoro' Neumann1-3/+5 2022-01-25Slight restructuringRené 'Necoro' Neumann2-84/+93 2022-01-24Add test stuff to .gitignoreRené 'Necoro' Neumann1-1/+7 2022-01-24Factor out `writeOutput`René 'Necoro' Neumann1-15/+15 2022-01-24Create clubs and participants files also via templateRené 'Necoro' Neumann4-113/+63