Name: endwar_stats.rb Version: Git ID: (e521b96) 2009-10-12 02:54:07 -0700 Purpose: Parse the Ubisoft XML feed and display turn reports. Usage: endwar_stats.rb [ ] endwar_stats.rb [ -u | -h | -v ] Examples: endwar_stats.rb # display turn currently in progress endwar_stats.rb 1 # display most recent completed turn endwar_stats.rb 5 # display last 5 completed turns Options: -h = show documentation -u = show usage -v = show version Errorlevels: 0 = Success 1 = Failure 2 = Other Caveats: This script is built for ruby 1.8.7. It currently does not run under ruby 1.9, in part because no library for xmlsimple is available for that series in Debian Squeeze. Copyright: Copyright (c) 2009 by Todd A. Jacobs All Rights Reserved License: Released under the GNU General Public License (GPL) http://www.gnu.org/copyleft/gpl.html This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.