Hello community, here is the log from the commit of package webyast-ntp-ws for openSUSE:Factory checked in at Wed May 4 11:01:23 CEST 2011.
-------- --- webyast-ntp-ws/webyast-ntp-ws.changes 2011-02-09 10:36:45.000000000 +0100 +++ /mounts/work_src_done/STABLE/webyast-ntp-ws/webyast-ntp-ws.changes 2011-05-02 14:38:24.000000000 +0200 @@ -1,0 +2,12 @@ +Mon May 2 12:38:17 UTC 2011 - sch...@novell.com + +- adapt caching to the new job handling +- 0.2.3 + +------------------------------------------------------------------- +Tue Apr 12 13:19:36 UTC 2011 - sch...@novell.com + +- new caching +- 0.2.2 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-ntp-ws.spec ++++++ --- /var/tmp/diff_new_pack.J7E2RE/_old 2011-05-04 11:00:54.000000000 +0200 +++ /var/tmp/diff_new_pack.J7E2RE/_new 2011-05-04 11:00:54.000000000 +0200 @@ -31,7 +31,7 @@ Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.1 +Version: 0.2.3 Release: 1 Summary: WebYaST - NTP service Source: www.tar.bz2 ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/models/ntp.rb new/www/app/models/ntp.rb --- old/www/app/models/ntp.rb 2011-02-01 10:49:25.000000000 +0100 +++ new/www/app/models/ntp.rb 2011-04-29 18:23:25.000000000 +0200 @@ -26,12 +26,14 @@ public def self.find - ret = Ntp.new - ret.actions ||= {} - ret.actions[:synchronize] = false - ret.actions[:synchronize_utc] = true - ret.actions[:ntp_server] = get_servers_string - return ret + YastCache.fetch(self) { + ret = Ntp.new + ret.actions ||= {} + ret.actions[:synchronize] = false + ret.actions[:synchronize_utc] = true + ret.actions[:ntp_server] = get_servers_string + ret + } end def update @@ -39,7 +41,7 @@ end def self.get_servers - get_servers_string + Ntp.find.actions[:ntp_server] end private ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org