All pastes #1652019 Raw Edit

Whovian Omega

public text v1 · immutable
#1652019 ·published 2009-11-01 20:54 UTC
rendered paste body
Name:     endwar_stats.rb Version:     Git ID: (e521b96) 2009-10-12 02:54:07 -0700Purpose:     Parse the Ubisoft XML feed and display turn reports.Usage:     endwar_stats.rb [ <num_previous_days> ]     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 turnsOptions:     -h = show documentation     -u = show usage     -v = show versionErrorlevels:     0 = Success     1 = Failure     2 = OtherCaveats:     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 <bash_junkie@codegnome.org>     All Rights ReservedLicense:     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.