README.txt in dragongoserver-0.3.1 vs README.txt in dragongoserver-0.4.0

- old
+ new

@@ -1,44 +1,48 @@ -# some example how you can use this gem within your programs +dragongoserver + by Thomas Preymesser + http://dragongoserver.rubyforge.org/ -require 'rubygems' -require 'dragongoserver' -require 'gorank' +== DESCRIPTION: -dgs = Dgs.new +The dragongoserver gem allows you to use the Go Server (http://www.dragongoserver.net) from ruby programs. -# get own user id at DGS +== FEATURES/PROBLEMS: -id = dgs.userid -puts "your user-id: #{id}" +* test (list of features or problems) -# your rank +== SYNOPSIS: -rank = dgs.get_rank + test (code sample of usage) -puts "your rank:" -p rank.to_s +== REQUIREMENTS: -# your user infos +* test (list of requirements) -infos = dgs.userinfo(id) +== INSTALL: -puts "your attributes at DGS:" -p infos +* sudo gem install dragongoserver -# waiting games +== LICENSE: -wg = dgs.waiting_games +(The MIT License) -puts 'waiting games:' -p wg +Copyright (c) 2007,2008,2009 +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -# you can get info for every other user -# user with user id 8000 -user_8000 = dgs.userinfo(8000) +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. -puts "user 8000:" -p user_8000 - -# see also the homepage of this gem for examples to use the -# command line script 'dgs' +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.