From a7c2b33390c6b68a37b3e2efe9c55436b7322df9 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 26 Aug 2013 01:27:44 +0200 Subject: [PATCH] Renamed file name. --- ...01_update_scheduler2 => 20130826000001_update_scheduler2.rb} | 0 lib/sessions.rb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename db/migrate/{20130826000001_update_scheduler2 => 20130826000001_update_scheduler2.rb} (100%) diff --git a/db/migrate/20130826000001_update_scheduler2 b/db/migrate/20130826000001_update_scheduler2.rb similarity index 100% rename from db/migrate/20130826000001_update_scheduler2 rename to db/migrate/20130826000001_update_scheduler2.rb diff --git a/lib/sessions.rb b/lib/sessions.rb index 4c6f98903..ddf97a92b 100644 --- a/lib/sessions.rb +++ b/lib/sessions.rb @@ -478,7 +478,7 @@ class UserState cache_key = @cache_key + '_rss' if CacheIn.expired(cache_key) url = 'http://www.heise.de/newsticker/heise-atom.xml' - rss_items = RSS.fetch( url, 8 ) + rss_items = Rss.fetch( url, 8 ) rss_items_cache = CacheIn.get( cache_key, { :re_expire => true } ) self.log 'notice', 'fetch rss - ' + cache_key if rss_items != rss_items_cache