diff --git a/trunk/ripnews/CHANGELOG b/trunk/ripnews/CHANGELOG index 3f45bf6..69a614e 100644 --- a/trunk/ripnews/CHANGELOG +++ b/trunk/ripnews/CHANGELOG @@ -1,6 +1,10 @@ -# $Dwarf: CHANGELOG,v 1.25 2003/06/16 10:56:11 ward Exp $ +# $Dwarf: CHANGELOG,v 1.26 2003/06/24 19:04:26 ward Exp $ # $Source$ +from 0.2.2 to 0.2.3 + - notify when cachedir doesn't exist + - expand ${HOME} in config to your homedir + from 0.2.1 to 0.2.2 - improve output layout - show running time diff --git a/trunk/ripnews/TODO b/trunk/ripnews/TODO index 1a66ba4..99c3ccd 100644 --- a/trunk/ripnews/TODO +++ b/trunk/ripnews/TODO @@ -1,4 +1,4 @@ -# $Dwarf: TODO,v 1.20 2003/06/24 19:04:26 ward Exp $ +# $Dwarf: TODO,v 1.21 2003/06/28 19:29:54 ward Exp $ # $Source$ [ ] check for multiple servers (ip adresses) for each name and pick @@ -22,4 +22,3 @@ [ ] update documentation [ ] start useing file locking (needed for safe threading) [ ] implement include statement in config file -[ ] ${HOME} ofzo goed gaan vinden in config diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index afeca2d..c5abbe7 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -1,6 +1,6 @@ #!/usr/local/bin/ruby -w -# $Dwarf: ripnews.rb,v 1.72 2003/06/24 19:03:42 ward Exp $ +# $Dwarf: ripnews.rb,v 1.73 2003/06/24 19:35:56 ward Exp $ # $Source$ require 'date' @@ -134,6 +134,7 @@ def parse_config(default = {}) x.sub!(/^\s*/, "") x.sub!(/\#.*$/, "") x.sub!(/\s*$/, "") + x.gsub!(/\$\{HOME\}/, "#{ENV['HOME']}") x.chomp } while i < lines.length