diff -ur tar2rubyscript-0.4.6.tar.gz/tar2rubyscript/CHANGELOG tar2rubyscript-0.4.7.tar.gz/tar2rubyscript/CHANGELOG --- tar2rubyscript-0.4.6.tar.gz/tar2rubyscript/CHANGELOG 2005-06-20 23:56:31.000000000 +0200 +++ tar2rubyscript-0.4.7.tar.gz/tar2rubyscript/CHANGELOG 2005-06-24 01:51:23.000000000 +0200 @@ -1,5 +1,12 @@ ---------------------------------------------------------------- +0.4.7 - 24.06.2005 + +* Fixed a serious bug concerning this message: "doesn´t contain + an init.rb" (Sorry...) + +---------------------------------------------------------------- + 0.4.6 - 21.06.2005 * Added both temporary directories to $: and ENV["PATH"]. diff -ur tar2rubyscript-0.4.6.tar.gz/tar2rubyscript/tarrubyscript.rb tar2rubyscript-0.4.7.tar.gz/tar2rubyscript/tarrubyscript.rb --- tar2rubyscript-0.4.6.tar.gz/tar2rubyscript/tarrubyscript.rb 2005-06-16 21:08:46.000000000 +0200 +++ tar2rubyscript-0.4.7.tar.gz/tar2rubyscript/tarrubyscript.rb 2005-06-24 02:01:28.000000000 +0200 @@ -426,7 +426,7 @@ res end - def tmplocation(file="") + def templocation(file="") if block_given? pdir = Dir.pwd @@ -456,11 +456,11 @@ end end - def self.tmplocation(file="") + def self.templocation(file="") if block_given? - @@tempspace.tmplocation { yield } + @@tempspace.templocation { yield } else - @@tempspace.tmplocation(file) + @@tempspace.templocation(file) end end end @@ -528,11 +528,11 @@ end end -def tmplocation(file="") +def templocation(file="") if block_given? - TempSpace.tmplocation { yield } + TempSpace.templocation { yield } else - TempSpace.tmplocation(file) + TempSpace.templocation(file) end end @@ -545,17 +545,17 @@ else TempSpace.new.extract.cleanup - $:.unshift(tmplocation) + $:.unshift(templocation) $:.unshift(newlocation) $:.push(oldlocation) s = ENV["PATH"].dup if Dir.pwd[1..2] == ":/" # Hack ??? - s << ";#{tmplocation.gsub(/\//, "\\")}" + s << ";#{templocation.gsub(/\//, "\\")}" s << ";#{newlocation.gsub(/\//, "\\")}" s << ";#{oldlocation.gsub(/\//, "\\")}" else - s << ":#{tmplocation}" + s << ":#{templocation}" s << ":#{newlocation}" s << ":#{oldlocation}" end diff -ur tar2rubyscript-0.4.6.tar.gz/tar2rubyscript/VERSION tar2rubyscript-0.4.7.tar.gz/tar2rubyscript/VERSION --- tar2rubyscript-0.4.6.tar.gz/tar2rubyscript/VERSION 2005-06-20 23:58:05.000000000 +0200 +++ tar2rubyscript-0.4.7.tar.gz/tar2rubyscript/VERSION 2005-06-24 02:03:13.000000000 +0200 @@ -1 +1 @@ -0.4.6 +0.4.7