diff -ur allinoneruby-0.2.2.tar.gz/allinoneruby/CHANGELOG allinoneruby-0.2.3.tar.gz/allinoneruby/CHANGELOG
--- allinoneruby-0.2.2.tar.gz/allinoneruby/CHANGELOG 2005-05-22 18:50:55.000000000 +0200
+++ allinoneruby-0.2.3.tar.gz/allinoneruby/CHANGELOG 2005-06-03 13:18:59.000000000 +0200
@@ -1,5 +1,18 @@
----------------------------------------------------------------
+0.2.3 - 03.06.2005
+
+* Updated to FreePascal 1.9.8 on Windows, 2.0.0 on Linux and
+ 1.9.5 on Darwin.
+
+* The exit code of your script is returned to the calling
+ application/shell.
+
+* Made some information about the environment EEE sets up
+ available to the application, e.g. executable name.
+
+----------------------------------------------------------------
+
0.2.2 - 22.05.2005
* Fixed a bug concerning program arguments with spaces on
diff -ur allinoneruby-0.2.2.tar.gz/allinoneruby/init.rb allinoneruby-0.2.3.tar.gz/allinoneruby/init.rb
--- allinoneruby-0.2.2.tar.gz/allinoneruby/init.rb 2005-05-22 18:18:37.000000000 +0200
+++ allinoneruby-0.2.3.tar.gz/allinoneruby/init.rb 2005-06-03 13:17:15.000000000 +0200
@@ -124,16 +124,32 @@
$stderr.puts "Creating #{appexe} ..." unless QUIET
-File.open(tmplocation("eee.rb"), "w") do |f|
+File.open(tmplocation("bootstrap.rb"), "w") do |f|
+ f.puts "# Set up the environment"
+
f.puts "lib = File.expand_path(File.dirname(__FILE__)) + ´/lib´"
f.puts "lib.sub!(/^.:/, ´/cygdrive/%s´ % $&[0..0].downcase) if lib =~ /^.:/" if cygwin?
f.puts "$:.clear"
$:.each do |s|
f.puts "$: << \"%s\"" % s.sub(libdir1, ´#{lib}´) unless s.include?(newlocation)
end
-end
-File.open(tmplocation("bootstrap.rb"), "w") do |f|
+ f.puts "# Load eee.info"
+
+ f.puts "eeedir = File.dirname(__FILE__)"
+ f.puts "eeeinfo = File.expand_path(´eee.info´, eeedir)"
+ f.puts "if File.file?(eeeinfo)"
+ f.puts " File.open(eeeinfo) do |f|"
+ f.puts " while line = f.gets"
+ f.puts " k, v = line.strip.split(/\s*=\s*/, 2)"
+ f.puts " k.gsub!(/^EEE_/, ´ALLINONERUBY_´)"
+ f.puts " eval(´%s=%s´ % [k, v.inspect])"
+ f.puts " end"
+ f.puts " end"
+ f.puts "end"
+
+ f.puts "# Start the application"
+
f.puts "ALLINONERUBY = ´#{rubyexe}´"
f.puts "script = ARGV.shift"
f.puts "if script == ´-e´"
@@ -156,18 +172,18 @@
File.open(tmplocation("app.eee"), "w") do |f|
f.puts "r bin"
f.puts "r lib"
- f.puts "f eee.rb"
f.puts "f bootstrap.rb"
f.puts "f empty.rb"
+ f.puts "i eee.info"
if linux?
- f.puts "c PATH=%tempdir%/bin:$PATH ; export LD_LIBRARY_PATH=%tempdir%/bin:$LD_LIBRARY_PATH ; chmod +x %tempdir%/bin/* ; %tempdir%/bin/#{rubyexe} -r %tempdir%/eee.rb -r %tempdir%/bootstrap.rb -T %tempdir%/empty.rb %quotedparms%"
+ f.puts "c PATH=%tempdir%/bin:$PATH ; export LD_LIBRARY_PATH=%tempdir%/bin:$LD_LIBRARY_PATH ; chmod +x %tempdir%/bin/* ; %tempdir%/bin/#{rubyexe} -r %tempdir%/bootstrap.rb -T %tempdir%/empty.rb %quotedparms%"
elsif darwin?
- f.puts "c PATH=%tempdir%/bin:$PATH ; export DYLD_LIBRARY_PATH=%tempdir%/bin:$DYLD_LIBRARY_PATH ; chmod +x %tempdir%/bin/* ; %tempdir%/bin/#{rubyexe} -r %tempdir%/eee.rb -r %tempdir%/bootstrap.rb -T %tempdir%/empty.rb %quotedparms%"
+ f.puts "c PATH=%tempdir%/bin:$PATH ; export DYLD_LIBRARY_PATH=%tempdir%/bin:$DYLD_LIBRARY_PATH ; chmod +x %tempdir%/bin/* ; %tempdir%/bin/#{rubyexe} -r %tempdir%/bootstrap.rb -T %tempdir%/empty.rb %quotedparms%"
elsif cygwin?
- f.puts "c %tempdir%\\bin\\#{rubyexe} -r %tempdir1%/eee.rb -r %tempdir1%/bootstrap.rb -T1 %tempdir1%/empty.rb %quotedparms%"
+ f.puts "c %tempdir%\\bin\\#{rubyexe} -r %tempdir1%/bootstrap.rb -T1 %tempdir1%/empty.rb %quotedparms%"
else
- f.puts "c %tempdir%\\bin\\#{rubyexe} -r %tempdir%\\eee.rb -r %tempdir%\\bootstrap.rb -T1 %tempdir%\\empty.rb %quotedparms%"
+ f.puts "c %tempdir%\\bin\\#{rubyexe} -r %tempdir%\\bootstrap.rb -T1 %tempdir%\\empty.rb %quotedparms%"
end
end
diff -ur allinoneruby-0.2.2.tar.gz/allinoneruby/VERSION allinoneruby-0.2.3.tar.gz/allinoneruby/VERSION
--- allinoneruby-0.2.2.tar.gz/allinoneruby/VERSION 2005-05-22 18:53:42.000000000 +0200
+++ allinoneruby-0.2.3.tar.gz/allinoneruby/VERSION 2005-06-03 13:31:02.000000000 +0200
@@ -1 +1 @@
-0.2.2
+0.2.3
Binary files allinoneruby-0.2.2.tar.gz/allinoneruby/eee.exe and allinoneruby-0.2.3.tar.gz/allinoneruby/eee.exe differ
Binary files allinoneruby-0.2.2.tar.gz/allinoneruby/eee_linux and allinoneruby-0.2.3.tar.gz/allinoneruby/eee_linux differ
Binary files allinoneruby-0.2.2.tar.gz/allinoneruby/eeew.exe and allinoneruby-0.2.3.tar.gz/allinoneruby/eeew.exe differ